From: NeilBrown Date: Fri, 23 May 2008 20:04:36 +0000 (-0700) Subject: md: notify userspace on 'write-pending' changes to array_state X-Git-Tag: v2.6.26-rc4~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09a44cc15079f80c1416cde1a1d5b2cdd8f2118a;p=pandora-kernel.git md: notify userspace on 'write-pending' changes to array_state When an array enters write pending, 'array_state' changes, so we must be sure to sysfs_notify. Also, when waiting for user-space to acknowledge 'write-pending' by marking the metadata as dirty, we don't want to wait for MD_CHANGE_DEVS to be cleared as that might not happen. So explicity test for the bits that we are really interested in. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed