[PATCH] md: Raid-6 did not create sysfs entries for stripe cache
Signed-off-by: Brad Campbell <brad@wasp.net.au> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
926ce2d8a7
commit
ec350a7fc1
|
@ -2151,6 +2151,8 @@ static int run(mddev_t *mddev)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Ok, everything is just fine now */
|
/* Ok, everything is just fine now */
|
||||||
|
sysfs_create_group(&mddev->kobj, &raid6_attrs_group);
|
||||||
|
|
||||||
mddev->array_size = mddev->size * (mddev->raid_disks - 2);
|
mddev->array_size = mddev->size * (mddev->raid_disks - 2);
|
||||||
|
|
||||||
mddev->queue->unplug_fn = raid6_unplug_device;
|
mddev->queue->unplug_fn = raid6_unplug_device;
|
||||||
|
|
Loading…
Reference in New Issue