Thread (7 messages) 7 messages, 2 authors, 2013-05-16

Re: 0.90 vs 1.X - Differing behavior for device # during fail/remove/add operation

From: Dusty Mabe <hidden>
Date: 2013-05-14 20:31:44

On Fri, May 10, 2013 at 8:04 PM, Dusty Mabe [off-list ref] wrote:
quoted hunk ↗ jump to hunk
diff --git a/drivers/md/md.c b/drivers/md/md.c
index aeceedf..b47fd35 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -7023,7 +7023,7 @@ static int md_seq_show(struct seq_file *seq, void *v)
                rdev_for_each(rdev, mddev) {
                        char b[BDEVNAME_SIZE];
                        seq_printf(seq, " %s[%d]",
-                               bdevname(rdev->bdev,b), rdev->desc_nr);
+                               bdevname(rdev->bdev,b), rdev->raid_disk);
                        if (test_bit(WriteMostly, &rdev->flags))
                                seq_printf(seq, "(W)");
                        if (test_bit(Faulty, &rdev->flags)) {

Hey Neil, Sorry to be a pest. Do you have an opinion on this?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help