all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Romain Francoise <romain@orebokech.com>
Cc: emacs-devel@gnu.org
Subject: Re: Making fsync() optional
Date: Thu, 15 Sep 2005 10:45:26 +0200	[thread overview]
Message-ID: <87wtli4t3t.fsf@pacem.orebokech.com> (raw)
In-Reply-To: <E1EFXuX-0004t1-0B@fencepost.gnu.org> (Richard M. Stallman's message of "Wed, 14 Sep 2005 10:06:53 -0400")

"Richard M. Stallman" <rms@gnu.org> writes:

> Will the drive finish writing the blocks even if the computer crashes?

If it's a software crash, probably.  The write caching feature is very
manufacturer dependent so it's hard to tell, there isn't much
documentation about it.

> It has been many years since I had a desktop machine; are IDE disks
> commonly used on them?

Yes, almost all desktop machines use IDE/SATA disks nowadays.

> It seems really dumb if there is no way for the CPU to tell the disk,
> "Write these blocks now, and tell me when you're done."

There is a way, but when the drive reports that it has written the
blocks it may just have stored them in its write cache.

-- 
Romain Francoise <romain@orebokech.com> | The world is a fine place,
it's a miracle -- http://orebokech.com/ | and worth fighting for.
                                        | --Ernest Hemingway

  reply	other threads:[~2005-09-15  8:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-12 19:27 Making fsync() optional Romain Francoise
2005-09-13 15:55 ` Richard M. Stallman
2005-09-13 18:19   ` Romain Francoise
2005-09-14 14:06     ` Richard M. Stallman
2005-09-15  8:45       ` Romain Francoise [this message]
2005-09-16  1:01         ` Richard M. Stallman

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=87wtli4t3t.fsf@pacem.orebokech.com \
    --to=romain@orebokech.com \
    --cc=emacs-devel@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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.