Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.development.apps > #487
| From | lmike <lmike3000@gmail.com> |
|---|---|
| Newsgroups | comp.os.linux.development.apps |
| Subject | file I/O: writ to disk in parallel? |
| Date | 2012-06-20 20:35 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <c7cb8f1d-73ec-45ed-9bbe-b06a6e5c140c@googlegroups.com> (permalink) |
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? Or, in other words, could the disk write head(s) (1) write parts of that string in parallel to the disk, OR (2) write the bytes not in order, e.g. first write "ccc", then "aaa" ... ? Any hard disks support that? Thanks!
Back to comp.os.linux.development.apps | Previous | Next — Next 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