From: Sasha Levin <sashal@kernel.org>
To: gregkh@linuxfoundation.org
Cc: herbert@gondor.apana.org.au, daniel.m.jordan@oracle.com,
stable@vger.kernel.org
Subject: Re: FAILED: patch "[PATCH] padata: Remove broken queue flushing" failed to apply to 4.19-stable tree
Date: Fri, 7 Feb 2020 09:27:43 -0500 [thread overview]
Message-ID: <20200207142743.GT31482@sasha-vm> (raw)
In-Reply-To: <1581065191136112@kroah.com>
On Fri, Feb 07, 2020 at 09:46:31AM +0100, gregkh@linuxfoundation.org wrote:
>
>The patch below does not apply to the 4.19-stable tree.
>If someone wants it applied there, or to any other stable or longterm
>tree, then please email the backport, including the original git commit
>id to <stable@vger.kernel.org>.
>
>thanks,
>
>greg k-h
>
>------------------ original commit in Linus's tree ------------------
>
>From 07928d9bfc81640bab36f5190e8725894d93b659 Mon Sep 17 00:00:00 2001
>From: Herbert Xu <herbert@gondor.apana.org.au>
>Date: Tue, 19 Nov 2019 13:17:31 +0800
>Subject: [PATCH] padata: Remove broken queue flushing
>
>The function padata_flush_queues is fundamentally broken because
>it cannot force padata users to complete the request that is
>underway. IOW padata has to passively wait for the completion
>of any outstanding work.
>
>As it stands flushing is used in two places. Its use in padata_stop
>is simply unnecessary because nothing depends on the queues to
>be flushed afterwards.
>
>The other use in padata_replace is more substantial as we depend
>on it to free the old pd structure. This patch instead uses the
>pd->refcnt to dynamically free the pd structure once all requests
>are complete.
>
>Fixes: 2b73b07ab8a4 ("padata: Flush the padata queues actively")
>Cc: <stable@vger.kernel.org>
>Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
>Reviewed-by: Daniel Jordan <daniel.m.jordan@oracle.com>
>Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Conflicts are due to not having 6fc4dbcf0276 ("padata: Replace delayed
timer with immediate workqueue in padata_reorder") in older kernels.
I've fixed it up and queued for 4.19-4.4.
--
Thanks,
Sasha
prev parent reply other threads:[~2020-02-07 14:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-07 8:46 FAILED: patch "[PATCH] padata: Remove broken queue flushing" failed to apply to 4.19-stable tree gregkh
2020-02-07 14:27 ` Sasha Levin [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=20200207142743.GT31482@sasha-vm \
--to=sashal@kernel.org \
--cc=daniel.m.jordan@oracle.com \
--cc=gregkh@linuxfoundation.org \
--cc=herbert@gondor.apana.org.au \
--cc=stable@vger.kernel.org \
/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