On Thu, 2018-05-31 at 12:01 +0300, Sagi Grimberg wrote: > On 05/21/2018 06:55 PM, Sergey Gorenko wrote: > > The iSER driver reduces max_sectors. For example, if you load the > > ib_iser module with max_sectors=1024, you will see that > > /sys/class/block/<bdev>/queue/max_hw_sectors_kb is 508. It is an > > incorrect value. The expected value is (max_sectors * sector_size) / > > 1024 = 512. > > > > Reducing of max_sectors can cause performance degradation due to > > unnecessary splitting of IO requests. > > > > The number of pages per MR has been fixed here, so there is no longer > > any need to reduce max_sectors. > > Thanks Sergey, this looks good, > > Acked-by: Sagi Grimberg <sagi@xxxxxxxxxxx> > Thanks, applied to for-next. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Attachment:
signature.asc
Description: This is a digitally signed message part