public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: "Darrick J. Wong" <djwong@kernel.org>
To: Pavel Reichl <preichl@redhat.com>
Cc: linux-xfs@vger.kernel.org
Subject: Re: [PATCH v2 0/2] xfs: Skip repetitive warnings about mount options
Date: Fri, 19 Mar 2021 11:25:08 -0700	[thread overview]
Message-ID: <20210319182508.GV22100@magnolia> (raw)
In-Reply-To: <20210319153251.476606-1-preichl@redhat.com>

On Fri, Mar 19, 2021 at 04:32:49PM +0100, Pavel Reichl wrote:
> Hello,
> 
> I belive that this patch set was missed in recent for-next branch update.
> 
> Patches are the same as before I just added the reviewed-by tags.

Yeah, I'll have time to start on xfs-5.13-merge next week.
Thanks for respinning this. :)

--D

> Thanks!
> 
> ...
> At least some version of mount will look in /proc/mounts and send in all of the 
> options that it finds as part of a remount command. We also /do/ still emit
> "attr2" in /proc/mounts (as we probably should), so remount passes that back
> in, and we emit a warning, which is not great.
> 
> In other words mount passes in "attr2" and the kernel emits a deprecation
> warning for attr2, even though the user/admin never explicitly asked for the
> option.
> 
> So, lets skip the warning if (we are remounting && deprecated option
> state is not changing).
> 
> I also attached test for xfstests that I used for testing (the test
> will be proposed on xfstests-list after/if this patch is merged).
> 
> V2 vs. V1
> 
> * Added new patch that renames mp to parsing_mp in xfs_fs_parse_param()
> * Added new function xfs_fs_warn_deprecated() to encapsulate the logic for displaying the deprecation warning.
> * Fixed some white space issues.
> 
> Pavel Reichl (2):
>   xfs: rename variable mp to parsing_mp
>   xfs: Skip repetitive warnings about mount options
> 
>  fs/xfs/xfs_super.c | 118 +++++++++++++++++++++++++--------------------
>  1 file changed, 67 insertions(+), 51 deletions(-)
> 
> -- 
> 2.30.2
> 

  parent reply	other threads:[~2021-03-19 18:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-19 15:32 [PATCH v2 0/2] xfs: Skip repetitive warnings about mount options Pavel Reichl
2021-03-19 15:32 ` [PATCH v2 1/2] xfs: rename variable mp to parsing_mp Pavel Reichl
2021-03-19 15:32 ` [PATCH v2 2/2] xfs: Skip repetitive warnings about mount options Pavel Reichl
2021-03-19 18:25 ` Darrick J. Wong [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-02-24 21:43 [PATCH v2 0/2] " Pavel Reichl

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=20210319182508.GV22100@magnolia \
    --to=djwong@kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    --cc=preichl@redhat.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