[PATCH RFC 0/2] mempool based chained scatterlist alloc/free api api

From: Ming Lin
Date: Tue Mar 15 2016 - 18:40:48 EST


From: Ming Lin <ming.l@xxxxxxxxxxxxxxx>

Hi list,

This moves the mempool based chained scatterlist alloc/free code from
scsi_lib.c to lib/scatterlist.c.

So other drivers(for example, the under development NVMe over fabric drivers)
can also use it.

Ming Lin (2):
scatterlist: add mempool based chained SG alloc/free api
scsi: use the new chained SG api

drivers/scsi/scsi_lib.c | 129 ++----------------------------------
include/linux/scatterlist.h | 12 ++++
lib/scatterlist.c | 156 ++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 175 insertions(+), 122 deletions(-)

--
1.9.1