public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "David J. Picard" <dave@psind.com>
To: axboe@suse.de, linux-kernel@vger.kernel.org
Subject: [Fwd: PATCH for Corrupted IO on all block devices]
Date: Tue, 17 Jul 2001 21:23:06 -0400	[thread overview]
Message-ID: <3B54E4FA.DE090D0D@psind.com> (raw)

"David J. Picard" wrote:
> 
> This is happening on an e2fs file system, I haven't tried it with
> others, but the code is pretty clear in elevator.c about putting the
> reads ahead of the write if they are pushed into the queue close enough
> to each other.
> 
> Linus Torvalds wrote:
> >
> > On Tue, 17 Jul 2001, David J. Picard wrote:
> > >
> > > Basically, what is happening is the read requests are being pushed to
> > > the front of the IO queue - before the preceding write for the same
> > > sector.
> >
> > This is a bug in the USER, not in the code.
> >
> > The locking is NOT supposed to be done at the elevator level (or, indeed
> > at ANY _io_ level), but must be done by upper layers.
> >
> > If upper layers do not do this locking, then THAT is the bug.
> >
> > What filesystem do you see the bug with?
> >
> >                 Linus
> 
> --
> David J. Picard
>   dave@psind.com
> 
> If you can keep your head when all about you are losing theirs,
>   then you clearly don't understand the situation.

-- 
David J. Picard
  dave@psind.com

If you can keep your head when all about you are losing theirs,
  then you clearly don't understand the situation.

                 reply	other threads:[~2001-07-18  1:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3B54E4FA.DE090D0D@psind.com \
    --to=dave@psind.com \
    --cc=axboe@suse.de \
    --cc=dpicard@rcn.com \
    --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