Re: [PATCH v2 0/5] mempool based chained scatterlist alloc/free api

2016-04-04 Thread James Bottomley
On Sun, 2016-04-03 at 23:07 -0700, Ming Lin wrote: > On Mon, Mar 28, 2016 at 7:48 AM, Ming Lin wrote: > > On Thu, Mar 24, 2016 at 8:46 AM, James Bottomley > > wrote: > > > On Thu, 2016-03-24 at 08:09 -0700, Ming Lin wrote: > > > > On Wed, Mar 23, 2016 at 12:40 AM, Christoph Hellwig > > > > > > >

Re: [PATCH v2 0/5] mempool based chained scatterlist alloc/free api

2016-04-03 Thread Ming Lin
On Mon, Mar 28, 2016 at 7:48 AM, Ming Lin wrote: > On Thu, Mar 24, 2016 at 8:46 AM, James Bottomley > wrote: >> On Thu, 2016-03-24 at 08:09 -0700, Ming Lin wrote: >>> On Wed, Mar 23, 2016 at 12:40 AM, Christoph Hellwig >>> wrote: >>> > On Tue, Mar 22, 2016 at 03:03:11PM -0700, Ming Lin wrote: >>

Re: [PATCH v2 0/5] mempool based chained scatterlist alloc/free api

2016-03-28 Thread Ming Lin
On Thu, Mar 24, 2016 at 8:46 AM, James Bottomley wrote: > On Thu, 2016-03-24 at 08:09 -0700, Ming Lin wrote: >> On Wed, Mar 23, 2016 at 12:40 AM, Christoph Hellwig >> wrote: >> > On Tue, Mar 22, 2016 at 03:03:11PM -0700, Ming Lin wrote: >> > > From: Ming Lin >> > > >> > > The fist 4 patches make

Re: [PATCH v2 0/5] mempool based chained scatterlist alloc/free api

2016-03-24 Thread James Bottomley
On Thu, 2016-03-24 at 08:09 -0700, Ming Lin wrote: > On Wed, Mar 23, 2016 at 12:40 AM, Christoph Hellwig > wrote: > > On Tue, Mar 22, 2016 at 03:03:11PM -0700, Ming Lin wrote: > > > From: Ming Lin > > > > > > The fist 4 patches make the SG related > > > definitions/structs/functions > > > in SCS

Re: [PATCH v2 0/5] mempool based chained scatterlist alloc/free api

2016-03-24 Thread Ming Lin
On Wed, Mar 23, 2016 at 12:40 AM, Christoph Hellwig wrote: > On Tue, Mar 22, 2016 at 03:03:11PM -0700, Ming Lin wrote: >> From: Ming Lin >> >> The fist 4 patches make the SG related definitions/structs/functions >> in SCSI code generic and the last patch move it to lib/sg_pool.c. >> >> I still ke

Re: [PATCH v2 0/5] mempool based chained scatterlist alloc/free api

2016-03-23 Thread Christoph Hellwig
On Tue, Mar 22, 2016 at 03:03:11PM -0700, Ming Lin wrote: > From: Ming Lin > > The fist 4 patches make the SG related definitions/structs/functions > in SCSI code generic and the last patch move it to lib/sg_pool.c. > > I still keep the macro "SG_MEMPOOL_NR" since it's used in 3 places. I don't

[PATCH v2 0/5] mempool based chained scatterlist alloc/free api

2016-03-22 Thread Ming Lin
From: Ming Lin The fist 4 patches make the SG related definitions/structs/functions in SCSI code generic and the last patch move it to lib/sg_pool.c. I still keep the macro "SG_MEMPOOL_NR" since it's used in 3 places. v2: - do modification in scsi code first then move to lib/sg_pool.c - add