From: NeilBrown Date: Thu, 28 Jul 2011 01:32:10 +0000 (+1000) Subject: md/raid1: store behind-write pages in bi_vecs. X-Git-Tag: v3.1-rc1~131^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ca68f5ed7383733102ee53cd8fa4021ecc3b275;p=pandora-kernel.git 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 Reviewed-by: Namhyung Kim --- Reading git-diff-tree failed