]> git.baikalelectronics.ru Git - kernel.git/commit
md: don't impose the MD_SB_DISKS limit on arrays without metadata.
authorNeilBrown <neilb@suse.com>
Tue, 28 Feb 2017 20:31:28 +0000 (07:31 +1100)
committerShaohua Li <shli@fb.com>
Thu, 9 Mar 2017 17:02:30 +0000 (09:02 -0800)
commit2f6f35cfacb2b3e5e29d3dcd6030fb895d4383ab
treedb6148595c7c633694c621316e860c7c7bc71030
parent93df0fca2b26f3975d6b421927346c061dda8e77
md: don't impose the MD_SB_DISKS limit on arrays without metadata.

These arrays, created with "mdadm --build" don't benefit from a limit.
The default will be used, which is '0' and is interpreted as "don't
impose a limit".

Reported-by: ian_bruce@mail.ru
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md.c