From: "Holger Hoffstätte" <holger.hoffstaette@googlemail.com>
To: linux-ext4@vger.kernel.org
Subject: Re: Lazytime undone by/not working with remount?
Date: Sat, 16 May 2015 14:26:22 +0000 (UTC) [thread overview]
Message-ID: <pan.2015.05.16.14.26.22@googlemail.com> (raw)
In-Reply-To: pan.2015.05.16.11.05.04@googlemail.com
(cc: kzak)
On Sat, 16 May 2015 11:05:04 +0000, Holger Hoffstätte wrote:
> Hi,
>
> playing with lazytime on 4.0.4-rc1 + yesterday's fencepost patch) I noticed
> something odd. Mounting secondary (non-root) partitions with lazytime works
> fine, but / does not seem to retain the value from fstab - apparently because
> it is remounted rw during boot, and lazytime gets swallowed/undone.
>
> Same effect when trying to remount manually with lazytime:
>
> tux>findmnt /
> TARGET SOURCE FSTYPE OPTIONS
> / /dev/sda1 ext4 rw,noatime
>
> tux>mount -o lazytime,remount /
>
> tux>dmesg
> [ 5208.482505] EXT4-fs (sda1): re-mounted. Opts: (null)
>
> tux>findmnt /
> TARGET SOURCE FSTYPE OPTIONS
> / /dev/sda1 ext4 rw,noatime
>
> tux>mount --version
> mount from util-linux 2.26.2 (libmount 2.26.0: assert, debug)
>
> Newly mounting unmounted partitions works fine.
>
> Any ideas?
This turned out to be a regression in util-linux 2.26.x. :-(
I downgraded to 2.25.2 and behold:
tux>findmnt /
TARGET SOURCE FSTYPE OPTIONS
/ /dev/sda1 ext4 rw,noatime
tux>mount -o remount,lazytime /
root>findmnt /
TARGET SOURCE FSTYPE OPTIONS
/ /dev/sda1 ext4 rw,noatime,lazytime
Sorry for the noise.
Holger
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-05-16 14:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-16 11:05 Lazytime undone by/not working with remount? Holger Hoffstätte
2015-05-16 14:26 ` Holger Hoffstätte [this message]
[not found] ` <55575399.6010801@googlemail.com>
2015-05-18 8:21 ` Karel Zak
2015-05-18 15:18 ` Eric Sandeen
2015-05-18 15:36 ` Holger Hoffstätte
2015-05-18 15:23 ` Theodore Ts'o
2015-05-18 15:38 ` Holger Hoffstätte
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=pan.2015.05.16.14.26.22@googlemail.com \
--to=holger.hoffstaette@googlemail.com \
--cc=linux-ext4@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.