These patches add client support for the ALLOCATE and DEALLOCATE operations part of NFS v4.2, which are triggered by a vfs_fallocate() call. Changes in v4: - Use a single struct fallocate so code can be shared between both operations. - Return -EOPNOTSUPP if we detect that the file is not a regular file. - Call nfs_zap_caches() to invalidate cached size information (fixes xfstests generic/075, generic/091, generic/112, generic/127, generic/214, and generic/263) These patches and the corresponding server changes are available in the [fallocate] branch of git://git.linux-nfs.org/projects/anna/linux-nfs.git Questions? Comments? Thougts? Anna Anna Schumaker (2): nfs: Add ALLOCATE support nfs: Add DEALLOCATE support fs/nfs/inode.c | 1 + fs/nfs/nfs42.h | 2 + fs/nfs/nfs42proc.c | 75 +++++++++++++++++++++++++ fs/nfs/nfs42xdr.c | 139 ++++++++++++++++++++++++++++++++++++++++++++++ fs/nfs/nfs4_fs.h | 1 + fs/nfs/nfs4file.c | 31 +++++++++++ fs/nfs/nfs4proc.c | 4 +- fs/nfs/nfs4xdr.c | 2 + include/linux/nfs4.h | 2 + include/linux/nfs_fs_sb.h | 2 + include/linux/nfs_xdr.h | 14 +++++ 11 files changed, 272 insertions(+), 1 deletion(-) -- 2.1.3 -- 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