diff options
author | Shaohua Li <shli@fb.com> | 2015-10-09 06:54:12 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2015-11-01 03:48:29 +0100 |
commit | f2076e7d0643d15b11db979acc7cffd2e8d69e77 (patch) | |
tree | 6c0129f2dc73fedcf4be0c168df780f59a5e65df /.gitignore | |
parent | MD: kick out journal disk if it's not fresh (diff) | |
download | linux-f2076e7d0643d15b11db979acc7cffd2e8d69e77.tar.xz linux-f2076e7d0643d15b11db979acc7cffd2e8d69e77.zip |
MD: set journal disk ->raid_disk
Set journal disk ->raid_disk to >=0, I choose raid_disks + 1 instead of
0, because we already have a disk with ->raid_disk 0 and this causes
sysfs entry creation conflict. A lot of places assumes disk with
->raid_disk >=0 is normal raid disk, so we add check for journal disk.
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions