mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: <Andries.Brouwer@cwi.nl>
To: linux-kernel@vger.kernel.org
Subject: umount
Date: Sun, 27 Nov 2005 22:54:11 +0100 (MET)	[thread overview]
Message-ID: <200511272154.jARLsBb11446@apps.cwi.nl> (raw)

Recently I have seen cases where I/O to a device with bad media
was never noticed (except in the syslog). I think that is bad.
The application writes, but the stuff written lives in buffers.
The close() still does not force file I/O.
But the umount() causes the I/O to happen. Writes fail and the
syslog is full of messages. But the user does not see any messages,
the umount returns without error, and there is no reason to suspect
that anything is wrong.

I am not sure about the correct solution.
Perhaps umount should return -EIO if it did the umount but
I/O errors happened?

Andries


             reply	other threads:[~2005-11-27 21:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-27 21:54 Andries.Brouwer [this message]
2005-11-28  0:45 ` umount Grant Coady
2005-11-28  1:42   ` umount Mark Knecht
2005-11-28  2:01     ` umount Patrick McFarland
2005-11-28  7:15       ` umount Jim Crilly
2005-11-28 17:20         ` umount Mark Knecht
2005-11-28 17:51           ` umount linux-os (Dick Johnson)
2005-11-28 21:11             ` umount Bill Davidsen
2005-11-28 21:16               ` umount linux-os (Dick Johnson)
2005-11-29  0:11             ` umount Mark Knecht
2005-11-29  2:13 umount Steve French

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=200511272154.jARLsBb11446@apps.cwi.nl \
    --to=andries.brouwer@cwi.nl \
    --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

Powered by JetHome