Re: [PATCH v2] sd: Consider max_xfer_blocks if opt_xfer_blocks is unusable

From: Martin K. Petersen
Date: Thu Mar 30 2017 - 11:31:27 EST


Fam Zheng <famz@xxxxxxxxxx> writes:

>> rw_max = min_not_zero(logical_to_sectors(sdp, dev_max),
>> BLK_DEF_MAX_SECTORS);
>
> Yes, it is better. Is it okay to make the change when you apply?

Sure. Applied to 4.11/scsi-fixes.

--
Martin K. Petersen Oracle Linux Engineering