summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue_types.h
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2026-05-13 15:18:46 -0600
committerJens Axboe <axboe@kernel.dk>2026-05-22 08:05:33 -0600
commit5995e751d2612cd8254cdf9c1155a96bbbb2d509 (patch)
treec0c9100a2a316ad78df6b13ccce3a77d7ac6767e /include/linux/timerqueue_types.h
parent999722b34441b4ab65b7ca7fb16dd4b62fc3c354 (diff)
ublk: optimize ublk_rq_has_data()
ublk_rq_has_data() currently uses bio_has_data(), which involves 2 indirections and several branches. Use blk_rq_has_data() instead to save an indirection and NULL check. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Reviewed-by: Ming Lei <tom.leiming@gmail.com> Link: https://patch.msgid.link/20260513211846.1956810-3-csander@purestorage.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions