On 10/20/21 5:14 AM, John Garry wrote: > On 17/10/2021 03:06, Jens Axboe wrote: >> Hi, > > +linux-scsi > >> >> We now do decent batching of allocations for submit, but we still >> complete requests individually. This costs a lot of CPU cycles. >> >> This patchset adds support for collecting requests for completion, >> and then completing them as a batch. This includes things like freeing >> a batch of tags. >> >> This version is looking pretty good to me now, and should be ready >> for 5.16. > > Just wondering if anyone was looking at supporting this for SCSI > midlayer? I was thinking about looking at it... Since it's pretty new, don't think anyone has looked at that yet. I just did the nvme case, for both submit and complete batching. But the code is generic and would plug into anything. -- Jens Axboe