https://github.com/torvalds/linux
Revision 09a44cc15079f80c1416cde1a1d5b2cdd8f2118a authored by NeilBrown on 23 May 2008, 20:04:36 UTC, committed by Linus Torvalds on 24 May 2008, 16:56:10 UTC
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 <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 698b18c
History
Tip revision: 09a44cc15079f80c1416cde1a1d5b2cdd8f2118a authored by NeilBrown on 23 May 2008, 20:04:36 UTC
md: notify userspace on 'write-pending' changes to array_state
Tip revision: 09a44cc
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 676 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.5 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 98.3 KB
Makefile -rw-r--r-- 53.8 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top