NeilBrown af6d7b760c md/raid1: improve handling of pages allocated for write-behind.
The current handling and freeing of these pages is a bit fragile.
We only keep the list of allocated pages in each bio, so we need to
still have a valid bio when freeing the pages, which is a bit clumsy.

So simply store the allocated page list in the r1_bio so it can easily
be found and freed when we are finished with the r1_bio.

Signed-off-by: NeilBrown <neilb@suse.de>
2011-05-11 14:51:19 +10:00
..
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:24 +00:00
2011-03-10 08:52:27 +01:00
2011-03-10 08:52:27 +01:00
2010-08-12 04:14:11 +01:00
2011-03-10 08:52:07 +01:00
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:35 +00:00
2011-04-05 23:52:43 +02:00
2007-10-20 02:01:26 +01:00
2010-08-12 04:14:12 +01:00
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:24 +00:00
2011-03-24 13:54:24 +00:00
2011-04-18 18:25:42 +10:00
2011-05-11 14:27:03 +10:00
2011-03-31 11:26:23 -03:00