Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Patrick Caulfield <patrick@tykepenguin.com>
To: parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] O_DIRECT on devices
Date: Thu, 11 Jul 2002 09:22:59 +0100	[thread overview]
Message-ID: <20020711082259.GF822@tykepenguin.com> (raw)

I'm currently working on LVM2 and we want to use O_DIRECT to write the metadata
from userspace. so I open a partition with O_DIRECT and try to read/write the
data from an aligned buffer.

This works fine on Alpha & Intel but seems very unreliable on parisc for some
reason. Sometimes it works, sometimes it oopses "do_page_fault() pid=2120
command='lvm' type=15 address=0x00000001" and sometimes I just get back the
wrong information (at least LVM thinks its wrong I haven't check in detail just
what is up with it).

I haven't tried writing yet - I'd rather not think what might happen to my disk
just ATM :)

This is a C110 with 256meg of memory running 2.4.18-pa46

patrick

             reply	other threads:[~2002-07-11  8:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-11  8:22 Patrick Caulfield [this message]
     [not found] ` <3D2D4B4B.4010705@deaprofessionale.it>
2002-07-11  9:35   ` [parisc-linux] O_DIRECT on devices Patrick Caulfield
2002-07-15  2:46 ` Matthew Wilcox
2002-07-15  7:42   ` Grant Grundler
2002-07-15 11:29     ` Matthew Wilcox
2002-07-15 13:57       ` Patrick Caulfield
2002-07-15 14:10         ` Matthew Wilcox
2002-07-15 14:23           ` Patrick Caulfield
  -- strict thread matches above, loose matches on Subject: below --
2002-08-13 13:23 [parisc-linux] HP9000/L2000 + FC60 Fiber Support António Ribeiro
2002-08-13 13:29 ` Matthew Wilcox
2002-08-15  6:01   ` Grant Grundler
2003-07-18  5:27 [parisc-linux] cvs [login aborted]? Joel Soete
2003-07-18 11:21 ` Matthew Wilcox
2003-07-18 14:44   ` bame

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=20020711082259.GF822@tykepenguin.com \
    --to=patrick@tykepenguin.com \
    --cc=parisc-linux@lists.parisc-linux.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