]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md: set rotational bit
authorShaohua Li <shli@fb.com>
Fri, 30 Sep 2016 16:45:40 +0000 (09:45 -0700)
committerShaohua Li <shli@fb.com>
Mon, 3 Oct 2016 17:20:27 +0000 (10:20 -0700)
commitbb086a89a406b5d877ee616f1490fcc81f8e1b2b
treed74a8a87ec39992d499e81a98c3de7a456d62486
parent099b548c429217a8306adbd1552d326615c9b903
md: set rotational bit

if all disks in an array are non-rotational, set the array
non-rotational.

This only works for array with all disks populated at startup. Support
for disk hotadd/hotremove could be added later if necessary.

Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md.c