Skip to content

Commit

Permalink
dm-vdo: reset bi_ioprio to the default value when the bio is reset
Browse files Browse the repository at this point in the history
Signed-off-by: Susan LeGendre-McGhee <[email protected]>
Signed-off-by: Matthew Sakai <[email protected]>
  • Loading branch information
slegendr authored and lorelei-sakai committed Oct 31, 2024
1 parent 6e3446b commit e7b3640
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/md/dm-vdo/vio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e7b3640

Please sign in to comment.