diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-10-19 22:24:13 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-20 08:08:06 -0600 |
commit | 1497a51a3287959a9eb74e0432203ba3e2dc7347 (patch) | |
tree | c06311f1b12ee00fc09f38faedfa7ce9c2107683 /block/bio.c | |
parent | 478eb72b815f33734723867ff236d96afa418d69 (diff) | |
download | lwn-1497a51a3287959a9eb74e0432203ba3e2dc7347.tar.gz lwn-1497a51a3287959a9eb74e0432203ba3e2dc7347.zip |
block: don't bloat enter_queue with percpu_ref
percpu_ref_put() are inlined for performance and bloat the binary, we
don't care about the fail case of blk_try_enter_queue(), so we can
replace it with a call to blk_queue_exit().
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions