]> 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)
commitf2700a9709e91e4bf58065f5ed7c2e7f55019344
treeab5bb322c063abd2822baeb7234cf9f9665ac9b6
parent8f7bca6fb58e21bb72cd5cdcdc528d4d802a7557
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