From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Roland Kuhn <rkuhn@e18.physik.tu-muenchen.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4 NFS file corruption
Date: Sat, 26 Apr 2003 19:40:22 +0200 [thread overview]
Message-ID: <16042.50310.700613.569032@charged.uio.no> (raw)
In-Reply-To: <Pine.LNX.4.44.0304261857450.18264-100000@pc40.e18.physik.tu-muenchen.de>
>>>>> " " == Roland Kuhn <rkuhn@e18.physik.tu-muenchen.de> writes:
>> You are updating an executable while the clients are running
>> it??? Bad! That is not meant to work...
>>
> It seems to work 50% of the time, while in the other cases
> every page but the first ist correctly updated. Is there a
> reason why this should be so?
Yes. There is not guarantee that the client isn't using a given page.
More importantly though, it just doesn't make sense to change an
executable dynamically. How would you make the transition from one
executable code to the other seamless?
> Would it be okay to delete the file and recreate one with the
> same name? This way it should get a new handle, right?
That won't stop your processes from crashing when you delete the file
from underneath them, but it is indeed the recommended way to handle
this sort of problem. This is the way programs such as 'install'
(a.k.a. ginstall) work.
Cheers,
Trond
prev parent reply other threads:[~2003-04-26 17:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-26 16:12 2.4 NFS file corruption Roland Kuhn
2003-04-26 16:44 ` Trond Myklebust
2003-04-26 16:59 ` Roland Kuhn
2003-04-26 17:40 ` Trond Myklebust [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=16042.50310.700613.569032@charged.uio.no \
--to=trond.myklebust@fys.uio.no \
--cc=linux-kernel@vger.kernel.org \
--cc=rkuhn@e18.physik.tu-muenchen.de \
/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.