From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fam Zheng Subject: Re: [PATCH v2] sd: Consider max_xfer_blocks if opt_xfer_blocks is unusable Date: Fri, 31 Mar 2017 12:05:25 +0800 Message-ID: <20170331040525.GA11195@lemon.lan> References: <20170328044126.10006-1-famz@redhat.com> <20170330041311.GA32392@lemon.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: "Martin K. Petersen" Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Laurence Oberman , "James E.J. Bottomley" List-Id: linux-scsi@vger.kernel.org On Thu, 03/30 11:30, Martin K. Petersen wrote: > Fam Zheng 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