[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <11086c9d-7d73-bcc4-1427-ac7807397997@kernel.dk>
Date: Thu, 20 Jun 2019 03:29:47 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Dennis Zhou <dennis@...nel.org>, Josef Bacik <josef@...icpanda.com>
Cc: kernel-team@...com, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] blk-iolatency: only account submitted bios
On 5/23/19 2:10 PM, Dennis Zhou wrote:
> As is, iolatency recognizes done_bio and cleanup as ending paths. If a
> request is marked REQ_NOWAIT and fails to get a request, the bio is
> cleaned up via rq_qos_cleanup() and ended in bio_wouldblock_error().
> This results in underflowing the inflight counter. Fix this by only
> accounting bios that were actually submitted.
Looks good to me, applied.
--
Jens Axboe
Powered by blists - more mailing lists