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

From: Fam Zheng
Date: Fri Mar 31 2017 - 00:05:35 EST


On Thu, 03/30 11:30, Martin K. Petersen wrote:
> 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.

Cool. Thanks!

Fam