From: "Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: v9fs-developer@lists.sourceforge.net,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH -V1 0/7] Buffered write and writeable mmap support for 9P
Date: Tue, 01 Feb 2011 00:11:51 +0530 [thread overview]
Message-ID: <877hdk9aq8.fsf@linux.vnet.ibm.com> (raw)
In-Reply-To: <E1PjqD4-0000dZ-UN@pomaz-ex.szeredi.hu>
On Mon, 31 Jan 2011 10:38:10 +0100, Miklos Szeredi <miklos@szeredi.hu> wrote:
> On Sun, 30 Jan 2011, Aneesh Kumar K.V wrote:
> > The patch series implement buffered write and writeable mmap for 9P
>
> P9 is supposed to work with servers on the local machine, right?
Yes
>
> In that case you need to think about various deadlock scenarios. An
> example: the P9 server needs a large order allocation while serving
> the buffered write request. That may trigger the page reclaim and go
> into synchronous writeback, possibly waiting on the exact page which
> the P9 server is just trying to finish writing out.
>
> This is not easy to deal with, see commit 3be5a52b for the fuse
> solution. I'm not saying it's the only way, there may be a better
> one.
>
Thanks for the commit info. I will look at the details and see how best
we can solve this in 9P
-aneesh
prev parent reply other threads:[~2011-01-31 18:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-29 19:26 [RFC PATCH -V1 0/7] Buffered write and writeable mmap support for 9P Aneesh Kumar K.V
2011-01-29 19:26 ` [RFC PATCH -V1 1/7] fs/9p: set the cached file_operations struct during inode init Aneesh Kumar K.V
2011-01-29 19:26 ` [RFC PATCH -V1 2/7] fs/9p: set fs cache cookie in create path also Aneesh Kumar K.V
2011-01-29 19:26 ` [RFC PATCH -V1 3/7] fs/9p: increment inode->i_count in cached mode Aneesh Kumar K.V
2011-01-29 19:26 ` [RFC PATCH -V1 4/7] fs/9p: [fscache] wait for page write " Aneesh Kumar K.V
2011-01-29 19:26 ` [RFC PATCH -V1 5/7] fs/9p: Add read write helper function Aneesh Kumar K.V
2011-01-29 19:26 ` [RFC PATCH -V1 6/7] fs/9p: Add fid to inode in cached mode Aneesh Kumar K.V
2011-01-29 19:26 ` [RFC PATCH -V1 7/7] fs/9p: Add buffered write support for v9fs. We can now support writeable mmaps Aneesh Kumar K.V
2011-01-31 9:38 ` [RFC PATCH -V1 0/7] Buffered write and writeable mmap support for 9P Miklos Szeredi
2011-01-31 18:41 ` Aneesh Kumar K. V [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=877hdk9aq8.fsf@linux.vnet.ibm.com \
--to=aneesh.kumar@linux.vnet.ibm.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miklos@szeredi.hu \
--cc=v9fs-developer@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;
as well as URLs for NNTP newsgroup(s).