On 10/5/18 12:46 AM, Christoph Hellwig wrote:
On Mon, Sep 17, 2018 at 02:35:43PM -0700, Bart Van Assche wrote:
The purpose of sg_alloc_table() is to allocate and initialize an
sg-list. Use that function instead of open-coding it.
Hmm. This looks correct, but what is the point if we don't plan
on using chained sg-lists?
This patch makes it easier to replace the SCSI target sg-list allocation
code by (library) code that caches sg-list allocations. I still hope to
find some time to work on this.
Since the rest of this series does not depend on this patch, I can leave
it out if you want.
Bart.