John Garry 8d1dfd51c8 block: Pass blk_queue_get_max_sectors() a request pointer
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.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20240620125359.2684798-2-john.g.garry@oracle.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-06-20 15:19:17 -06:00
..
2024-05-21 13:02:56 -07:00
2024-06-16 15:29:55 -06:00
2024-06-18 09:22:45 -06:00
2024-06-18 09:22:45 -06:00
2024-05-14 17:25:36 -07:00
2024-06-18 09:22:45 -06:00
2023-06-26 12:47:20 -07:00
2023-06-30 11:57:07 -07:00
2024-05-21 09:51:42 -07:00
2024-05-21 13:02:56 -07:00
2024-05-21 13:02:56 -07:00
2024-03-11 11:43:44 -07:00