summaryrefslogtreecommitdiffstats
path: root/block/blk-iocost.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-04-28 13:27:56 +0200
committerJens Axboe <axboe@kernel.dk>2020-04-29 17:33:26 +0200
commitaccea322f5439df22b19465bbe67b836f36165e8 (patch)
tree1f947dd0e52fb57f9af81b3c6559119147ce934a /block/blk-iocost.c
parentblock: replace BIO_QUEUE_ENTERED with BIO_CGROUP_ACCT (diff)
downloadlinux-accea322f5439df22b19465bbe67b836f36165e8.tar.xz
linux-accea322f5439df22b19465bbe67b836f36165e8.zip
block: add a bio_queue_enter helper
Add a little helper that passes the right nowait flag to blk_queue_enter based on the bio flag, and terminates the bio with the right error code if entering the queue fails. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-iocost.c')
0 files changed, 0 insertions, 0 deletions