On Fri, 2018-10-19 at 10:38 -0400, Tony Battersby wrote: +AD4 Incidentally, I have been using my own home-grown target-mode SCSI +AD4 system for the past 16 years, but now I am starting to look into +AD4 switching to SCST. I was just reading about their +ACI-SGV cache+ACI: +AD4 +AD4 http://scst.sourceforge.net/scst+AF8-pg.html +AD4 +AD4 It looks like it serves a similar purpose to what you are trying to +AD4 accomplish with recycling the indirect I/O buffers between different +AD4 requests. Perhaps you can borrow some inspiration from them (or even +AD4 some code). Although the current SCST SGV cache implementation is more complicated than necessary, I agree that it would be useful to have such a cache implementation in the Linux kernel. The NVMe target driver and the SCSI target core would also benefit from caching SGV allocations. Bart.