diff options
author | 2011-05-11 14:51:19 +1000 | |
---|---|---|
committer | 2011-05-11 14:51:19 +1000 | |
commit | af6d7b760c7547c1a410a333bdb24daed24e1043 (patch) | |
tree | 5789fa005f94911bc6a92a6cb8700b8025a3adc4 /net/unix/af_unix.c | |
parent | md/raid1: try fix_sync_read_error before process_checks. (diff) | |
download | wireguard-linux-af6d7b760c7547c1a410a333bdb24daed24e1043.tar.xz wireguard-linux-af6d7b760c7547c1a410a333bdb24daed24e1043.zip |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions