mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
dm-vdo: reset bi_ioprio to the default value when the bio is reset
Signed-off-by: Susan LeGendre-McGhee <slegendr@redhat.com> Signed-off-by: Matthew Sakai <msakai@redhat.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
This commit is contained in:
committed by
Mikulas Patocka
parent
87d76d286c
commit
bd7e677c6b
@@ -202,6 +202,7 @@ int vio_reset_bio(struct vio *vio, char *data, bio_end_io_t callback,
|
||||
if (data == NULL)
|
||||
return VDO_SUCCESS;
|
||||
|
||||
bio->bi_ioprio = 0;
|
||||
bio->bi_io_vec = bio->bi_inline_vecs;
|
||||
bio->bi_max_vecs = vio->block_count + 1;
|
||||
len = VDO_BLOCK_SIZE * vio->block_count;
|
||||
|
||||
Reference in New Issue
Block a user