From: bugzilla-daemon@bugzilla.kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 93031] root becomes read-only at boot due to journal_async_commit in /etc/fstab
Date: Fri, 23 Oct 2015 12:27:00 +0000 [thread overview]
Message-ID: <bug-93031-13602-TcJ14l4YtD@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-93031-13602@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=93031
Theodore Tso <tytso@mit.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tytso@mit.edu
--- Comment #4 from Theodore Tso <tytso@mit.edu> ---
It works if you don't have journal_async_commit in /etc/fstab and you also use
journal_async_commit in rootflags:
% kvm-xfstests -o rootflags=journal_async_commit shell
Networking disabled.
(process:13728): GLib-WARNING **:
/build/glib2.0-l3js1a/glib2.0-2.46.1/./glib/gmem.c:482: custom memory
allocation vtable not supported
[ 2.405408] systemd-fsck[1392]: /dev/vda: clean, 10240/65536 files,
66092/262144 blocks
[ 2.720772] systemd-fsck[2455]: /dev/vdg: recovering journal
[ 2.732840] systemd-fsck[2455]: /dev/vdg: clean, 86/327680 files,
58658/1310720 blocks
Debian GNU/Linux 8 kvm-xfstests ttyS0
kvm-xfstests login: root (automatic login)
Linux kvm-xfstests 4.3.0-rc2ext4-00025-g1a70ea8 #223 SMP Mon Oct 19 00:01:49
EDT 2015 i686
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@kvm-xfstests:~# grep root /etc/fstab
/dev/rootfs / ext4 noatime 0 1
root@kvm-xfstests:~# grep root /proc/mounts
/dev/root / ext4 rw,noatime,journal_checksum,journal_async_commit,data=ordered
0 0
root@kvm-xfstests:~# cat /proc/cmdline
quiet loglevel=0 root=/dev/vda console=ttyS0,115200 cmd=maint
fstesttz=America/New_York fstesttyp=ext4 fstestapi=1.2
rootflags=journal_async_commit
The changes that were made between 3.13 and 3.18 were intentional and made for
good reasons. Changing journalling modes while the file system is mounted is
dangerous. In the specific case of changing a read-only to read-write mode it
could be made safe, but it's not a priority, because (a) there _is_ a
workaround that works, (b) journal_async_commit is not something that to be
honest, is not safe unless you are using a pre-release 1.43 version of
e2fsprogs, and I'm not super eager to encourage more people to use it unless
they really, really know what they are doing. One way you can prove that you
know what you are doing is to submit a patch. Using terms like "pedantic
idiots" isn't calculated to encourage people to go out of their way to help you
or to think that you indeed know what you are doing.
--
You are receiving this mail because:
You are watching the assignee of the bug.
prev parent reply other threads:[~2015-10-23 12:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-10 7:59 [Bug 93031] New: root becomes read-only at boot due to journal_async_commit in /etc/fstab bugzilla-daemon
2015-02-10 8:00 ` [Bug 93031] " bugzilla-daemon
2015-02-10 16:53 ` bugzilla-daemon
2015-08-18 10:55 ` bugzilla-daemon
2015-10-22 22:06 ` bugzilla-daemon
2015-10-23 12:27 ` bugzilla-daemon [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=bug-93031-13602-TcJ14l4YtD@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--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 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).