diff options
author | Susan LeGendre-McGhee <slegendr@redhat.com> | 2024-09-24 12:11:43 -0400 |
---|---|---|
committer | Mikulas Patocka <mpatocka@redhat.com> | 2024-11-20 11:38:04 +0100 |
commit | bd7e677c6bc4b577192f96ffeb6f965f2dbc8ecb (patch) | |
tree | 9859b094c22decaedece0772cf51a3a81a9ce73d /drivers/md | |
parent | 87d76d286c00ae93282b6f1c8d6ed4d973c911f9 (diff) | |
download | lwn-bd7e677c6bc4b577192f96ffeb6f965f2dbc8ecb.tar.gz lwn-bd7e677c6bc4b577192f96ffeb6f965f2dbc8ecb.zip |
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>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/dm-vdo/vio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-vdo/vio.c b/drivers/md/dm-vdo/vio.c index b291578f726f..e710f3c5a972 100644 --- a/drivers/md/dm-vdo/vio.c +++ b/drivers/md/dm-vdo/vio.c @@ -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; |