From: David Jeffery <david_jeffery@adaptec.com>
To: "nfs@lists.sourceforge.net" <nfs@lists.sourceforge.net>
Subject: Re: linux 2.4.18-5 nfs/rpc problem
Date: 13 Oct 2003 10:17:15 -0400 [thread overview]
Message-ID: <1066054635.669.9.camel@blackmagic> (raw)
In-Reply-To: <shsk77c27yl.fsf@charged.uio.no>
On Fri, 2003-10-10 at 15:44, Trond Myklebust wrote:
> >>>>> " " == Trond Myklebust <trond.myklebust@fys.uio.no> writes:
>
> > There is indeed one case where this is not being done: in
> > page_launder() you only have a lock on the page. This means
> > that you may end up calling nfs_wait_on_request() in order to
> > flush out a page only to discover that it called iput() from
> > beneath you and is now waiting in clear_inode() on your page
> > lock.
>
> Sorry. I meant 'shrink_cache()'. page_launder() probably disappeared
> around 2.4.10 8-).
>
> The point was that writepage() should be the only case where the above
> is a problem. I believe readpage does not suffer from the same issue
> since it can only be called while the file is still open...
>
> Cheers,
> Trond
Trond,
I don't see any holes in your much simpler patch. I'm glad you spotted
a much simpler approach than mine. I really didn't like the ugly
-EDEADLK game I was playing in my second patch. I'll post something if I
see a problem but I doubt I will. Thanks Trond.
David Jeffery
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2003-10-13 14:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-08 22:42 linux 2.4.18-5 nfs/rpc problem Guzovsky, Eduard
2003-10-10 17:12 ` David Jeffery
2003-10-10 18:58 ` Trond Myklebust
2003-10-10 19:44 ` Trond Myklebust
2003-10-13 14:17 ` David Jeffery [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-10-11 0:18 Guzovsky, Eduard
2003-10-11 0:20 Guzovsky, Eduard
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=1066054635.669.9.camel@blackmagic \
--to=david_jeffery@adaptec.com \
--cc=nfs@lists.sourceforge.net \
/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