From: "Michael W. Shaffer" <mwshaffer@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Kernel 2.6.4 Hang in utime() on swap file
Date: Sat, 20 Mar 2004 14:23:52 -0800 (PST) [thread overview]
Message-ID: <20040320222352.94753.qmail@web10407.mail.yahoo.com> (raw)
> ho hum. We do this to prevent anyone from ftruncate()ing the swapfile
> while it is in use. That can destroy filesystems. Let me think about
> it a bit.
If it's a 'feature' and we just need to know to exclude swapfiles
from backups (since they don't need to be backed up anyway), then
that's an acceptable workaround, I just wanted to make sure that
it wasn't buggy behavior.
It is especially baffling because it leaves mysteriously un-killable
processes (not even kill -9 will get them, but I guess you know that
already). I don't know the internals behind this, but is there a non-
hideous way to have utime() return an error in this case rather than
entering this unkillable sleep or whatever? That might be a little
nicer since applications trying to do this would presumably handle
the error and proceed or exit rather than hanging infinitely with no
obvious way to free them.
Thanks for explaining what's going on anyway.
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
next reply other threads:[~2004-03-20 22:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-20 22:23 Michael W. Shaffer [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-03-20 18:16 Michael W. Shaffer
2004-03-20 21:55 ` Andrew Morton
2004-03-21 9:52 ` Ingo Oeser
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=20040320222352.94753.qmail@web10407.mail.yahoo.com \
--to=mwshaffer@yahoo.com \
--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
all inboxes | Powered by JetHome®