Linux NFS development
 help / color / mirror / Atom feed
From: Olaf Kirch <okir@suse.de>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: nfs@lists.sourceforge.net
Subject: Re: NFS direct IO needs page lock?
Date: Thu, 17 Feb 2005 16:34:51 +0100	[thread overview]
Message-ID: <20050217153451.GL23564@suse.de> (raw)
In-Reply-To: <1108507882.10073.236.camel@lade.trondhjem.org>

On Tue, Feb 15, 2005 at 05:51:22PM -0500, Trond Myklebust wrote:
> ty den 15.02.2005 Klokka 21:36 (+0100) skreiv Olaf Kirch:
> It is intentional. Andrew Morton pointed out that you can play zero-copy
> tricks by doing direct-io on an mmapped range of pages (as seems to be
> the case above).
> 
> That could cause deadlocks if the reader and writer were to both try to
> lock the same page.

Thanks, that helps!

Olaf
-- 
Olaf Kirch   |  --- o --- Nous sommes du soleil we love when we play
okir@suse.de |    / | \   sol.dhoop.naytheet.ah kin.ir.samse.qurax


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

      reply	other threads:[~2005-02-17 15:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-15 20:36 NFS direct IO needs page lock? Olaf Kirch
2005-02-15 22:51 ` Trond Myklebust
2005-02-17 15:34   ` Olaf Kirch [this message]

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=20050217153451.GL23564@suse.de \
    --to=okir@suse.de \
    --cc=nfs@lists.sourceforge.net \
    --cc=trond.myklebust@fys.uio.no \
    /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