From: Namhyung Kim Date: Mon, 18 Jul 2011 07:38:49 +0000 (+1000) Subject: md/raid10: share pages between read and write bio's during recovery X-Git-Tag: v3.1-rc1~131^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c65060ad4274f70048d62e0a86332cd3fd23f28d;p=pandora-kernel.git md/raid10: share pages between read and write bio's during recovery When performing a recovery, only first 2 slots in r10_bio are in use, for read and write respectively. However all of pages in the write bio are never used and just replaced to read bio's when the read completes. Get rid of those unused pages and share read pages properly. Signed-off-by: Namhyung Kim Signed-off-by: NeilBrown --- Reading git-diff-tree failed