ublk: optimize ublk_rq_has_data()
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | blk-mq: introduce blk_rq_has_data()include/ | +9 | 1 reply | |
| 2/2 | ublk: optimize ublk_rq_has_data()drivers/ | +8 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Ming Lei |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 7.2 0/2] ublk: optimize ublk_rq_has_data()
ublk_rq_has_data() currently uses bio_has_data(), which involves 2 indirections and several branches. Introduce a blk_rq_has_data() analogue for struct request and use it instead to save an indirection and NULL check.
Caleb Sander Mateos (2):
blk-mq: introduce blk_rq_has_data()
ublk: optimize ublk_rq_has_data()
drivers/block/ublk_drv.c | 21 ++++++++------------- include/linux/blk-mq.h | 9 +++++++++ 2 files changed, 17 insertions(+), 13 deletions(-)
Signature · 1 line
2.54.0