On Fri, 2008-08-01 at 14:36 +0100, David Woodhouse wrote: > Those are needed by NFSv3 too -- and can be handled with a lookup_fh() > method in the file system which is guaranteed to be called from within > the filldir callback, and some support in the VFS for checking if it's a > mountpoint. > > NFSv4 introduces another problem though, which is that it seems to be > able to return the _full_ getattr() results for each object, and there's > no real way round the fact that we need to do the ->lookup() for that. > > If sane clients aren't expected to _ask_ for that, though, then perhaps > it would be OK to fall back to something like the existing > readdir-to-buffer hack for that case, while most normal clients won't > trigger it. Or maybe we could just mask the offending attrs out of ->rd_bmval for readdir calls, and say we don't support them? Would anyone scream if we did that? -- David Woodhouse Open Source Technology Centre David.Woodhouse@xxxxxxxxx Intel Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html