Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.development.apps > #489
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Rainer Weikusat <rweikusat@mssgmbh.com> |
| Newsgroups | comp.os.linux.development.apps |
| Subject | Re: file I/O: writ to disk in parallel? |
| Date | Thu, 21 Jun 2012 14:17:56 +0100 |
| Lines | 9 |
| Message-ID | <87vcikercr.fsf@sapphire.mobileactivedefense.com> (permalink) |
| References | <c7cb8f1d-73ec-45ed-9bbe-b06a6e5c140c@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | individual.net DWSzCkhxeIeUEX4uzIu5LAygJbDE4pd0jH0gEL37Epuv8hjUc2wP9rd57IGKCQDW4= |
| Cancel-Lock | sha1:i2wzIhnqAqvhyss2Cnd21m5Ai3E= sha1:jxQFiEmGGi60fKZLXR51m7/oM54= |
| User-Agent | Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
| Xref | csiph.com comp.os.linux.development.apps:489 |
Show key headers only | View raw
lmike <lmike3000@gmail.com> writes: > Say an application code calls fwrite/write etc. to write a very long > string "aaa ... 123 ... ccc" to a disk file, is it ever possible > that the app/box crashes in the middle of the write operation, then > it leaves a garbage like "aaa ... @#$@#$ ... ccc" or "@#$%@#$ > ... 123 ... ccc" in the disk file? Trivially, yes. Even the shortest actual write needs a finite amount of time and 'something bad' could happen during this time.
Back to comp.os.linux.development.apps | Previous | Next — Previous in thread | Find similar
file I/O: writ to disk in parallel? lmike <lmike3000@gmail.com> - 2012-06-20 20:35 -0700 Re: file I/O: writ to disk in parallel? Lusotec <nomail@nomail.not> - 2012-06-21 13:33 +0100 Re: file I/O: writ to disk in parallel? Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-06-21 14:17 +0100
csiph-web