From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] [SCSI] Make scsi_transfer_length take a scsi_data_buffer argument Date: Tue, 29 Jul 2014 06:26:07 -0700 Message-ID: <20140729132607.GA23245@infradead.org> References: <20140713113715.GA26031@infradead.org> <1406318419-7273-1-git-send-email-martin.petersen@oracle.com> <20140725211927.GB22025@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from bombadil.infradead.org ([198.137.202.9]:51752 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751335AbaG2N0I (ORCPT ); Tue, 29 Jul 2014 09:26:08 -0400 Content-Disposition: inline In-Reply-To: <20140725211927.GB22025@infradead.org> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org, Sagi Grimberg Can I get another review for this one? Sami? On Fri, Jul 25, 2014 at 02:19:27PM -0700, Christoph Hellwig wrote: > On Fri, Jul 25, 2014 at 04:00:19PM -0400, Martin K. Petersen wrote: > > For bidirectional commands we need to be able to distinguish between the > > in and out scsi_data_buffers when calculating the wire transfer length. > > Make scsi_transfer_length() take a scsi_data_buffer argument so the > > caller can choose which I/O direction the calculation should apply to. > > > > Signed-off-by: Martin K. Petersen > > Thanks, this looks good to me, > > Reviewed-by: Christoph Hellwig > -- > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ---end quoted text---