Re: [PATCH V3 09/15] s390: zfcp_fc: use sg helper to operate scatterlist

2019-06-16 Thread Benjamin Block
On Fri, Jun 14, 2019 at 10:53:10AM +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 > is

[PATCH V3 09/15] s390: zfcp_fc: use sg helper to operate scatterlist

2019-06-13 Thread Ming Lei
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. Cc: Steffen Maier Cc: Benjamin Blo