[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170417054505.ggou3yocbnqviqim@thunk.org>
Date: Mon, 17 Apr 2017 01:45:05 -0400
From: Theodore Ts'o <tytso@....edu>
To: "Darrick J. Wong" <darrick.wong@...cle.com>
Cc: Ext4 Developers List <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH 3/3] e2fsck: allow extent tree optimization to be disabled
On Sun, Apr 16, 2017 at 12:24:30PM -0700, Darrick J. Wong wrote:
>
> /me wonders if there's a way to detect that we're being run by
> initscripts/systemd/whatever on a device that is mounted ro, and skip
> the optimization step to avoid the reboot.
That wasn't actually the reason for this option; but adding feature
where which does this for the root file system mounted read-only, the
optimization is avoided would make sense, yes.
> OTOH I wonder why the initramfs (if available) doesn't just build in
> e2fsck and fsck the root device before mounting the fs...
Debian does this already. RHEL is just behind the times. :-)
- Ted
Powered by blists - more mailing lists