]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: sd: Add a comment about limiting max_sectors to shost optimal limit
authorJohn Garry <john.garry@huawei.com>
Tue, 19 Jul 2022 09:51:04 +0000 (17:51 +0800)
committerChristoph Hellwig <hch@lst.de>
Fri, 22 Jul 2022 15:14:59 +0000 (17:14 +0200)
commit76898ecdc1f3b6537217d326d016774711a27b3c
tree0b471835ff8c0eff00a15a18185c36a62aa3d620
parent7cde501895cc52820bccf487b3dcb2a47e99c2bc
scsi: sd: Add a comment about limiting max_sectors to shost optimal limit

Add a comment about limiting the default the SCSI disk request_queue
max_sectors initial value to that of the SCSI host optimal sectors limit.

Suggested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/sd.c