]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
md: export 'frozen' resync state through sysfs
authorNeilBrown <neilb@suse.de>
Mon, 25 May 2009 23:41:17 +0000 (09:41 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 25 May 2009 23:41:17 +0000 (09:41 +1000)
commitb6a9ce688f613e2ee5f15e6720e0bb8520efc36e
tree7fc4c8ab5ea14df5e544e740ec3154b707766a08
parentbe512691036cc989c11d0f418187efbbf14468e6
md: export 'frozen' resync state through sysfs

The md resync engine has a 'frozen' state which ensures that
no resync/recovery.  This is used to avoid races.

Export this state through the 'sync_action' sysfs attribute
so that user-space can benefit and also avoid some races.

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