From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de ([213.95.11.211]:34095 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727537AbfFQI1u (ORCPT ); Mon, 17 Jun 2019 04:27:50 -0400 Date: Mon, 17 Jun 2019 10:27:21 +0200 From: Christoph Hellwig Subject: Re: [PATCH V4 10/16] s390: zfcp_fc: use sg helper to operate scatterlist Message-ID: <20190617082721.GJ7455@lst.de> References: <20190617030349.26415-1-ming.lei@redhat.com> <20190617030349.26415-11-ming.lei@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190617030349.26415-11-ming.lei@redhat.com> Sender: linux-s390-owner@vger.kernel.org List-ID: To: Ming Lei Cc: linux-scsi@vger.kernel.org, "Martin K . Petersen" , James Bottomley , Bart Van Assche , Hannes Reinecke , Christoph Hellwig , Jim Gill , Cathy Avery , "Ewan D . Milne" , Brian King , James Smart , "Juergen E . Fischer" , Michael Schmitz , Finn Thain , Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-usb@vger.kernel.org, Dan Carpenter , Benjamin Block , Steffen Maier , Martin Schwidefsky , Heiko Carstens , linux-s390@vger.kernel.org On Mon, Jun 17, 2019 at 11:03:43AM +0800, Ming Lei wrote: > Use the scatterlist iterators and remove direct indexing of the > scatterlist array. > > This way allows us to pre-allocate one small scatterlist, which can be > chained with one runtime allocated scatterlist if the pre-allocated one > isn't enough for the whole request. Looks good, Reviewed-by: Christoph Hellwig From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH V4 10/16] s390: zfcp_fc: use sg helper to operate scatterlist Date: Mon, 17 Jun 2019 10:27:21 +0200 Message-ID: <20190617082721.GJ7455@lst.de> References: <20190617030349.26415-1-ming.lei@redhat.com> <20190617030349.26415-11-ming.lei@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20190617030349.26415-11-ming.lei@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: Ming Lei Cc: Heiko Carstens , Jim Gill , James Bottomley , Finn Thain , Christoph Hellwig , devel@driverdev.osuosl.org, linux-s390@vger.kernel.org, Hannes Reinecke , Bart Van Assche , linux-scsi@vger.kernel.org, James Smart , "Ewan D . Milne" , "Juergen E . Fischer" , Dan Carpenter , Benjamin Block , Brian King , Michael Schmitz , "Martin K . Petersen" , Greg Kroah-Hartman , linux-usb@vger.kernel.org, Martin Schwidefsky , Steffen Maier List-Id: linux-scsi@vger.kernel.org On Mon, Jun 17, 2019 at 11:03:43AM +0800, Ming Lei wrote: > Use the scatterlist iterators and remove direct indexing of the > scatterlist array. > > This way allows us to pre-allocate one small scatterlist, which can be > chained with one runtime allocated scatterlist if the pre-allocated one > isn't enough for the whole request. Looks good, Reviewed-by: Christoph Hellwig