From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aserp2130.oracle.com ([141.146.126.79]:39180 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753316AbeFTB3y (ORCPT ); Tue, 19 Jun 2018 21:29:54 -0400 To: Christoph Anton Mitterer Cc: linux-scsi@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] scsi: sd: Optimal I/O size should be a multiple of physical block size From: "Martin K. Petersen" References: <207561f82d5638c8f513f9aaf970a07098bfbb0f.camel@scientia.net> <20180607015123.17862-1-martin.petersen@oracle.com> Date: Tue, 19 Jun 2018 21:29:41 -0400 In-Reply-To: <20180607015123.17862-1-martin.petersen@oracle.com> (Martin K. Petersen's message of "Wed, 6 Jun 2018 21:51:23 -0400") Message-ID: MIME-Version: 1.0 Content-Type: text/plain Sender: stable-owner@vger.kernel.org List-ID: Christoph, > It was reported that some devices report an OPTIMAL TRANSFER LENGTH of > 0xFFFF blocks. That looks bogus, especially for a device with a > 4096-byte physical block size. > > Ignore OPTIMAL TRANSFER LENGTH if it is not a multiple of the device's > reported physical block size. Did you get a chance to test the updated patch? -- Martin K. Petersen Oracle Linux Engineering