From: Christian Kujau <lists@nerdbynature.de>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Deepa Dinamani <deepa.kernel@gmail.com>,
Jeff Layton <jlayton@kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
Eric Biggers <ebiggers@google.com>
Subject: Re: [PATCH] Re: filesystem being remounted supports timestamps until 2038
Date: Sat, 4 Jan 2020 15:51:57 -0800 (PST) [thread overview]
Message-ID: <alpine.DEB.2.21.99999.375.2001041545350.21037@trent.utfs.org> (raw)
In-Reply-To: <CAHk-=wim6VGnxQmjfK_tDg6fbHYKL4EFkmnTjVr9QnRqjDBAeA@mail.gmail.com>
On Sun, 29 Dec 2019, Linus Torvalds wrote:
> > When file systems are remounted a couple of times per day (e.g. rw/ro for backup
> > purposes), dmesg gets flooded with these messages. Change pr_warn into pr_debug
> > to make it stop.
>
> How about just doing it once per mount?
Yes, once per mount would work, and maybe not print a warning on remounts
at all.
Commit f8b92ba67c5d ("mount: Add mount warning for impending timestamp
expiry") introduced:
Mounted %s file system at %s supports timestamps until [...]
in mnt_warn_timestamp_expiry(), but then 0ecee6699064 ("fs/namespace.c:
fix use-after-free of mount in mnt_warn_timestamp_expiry") changed this to
%s filesystem being %s at %s supports timestamps until [...]
in order to fix a use-after-free.
> Of course, if you actually unmount and completely re-mount a
> filesystem, then that would still warn multiple times, but at that
> point I think it's reasonable to do.
Yes, of course. Umount/remount cycles should still issue a warning, but
"-o remount" should not, IMHO.
Thanks,
Christian.
--
BOFH excuse #108:
The air conditioning water supply pipe ruptured over the machine room
next prev parent reply other threads:[~2020-01-04 23:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-21 2:02 filesystem being remounted supports timestamps until 2038 Christian Kujau
2019-12-27 1:54 ` [PATCH] " Christian Kujau
2019-12-28 19:51 ` Deepa Dinamani
2019-12-29 18:01 ` Linus Torvalds
2020-01-04 23:51 ` Christian Kujau [this message]
2020-06-24 0:26 ` Christian Kujau
2022-01-27 21:49 ` Salvatore Bonaccorso
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=alpine.DEB.2.21.99999.375.2001041545350.21037@trent.utfs.org \
--to=lists@nerdbynature.de \
--cc=deepa.kernel@gmail.com \
--cc=ebiggers@google.com \
--cc=jlayton@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.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).