]> git.baikalelectronics.ru Git - kernel.git/commit
block: initialize the write priority in blk_rq_bio_prep
authorChristoph Hellwig <hch@lst.de>
Thu, 6 Jun 2019 10:28:59 +0000 (12:28 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Jun 2019 16:29:22 +0000 (10:29 -0600)
commitb475678ffa1a9e18c8c31cce84a16acc0df0423a
treeab5bb322c063abd2822baeb7234cf9f9665ac9b6
parent3979d8465f43c2d687a2726ad8903f254043e08e
block: initialize the write priority in blk_rq_bio_prep

The priority field also makes sense for passthrough requests, so
initialize it in blk_rq_bio_prep.

Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c