Re: [Patch v9 01/10] block: Pass blk_queue_get_max_sectors() a request pointer
Hannes Reinecke <[email protected]>
| Newsgroups | gmane.linux.kernel.aio.general,gmane.linux.block,gmane.linux.kernel,gmane.linux.file-systems,gmane.linux.scsi,gmane.comp.file-systems.btrfs,gmane.linux.kernel.io-uring |
|---|---|
| Message-ID | <[email protected]> |
On 6/20/24 14:53, 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. > > Reviewed-by: Christoph Hellwig <[email protected]> > Reviewed-by: Keith Busch <[email protected]> > Reviewed-by: Luis Chamberlain <[email protected]> > Reviewed-by: Martin K. Petersen <[email protected]> > Signed-off-by: John Garry <[email protected]> > --- > block/blk-merge.c | 3 ++- > block/blk-mq.c | 2 +- > block/blk.h | 6 ++++-- > 3 files changed, 7 insertions(+), 4 deletions(-) > Reviewed-by: Hannes Reinecke <[email protected]> Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect [email protected] +49 911 74053 688 SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich -- To unsubscribe, send a message with 'unsubscribe linux-aio' in the body to [email protected]. For more info on Linux AIO, see: http://www.kvack.org/aio/ Don't email: <a href=mailto:"[email protected]">[email protected]</a>