From: Greg KH <gregkh@linuxfoundation.org>
To: Jaegeuk Kim <jaegeuk@kernel.org>
Cc: stable@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net,
Chao Yu <chao@kernel.org>
Subject: Re: [PATCH] f2fs: guarantee to write dirty data when enabling checkpoint back
Date: Thu, 9 Sep 2021 08:09:05 +0200 [thread overview]
Message-ID: <YTmlAWm7g4NyM/rG@kroah.com> (raw)
In-Reply-To: <YTme3altl3q5lc8N@google.com>
On Wed, Sep 08, 2021 at 10:42:53PM -0700, Jaegeuk Kim wrote:
> On 09/09, Greg KH wrote:
> > On Wed, Sep 08, 2021 at 10:28:37PM -0700, Jaegeuk Kim wrote:
> > > On 09/09, Greg KH wrote:
> > > > On Wed, Sep 08, 2021 at 03:00:20PM -0700, Jaegeuk Kim wrote:
> > > > > From: Jaegeuk Kim <jaegeuk@kernel.org>
> > > > >
> > > > > commit dddd3d65293a52c2c3850c19b1e5115712e534d8 upstream.
> > > > >
> > > > > We must flush all the dirty data when enabling checkpoint back. Let's guarantee
> > > > > that first by adding a retry logic on sync_inodes_sb(). In addition to that,
> > > > > this patch adds to flush data in fsync when checkpoint is disabled, which can
> > > > > mitigate the sync_inodes_sb() failures in advance.
> > > > >
> > > > > Reviewed-by: Chao Yu <chao@kernel.org>
> > > > > Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
> > > > > ---
> > > > > fs/f2fs/file.c | 5 ++---
> > > > > fs/f2fs/super.c | 11 ++++++++++-
> > > > > 2 files changed, 12 insertions(+), 4 deletions(-)
> > > >
> > > > What stable kernel(s) are you wanting to have this backported to?
> > >
> > > 5.10 please.
> >
> > Why would you want to skip 5.14.y and 5.13.y? You never want anyone to
> > upgrade stable kernel releases and have a regression.
>
> I was just looking at the essential kernel version, since the fix is only
> related to checkpoint=disable feature used in android only. Feel free to
> merge it into any stable kernels if you want.
No regressions for any stable releases is key here, Android is just one
user of the kernel...
And in the future, just put a cc: stable in the signed-off-by area when
you submit the patch and it will be handled automatically, like the
documentation states :)
thanks,
greg k-h
next prev parent reply other threads:[~2021-09-09 6:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-08 22:00 [PATCH] f2fs: guarantee to write dirty data when enabling checkpoint back Jaegeuk Kim
2021-09-09 5:23 ` Greg KH
2021-09-09 5:28 ` Jaegeuk Kim
2021-09-09 5:32 ` Greg KH
2021-09-09 5:42 ` Jaegeuk Kim
2021-09-09 6:09 ` Greg KH [this message]
2021-09-13 9:24 ` Greg KH
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=YTmlAWm7g4NyM/rG@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=chao@kernel.org \
--cc=jaegeuk@kernel.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--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