From: SeongJae Park <sj@kernel.org>
To: SeongJae Park <sj@kernel.org>
Cc: roger.pau@citrix.com, axboe@kernel.dk,
boris.ostrovsky@oracle.com, jgross@suse.com, olekstysh@gmail.com,
andrii.chepurnyi82@gmail.com, mheyne@amazon.de,
xen-devel@lists.xenproject.org, linux-block@vger.kernel.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH v3 0/2] Fix persistent grants negotiation with a behavior change
Date: Fri, 15 Jul 2022 22:16:27 +0000 [thread overview]
Message-ID: <20220715221627.127648-1-sj@kernel.org> (raw)
In-Reply-To: <20220715181226.126714-1-sj@kernel.org>
Hi all,
On Fri, 15 Jul 2022 18:12:26 +0000 SeongJae Park <sj@kernel.org> wrote:
> Hi all,
>
> On Fri, 15 Jul 2022 17:55:19 +0000 SeongJae Park <sj@kernel.org> wrote:
>
> > The first patch of this patchset fixes 'feature_persistent' parameter
> > handling in 'blkback' to respect the frontend's persistent grants
> > support always. The fix makes a behavioral change, so the second patch
> > makes the counterpart of 'blkfront' to consistently follow the behavior
> > change.
>
> I made the behavior change as requested by Andrii[1]. I therefore made similar
> behavior change to blkfront and Cc-ed stable for the second change, too.
Now I realize that commit aac8a70db24b ("xen-blkback: add a parameter for
disabling of persistent grants") introduced two issues. One is what Max
reported with his patch, and the second one is unintended behavioral change
that broke Andrii's use case.
That is, Andrii's use case should had no problem at all before the introduction
of 'feature_persistent', as at that time 'blkback' checked if the frontend
support the persistent grants for every 'reconnect()' and enables it if so.
However, introduction of the parameter made it behaves differently.
Yes, we intended to make the prameter to make effects to newly created devices.
But, as it breaks user workflows, this should be fixed. Same for the
'blkfront' side 'feature_persistent'.
>
> To make the change history clear and reduce the stable side overhead, however,
> it might be better to apply the v2, which don't make behavior change but only
> fix the issue, Cc stable@ for it, make the behavior change commits for both
> blkback and blkfront, update the documents, and don't Cc stable@ for the
> behavior change and documents update commits.
I'd say having one patch for each issue would be the right way to go, and all
fixes should Cc stable@.
>
> One downside of that would be that it will make a behavioral difference in
> pre-5.19.x and post-5.19.x.
The unintended behavioral fix should also be considered fix and therefore
should be merged into stable@, so above concern is not valid.
I will send the next spin soon.
Thanks,
SJ
[...]
prev parent reply other threads:[~2022-07-15 22:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-15 17:55 [PATCH v3 0/2] Fix persistent grants negotiation with a behavior change SeongJae Park
2022-07-15 17:55 ` [PATCH 1/2] xen, blkback: fix persistent grants negotiation SeongJae Park
2022-07-15 17:55 ` [PATCH 2/2] xen-blkfront: Apply 'feature_persistent' parameter when connect SeongJae Park
2022-07-15 18:12 ` [PATCH v3 0/2] Fix persistent grants negotiation with a behavior change SeongJae Park
2022-07-15 22:16 ` SeongJae Park [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=20220715221627.127648-1-sj@kernel.org \
--to=sj@kernel.org \
--cc=andrii.chepurnyi82@gmail.com \
--cc=axboe@kernel.dk \
--cc=boris.ostrovsky@oracle.com \
--cc=jgross@suse.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mheyne@amazon.de \
--cc=olekstysh@gmail.com \
--cc=roger.pau@citrix.com \
--cc=stable@vger.kernel.org \
--cc=xen-devel@lists.xenproject.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;
as well as URLs for NNTP newsgroup(s).