]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md: ensure changes to 'write-mostly' are reflected in metadata.
authorNeilBrown <neilb@suse.de>
Tue, 2 Aug 2011 03:38:35 +0000 (13:38 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 2 Aug 2011 03:38:35 +0000 (13:38 +1000)
commitf5d912d100ea7078bd28668aa3265ebd2bb53a84
tree2d92860cb072f7c1167a1f9cb2ffd789f66aaf72
parent70792a4e8fc486ab82449cb3165268131875b7c1
md: ensure changes to 'write-mostly' are reflected in metadata.

The 'write-mostly' flag can be changed through sysfs.
With 0.90 metadata, those changes are reflected in the metadata.
For 1.x metadata, they aren't.

So fix super_1_sync to record 'write-mostly' status.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c