Re: [PATCH v3 11/20] sg: replace rq array with lists

2019-08-13 Thread Douglas Gilbert
On 2019-08-12 10:35 a.m., Christoph Hellwig wrote: On Wed, Aug 07, 2019 at 01:42:43PM +0200, Douglas Gilbert wrote: Remove the fixed size array of 16 request elements per file descriptor and replace with two linked lists per file descriptor. One list is for active commands, the other list is a f

Re: [PATCH v3 11/20] sg: replace rq array with lists

2019-08-12 Thread Christoph Hellwig
On Wed, Aug 07, 2019 at 01:42:43PM +0200, Douglas Gilbert wrote: > Remove the fixed size array of 16 request elements per file > descriptor and replace with two linked lists per file descriptor. > One list is for active commands, the other list is a free list. > sg_request objects are now kept, ava

[PATCH v3 11/20] sg: replace rq array with lists

2019-08-07 Thread Douglas Gilbert
Remove the fixed size array of 16 request elements per file descriptor and replace with two linked lists per file descriptor. One list is for active commands, the other list is a free list. sg_request objects are now kept, available for re-use, until their owning file descriptor is closed. The sg_r