[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8a108498-77ec-1164-b5ed-80d791f60119@kernel.dk>
Date: Wed, 26 Jun 2019 16:25:55 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Douglas Anderson <dianders@...omium.org>,
Paolo Valente <paolo.valente@...aro.org>
Cc: groeck@...omium.org, drinkcat@...omium.org,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] block, bfq: Init saved_wr_start_at_switch_to_srt in
unlikely case
On 6/26/19 1:59 PM, Douglas Anderson wrote:
> Some debug code suggested by Paolo was tripping when I did reboot
> stress tests. Specifically in bfq_bfqq_resume_state()
> "bic->saved_wr_start_at_switch_to_srt" was later than the current
> value of "jiffies". A bit of debugging showed that
> "bic->saved_wr_start_at_switch_to_srt" was actually 0 and a bit more
> debugging showed that was because we had run through the "unlikely"
> case in the bfq_bfqq_save_state() function.
>
> Let's init "saved_wr_start_at_switch_to_srt" in the unlikely case to
> something sane.
>
> NOTE: this fixes no known real-world errors.
Applied, thanks.
--
Jens Axboe
Powered by blists - more mailing lists