commit | c65060ad4274f70048d62e0a86332cd3fd23f28d | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@gmail.com> | Mon Jul 18 17:38:49 2011 +1000 |
committer | NeilBrown <neilb@suse.de> | Mon Jul 18 17:38:49 2011 +1000 |
tree | 5e6c3cfeb122da72e1bfa3bea07d8f16f453dc9f | |
parent | 778ca01852e6cc9ff335119b37a1938a978df384 [diff] |
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 <namhyung@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>