[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b0da11e4-d542-a4d0-545b-177ffedaabaa@oracle.com>
Date: Thu, 9 Aug 2018 09:24:30 +0800
From: "jianchao.wang" <jianchao.w.wang@...cle.com>
To: Jens Axboe <axboe@...nel.dk>
Cc: tom.leiming@...il.com, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH V2] blk-mq: count the hctx as active before allocate tag
Hi Jens
On 08/08/2018 10:40 PM, Jens Axboe wrote:
> On 8/8/18 3:56 AM, Jianchao Wang wrote:
>> Currently, we count the hctx as active after allocate driver tag
>> successfully. The other shared-tags users could exhaust the driver
>> tags and starve a non-active and waiting-tag hctx. Count the hctx as
>> active before try to allocate driver tag to fix this.
>
> Patch looks good, but please add some comments along the way.
>
Yes, I will do that and post the V3.
Thanks
Jianchao
Powered by blists - more mailing lists