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)
commit0c8cf8c2a553f01732f23ba407fae8edb0a18ff5
treeab5bb322c063abd2822baeb7234cf9f9665ac9b6
parenta3fb01ba5af066521f3f3421839e501bb2c71805
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