Re: [PATCH] virtiofsd: Reverse req_list before processing it

2021-09-16 Thread Dr. David Alan Gilbert
* Sergio Lopez (s...@redhat.com) wrote: > With the thread pool disabled, we add the requests in the queue to a > GList, processing by iterating over there afterwards. > > For adding them, we're using "g_list_prepend()", which is more > efficient but causes the requests to be processed in reverse o

Re: [PATCH] virtiofsd: Reverse req_list before processing it

2021-08-24 Thread Vivek Goyal
On Tue, Aug 24, 2021 at 03:11:58PM +0200, Sergio Lopez wrote: > With the thread pool disabled, we add the requests in the queue to a > GList, processing by iterating over there afterwards. > > For adding them, we're using "g_list_prepend()", which is more > efficient but causes the requests to be

[PATCH] virtiofsd: Reverse req_list before processing it

2021-08-24 Thread Sergio Lopez
With the thread pool disabled, we add the requests in the queue to a GList, processing by iterating over there afterwards. For adding them, we're using "g_list_prepend()", which is more efficient but causes the requests to be processed in reverse order, breaking the read-ahead and request-merging