Re: [RFC PATCH -V1 0/7] Buffered write and writeable mmap support for 9P

From: Aneesh Kumar K. V
Date: Mon Jan 31 2011 - 13:42:03 EST


On Mon, 31 Jan 2011 10:38:10 +0100, Miklos Szeredi <miklos@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/