commit | accea322f5439df22b19465bbe67b836f36165e8 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Apr 28 13:27:56 2020 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Apr 29 09:33:26 2020 -0600 |
tree | 1f947dd0e52fb57f9af81b3c6559119147ce934a | |
parent | 0376e9efe18388bd486a65edbc16d34b84bddc8f [diff] |
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>