Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Alan Jenkins <alan.christopher.jenkins@gmail.com>
To: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org
Subject: Re: request for 4.14-stable: 1dc3039bc87a ("block: do not use interruptible wait anywhere")
Date: Fri, 20 Jul 2018 12:09:54 +0100	[thread overview]
Message-ID: <14cf6af0-5b2c-5b5d-2b5d-2505bbd4d505@gmail.com> (raw)
In-Reply-To: <20180720102619.6ek7cntouhotgd33@debian>

On 20/07/18 11:26, Sudip Mukherjee wrote:
> Hi Alan,
> My thought was that since you said "or" in your commit message:
> "When blk_queue_enter() waits for a queue to unfreeze, or unset the
> PREEMPT_ONLY flag, do not allow it to be interrupted by a signal", so
> the fault condition can be when it is waiting on the queue and is
> interrupted. So even though 'PREEMPT_ONLY' is not there in v4.14.y, we
> can see the problem just because of getting interrupted while on queue.
>
> Plesase correct me if I was wrong.

You're absolutely right.

I suppose the original commit message might not be quite as clear when 
added in 4.14.x, so I had biased against that a bit.

pre-v4.15 doesn't fail the suspend test in the commit message, but a 
test was added to blktests afterwards, which should exactly cover the 
"or" part.

https://github.com/osandov/blktests/blob/master/tests/block/016

>> IIUC, the bugfix could be applied to *three* of the "longterm" kernel lines:
>> 4.14.56, 4.9.113, 4.4.142.  Since the commit says this bug was introduced to
>> the single-queue block layer in v4.4, commit 3ef28e8 ("block: generic
>> request_queue reference counting").
> I will send the backport for v4.9.y and v4.4.y also.

      reply	other threads:[~2018-07-20 11:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-19 22:09 request for 4.14-stable: 1dc3039bc87a ("block: do not use interruptible wait anywhere") Sudip Mukherjee
2018-07-20  7:26 ` Greg Kroah-Hartman
2018-07-20  8:37 ` Alan Jenkins
2018-07-20 10:26   ` Sudip Mukherjee
2018-07-20 11:09     ` Alan Jenkins [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14cf6af0-5b2c-5b5d-2b5d-2505bbd4d505@gmail.com \
    --to=alan.christopher.jenkins@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=stable@vger.kernel.org \
    --cc=sudipm.mukherjee@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox