From: Juliusz Chroboczek <jch@pps.jussieu.fr>
To: Jochen Striepe <jochen@tolot.escape.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Write is not atomic?
Date: Tue, 16 Oct 2012 08:21:35 +0200 [thread overview]
Message-ID: <7ia9vn3pjk.fsf@lanthane.pps.jussieu.fr> (raw)
In-Reply-To: <20121015234006.GK2842@pompeji.miese-zwerge.org> (Jochen Striepe's message of "Tue, 16 Oct 2012 01:40:06 +0200")
> This seems out of context.
> If the file was open(2)ed with O_APPEND, the file offset is first
> set to the end of the file before writing. The adjustment of the
> file offset and the write operation are performed as an atomic
> step.
> Sounds different, doesn't it?
Yes, it does -- thanks for the clarification. (And thanks to Dave for
the interesting tests.)
Sorry for the confusion,
-- Juliusz
prev parent reply other threads:[~2012-10-16 6:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-15 21:36 Juliusz Chroboczek
2012-10-15 22:21 ` Max Filippov
2012-10-15 23:36 ` Juliusz Chroboczek
2012-10-15 23:13 ` Dave Chinner
2012-10-15 23:24 ` Philippe Troin
2012-10-15 23:42 ` Max Filippov
2012-10-15 23:40 ` Jochen Striepe
2012-10-16 6:21 ` Juliusz Chroboczek [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=7ia9vn3pjk.fsf@lanthane.pps.jussieu.fr \
--to=jch@pps.jussieu.fr \
--cc=jochen@tolot.escape.de \
--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®