]> git.baikalelectronics.ru Git - kernel.git/commit
block: Initialize bio priority earlier
authorJan Kara <jack@suse.cz>
Thu, 23 Jun 2022 07:48:33 +0000 (09:48 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 27 Jun 2022 12:29:12 +0000 (06:29 -0600)
commit5a4c06f79457150013c955a5e679e2bb2e2e2238
tree4234be3cf232828ed00ea23efb00c788010c0137
parent7ecb535d83257904fe31015af16807e155e6f2b1
block: Initialize bio priority earlier

Bio's IO priority needs to be initialized before we try to merge the bio
with other bios. Otherwise we could merge bios which would otherwise
receive different IO priorities leading to possible QoS issues.

Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220623074840.5960-8-jack@suse.cz
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c