From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Chakri n <chakriin5@gmail.com>
Cc: nfs@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [NFS] NFS on loopback locks up entire system(2.6.23-rc6)?
Date: Fri, 21 Sep 2007 10:13:25 -0400 [thread overview]
Message-ID: <1190384005.6680.20.camel@heimdal.trondhjem.org> (raw)
In-Reply-To: <92cbf19b0709202012s375c6f54m588987b4bbf552bc@mail.gmail.com>
On Thu, 2007-09-20 at 20:12 -0700, Chakri n wrote:
> Thanks Trond, for clarifying this for me.
>
> I have seen similar behavior when a remote NFS server is not
> available. Many processes wait end up waiting in nfs_release_page. So,
> what will happen if the remote server is not available,
> nfs_release_page cannot free the memory since it waits on rpc request
> to complete, which never completes and processes wait in there for
> ever?
>
> And unfortunately in my case, I cannot use "mount --bind". I want to
> use the same file system from two different nodes, and I want file &
> record locking to be consistent. The only way to make sure locking is
> consistent is to use loopback NFS on 1 host and NFS mount the same
> file system on other nodes, so that NFS server ensures file & record
> locking to be consistent. Is there any alternative to this?
>
> Is it possible or any efforts to integrate ext3 or other local file
> systems locking & network file system locking, so that user can use
> "mount --bind" on local host and NFS mount on remote nodes, but file &
> record locking will be consistent between both the nodes?
Could you be a bit more specific? Is the problem that your application
is using BSD locks (flock()) instead of POSIX locks?
Cheers
Trond
next prev parent reply other threads:[~2007-09-21 14:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-21 0:22 Chakri n
2007-09-21 0:43 ` Trond Myklebust
2007-09-21 3:12 ` Chakri n
2007-09-21 12:47 ` J. Bruce Fields
2007-09-21 14:13 ` Trond Myklebust [this message]
2007-09-21 16:20 ` [NFS] " Chakri n
2007-09-21 16:24 ` Trond Myklebust
2007-09-21 18:06 ` Chakri n
2007-09-21 18:14 ` Trond Myklebust
2007-09-22 6:28 ` Chakri n
2007-10-06 7:35 ` Pavel Machek
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=1190384005.6680.20.camel@heimdal.trondhjem.org \
--to=trond.myklebust@netapp.com \
--cc=chakriin5@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®