On Mon, Feb 19, 2024 at 01:00:59PM +0000, John Garry wrote: > Currently blk_queue_get_max_sectors() is passed a enum req_op. In future > the value returned from blk_queue_get_max_sectors() may depend on certain > request flags, so pass a request pointer. > > Also use rq->cmd_flags instead of rq->bio->bi_opf when possible. Looks good. Reviewed-by: Keith Busch <kbusch@xxxxxxxxxx>