summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-01-06 00:20:12 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 08:34:01 -0800
commit17999be4aa408e7ff3b9d32c735649676567a3cd (patch)
tree14f9fd4ef0299f16274ce2980baef7b96f111bea /drivers/md/raid10.c
parentac81b2ee45eb811fdb0aa1cfb71d468d944d00ce (diff)
downloadblackbird-op-linux-17999be4aa408e7ff3b9d32c735649676567a3cd.tar.gz
blackbird-op-linux-17999be4aa408e7ff3b9d32c735649676567a3cd.zip
[PATCH] md: improve raid1 "IO Barrier" concept
raid1 needs to put up a barrier to new requests while it does resync or other background recovery. The code for this is currently open-coded, slighty obscure by its use of two waitqueues, and not documented. This patch gathers all the related code into 4 functions, and includes a comment which (hopefully) explains what is happening. Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud