commit | 2ca68f5ed7383733102ee53cd8fa4021ecc3b275 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Thu Jul 28 11:32:10 2011 +1000 |
committer | NeilBrown <neilb@suse.de> | Thu Jul 28 11:32:10 2011 +1000 |
tree | 29543cff802770d90380b889cf8b0cc01e7d1814 | |
parent | 4367af556133723d0f443e14ca8170d9447317cb [diff] |
md/raid1: store behind-write pages in bi_vecs. When performing write-behind we allocate pages to store the data during write. Previously we just keep a list of pages. Now we keep a list of bi_vec which includes offset and size. This means that the r1bio has complete information to create a new bio which will be needed for retrying after write errors. Signed-off-by: NeilBrown <neilb@suse.de> Reviewed-by: Namhyung Kim <namhyung@gmail.com>