login
Header Space

 
 

Re: [RFC] Reinstate NFS exportability for JFFS2.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christoph Hellwig <hch@...>
Cc: <linux-fsdevel@...>, <linux-mtd@...>
Date: Thursday, May 1, 2008 - 6:44 pm

On Thu, 2008-05-01 at 16:48 -0400, Christoph Hellwig wrote:

Why do you need to co-operate with userspace? Userspace shouldn't need
to do anything -- we'll just generate a suitable fsid/uuid for
ourselves, unless userspace deliberately overrides it for the export in
question.


Bah, don't you start. A less onanistic problem with it is the deadlock
with NFS readdirplus (->readdir->encode_entry->compose_entry_fh->lookup)

I wonder if we should postpone the calls to compose_entry_fh() until
_after_ readdir() has completed. Leave space in the response for the
filehandles, but only walk through it again calling compose_entry_fh()
once we're done in readdir. That would allow us to get rid of the
various icky hacks that file systems have to avoid that deadlock.

-- 
dwmw2

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] Reinstate NFS exportability for JFFS2., David Woodhouse, (Thu May 1, 3:42 pm)
Re: [RFC] Reinstate NFS exportability for JFFS2., Christoph Hellwig, (Thu May 1, 4:48 pm)
Re: [RFC] Reinstate NFS exportability for JFFS2., David Woodhouse, (Thu May 1, 6:44 pm)
speck-geostationary