[PATCH] Add stripe cache entries to raid6 sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Raid-6 did not create sysfs entries for stripe cache

Signed-off-by: Brad Campbell <brad@xxxxxxxxxxx>

---
diff -u vanilla/linux-2.6.16/drivers/md/raid6main.c linux-2.6.16/drivers/md/raid6main.c
--- vanilla/linux-2.6.16/drivers/md/raid6main.c 2006-03-20 09:53:29.000000000 +0400
+++ linux-2.6.16/drivers/md/raid6main.c 2006-03-25 16:35:05.000000000 +0400
@@ -2148,6 +2148,7 @@
        }

        /* Ok, everything is just fine now */
+        sysfs_create_group(&mddev->kobj, &raid6_attrs_group);
        mddev->array_size =  mddev->size * (mddev->raid_disks - 2);

        mddev->queue->unplug_fn = raid6_unplug_device;
---

--
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux