Re: [PATCH 4.19 025/220] SUNRPC: Fix priority queue fairness

From: Pavel Machek
Date: Sun Nov 24 2019 - 04:21:53 EST


On Fri 2019-11-22 11:26:30, Greg Kroah-Hartman wrote:
> From: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>
>
> [ Upstream commit f42f7c283078ce3c1e8368b140e270755b1ae313 ]
>
> Fix up the priority queue to not batch by owner, but by queue, so that
> we allow '1 << priority' elements to be dequeued before switching to
> the next priority queue.
> The owner field is still used to wake up requests in round robin order
> by owner to avoid single processes hogging the RPC layer by loading the
> queues.


> include/linux/sunrpc/sched.h | 2 -
> net/sunrpc/sched.c | 109 +++++++++++++++++------------------
> 2 files changed, 54 insertions(+), 57 deletions(-)

While this might improve things, it is not fixing a serious bug.

Plus, it is over limit for stable.

Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature