https://github.com/torvalds/linux
Revision 09cd9270ea52e0f9851528e8ed028073f96b3c34 authored by NeilBrown on 22 December 2011, 22:56:55 UTC, committed by NeilBrown on 22 December 2011, 22:56:55 UTC
commit d70ed2e4fafdbef0800e73942482bb075c21578b
broke hot-add to a linear array.
After that commit, metadata if not written to devices until they
have been fully integrated into the array as determined by
saved_raid_disk.  That patch arranged to clear that field after
a recovery completed.

However for linear arrays, there is no recovery - the integration is
instantaneous.  So we need to explicitly clear the saved_raid_disk
field.

Signed-off-by: NeilBrown <neilb@suse.de>
1 parent 5d8c71f
History
Tip revision: 09cd9270ea52e0f9851528e8ed028073f96b3c34 authored by NeilBrown on 22 December 2011, 22:56:55 UTC
md/linear: fix hot-add of devices to linear arrays.
Tip revision: 09cd927
File Mode Size
apparmor
integrity
keys
selinux
smack
tomoyo
Kconfig -rw-r--r-- 7.9 KB
Makefile -rw-r--r-- 941 bytes
capability.c -rw-r--r-- 23.3 KB
commoncap.c -rw-r--r-- 27.4 KB
device_cgroup.c -rw-r--r-- 11.4 KB
inode.c -rw-r--r-- 8.7 KB
lsm_audit.c -rw-r--r-- 8.9 KB
min_addr.c -rw-r--r-- 1.3 KB
security.c -rw-r--r-- 33.6 KB

back to top