Re: [PATCH 7.2 1/2] blk-mq: introduce blk_rq_has_data()

From: Ming Lei

Date: Thu May 14 2026 - 05:36:08 EST


On Wed, May 13, 2026 at 03:18:45PM -0600, Caleb Sander Mateos wrote:
> Add blk_rq_has_data(), an analogue of bio_has_data() for struct request.
> This skips one dereference relative to bio_has_data(rq->bio).
>
> Signed-off-by: Caleb Sander Mateos <csander@xxxxxxxxxxxxxxx>

Reviewed-by: Ming Lei <tom.leiming@xxxxxxxxx>

Thanks,
Ming