From: NeilBrown Date: Fri, 6 Jan 2006 08:20:12 +0000 (-0800) Subject: [PATCH] md: improve raid1 "IO Barrier" concept X-Git-Tag: v2.6.16-rc1~936^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17999be4aa408e7ff3b9d32c735649676567a3cd;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed