diff options
author | NeilBrown <neilb@suse.de> | 2009-04-14 06:59:24 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-04-14 06:59:24 +0200 |
commit | 2800528713cd32a4d12d7e17c14eba34eb8a4ec2 (patch) | |
tree | f80c016a09255e2fc3d5c3bab864ca0be46fa588 /mdopen.c | |
parent | Merge branch 'master' of git://github.com/djbw/mdadm into devel-3.0 (diff) | |
download | mdadm-2800528713cd32a4d12d7e17c14eba34eb8a4ec2.tar.xz mdadm-2800528713cd32a4d12d7e17c14eba34eb8a4ec2.zip |
Wait for POLLPRI on /proc or /sys files.
From 2.6.30, /proc/mounts and various /sys files will
probably always returns 'readable' to select, so we will need
to wait on POLLPRI to get the 'new data is available' signal.
When using select, this corresponds to an 'exception', so
adjust calls to select accordingly.
In one case we sometimes wait on a socket and sometime on
/proc/mounts, so we need to test which.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdopen.c')
0 files changed, 0 insertions, 0 deletions