aboutsummaryrefslogtreecommitdiff
path: root/fs/udf/symlink.c
diff options
context:
space:
mode:
authorMikulas Patocka2009-04-02 19:55:23 +0100
committerAlasdair G Kergon2009-04-02 19:55:23 +0100
commita920f6b3accc77d9dddbc98a7426be23ee479625 (patch)
treebff633328b5f1362d99a04f7e513a6a4b2084ad8 /fs/udf/symlink.c
parent833bb3046b6cb320e775ea2160ddca87d53260d5 (diff)
dm: preserve bi_io_vec when resubmitting bios
Device mapper saves and restores various fields in the bio, but it doesn't save bi_io_vec. If the device driver modifies this after a partially successful request, dm-raid1 and dm-multipath may attempt to resubmit a bio that has bi_size inconsistent with the size of vector. To make requests resubmittable in dm-raid1 and dm-multipath, we must save and restore the bio vector as well. To reduce the memory overhead involved in this, we do not save the pages in a vector and use a 16-bit field size if the page size is less than 65536. Cc: stable@kernel.org Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'fs/udf/symlink.c')
0 files changed, 0 insertions, 0 deletions