From: Nigel Cunningham <nigel@nigel.suspend2.net>
To: Christoph Hellwig <hch@lst.de>
Cc: akpm@osdl.org, haveblue@us.ibm.com,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH[RFC] kill sysrq-u (emergency remount r/o)
Date: Tue, 06 Feb 2007 11:45:44 +1100 [thread overview]
Message-ID: <1170722744.6097.45.camel@nigel.suspend2.net> (raw)
In-Reply-To: <20070205173247.GA25790@lst.de>
Hi.
On Mon, 2007-02-05 at 18:32 +0100, Christoph Hellwig wrote:
> Hi there,
>
> in two recent discussions (file_list_lock scalability and remount r/o
> on suspend) I stumbled over this emergency remount feature. It's not
> actually useful because it tries a potentially dangerous remount
> despite writers still beeing in progress, which we can't get rid.
>
> I've attached one patch in this mail that simply kills the
> functionality, and in a reply to this mail I'll send a second one
> that keeps the sysrq functionality, but removes the force argument
> from do_remount_sb that overrides the still busy check. This version
> is currently not useful, but makes a lot of sense once Dave Hansens
> per-mountpoint r/o patches get in, as we can check for a real write
> in progress instead of simply a file opened with write permission.
>
> Any ideas and comments?
I'm not really keen - it sometimes get's invoked here and by others in a
sysrq-s sysrq-u sysrq-b sequence (sync, unmount, reboot) in a context
where things have gone south (particularly if there's some process
stuck). In that context it helps make filesystems cleaner than they'd
otherwise be, and the fact that writers might still be in progress is
irrelevant because the next keypress is going to reboot anyway.
Ok. I'll admit to being a heretic ext3 user, loving not having to fsck
after the above and still getting zero corruption as a result.
Regards,
Nigel
prev parent reply other threads:[~2007-02-06 0:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-05 17:32 [PATCH[RFC] kill sysrq-u (emergency remount r/o) Christoph Hellwig
2007-02-05 17:34 ` [PATCH[RFC] don't force remount in " Christoph Hellwig
2007-02-05 20:40 ` [PATCH[RFC] kill " Jan Engelhardt
2007-02-06 3:17 ` Theodore Tso
2007-02-06 9:44 ` Christoph Hellwig
2007-02-06 0:15 ` Eric W. Biederman
2007-02-06 0:45 ` Nigel Cunningham [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=1170722744.6097.45.camel@nigel.suspend2.net \
--to=nigel@nigel.suspend2.net \
--cc=akpm@osdl.org \
--cc=haveblue@us.ibm.com \
--cc=hch@lst.de \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@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).