dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/include/linux/nfsd
Peter Staubach 40ee5dc6af knfsd: 64 bit ino support for NFS server
Modify the NFS server code to support 64 bit ino's, as
appropriate for the system and the NFS protocol version.

The gist of the changes is to query the underlying file system
for attributes and not just to use the cached attributes in the
inode.  For this specific purpose, the inode only contains an
ino field which unsigned long, which is large enough on 64 bit
platforms, but is not large enough on 32 bit platforms.

I haven't been able to find any reason why ->getattr can't be called
while i_mutex.  The specification indicates that i_mutex is not
required to be held in order to invoke ->getattr, but it doesn't say
that i_mutex can't be held while invoking ->getattr.

I also haven't come to any conclusions regarding the value of
lease_get_mtime() and whether it should or should not be invoked
by fill_post_wcc() too.  I chose not to change this because I
thought that it was safer to leave well enough alone.  If we
decide to make a change, it can be done separately.

Signed-off-by: Peter Staubach <staubach@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Acked-by: Neil Brown <neilb@suse.de>
2007-10-09 18:31:57 -04:00
..
Kbuild
auth.h
cache.h [PATCH] nfsd: misc endianness annotations 2006-10-20 10:26:43 -07:00
const.h [PATCH] include/linux/nfsd/const.h: remove NFS_SUPER_MAGIC 2007-02-12 09:48:36 -08:00
debug.h
export.h knfsd: clean up EX_RDONLY 2007-07-19 10:04:52 -07:00
nfsd.h knfsd: move nfsv4 slab creation/destruction to module init/exit 2007-10-09 18:31:56 -04:00
nfsfh.h knfsd: 64 bit ino support for NFS server 2007-10-09 18:31:57 -04:00
state.h knfsd: nfsd4: don't delegate files that have had conflicts 2007-07-17 10:23:07 -07:00
stats.h fix file specification in comments 2006-10-03 23:01:26 +02:00
syscall.h [PATCH] knfsd: remove nfsd_versbits as intermediate storage for desired versions 2006-10-02 07:57:17 -07:00
xdr.h [PATCH] knfsd: Fix type mismatch with filldir_t used by nfsd 2007-01-26 13:51:00 -08:00
xdr3.h [PATCH] knfsd: Fix type mismatch with filldir_t used by nfsd 2007-01-26 13:51:00 -08:00
xdr4.h knfsd: 64 bit ino support for NFS server 2007-10-09 18:31:57 -04:00