From: Ming Lin <min...@ssi.samsung.com> 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