All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] NFS: Add ALLOCATE and DEALLOCATE support
@ 2014-11-07 19:44 Anna Schumaker
  2014-11-07 19:44 ` [PATCH v4 1/2] nfs: Add ALLOCATE support Anna Schumaker
  2014-11-07 19:44 ` [PATCH v4 2/2] nfs: Add DEALLOCATE support Anna Schumaker
  0 siblings, 2 replies; 6+ messages in thread
From: Anna Schumaker @ 2014-11-07 19:44 UTC (permalink / raw)
  To: Trond.Myklebust, linux-nfs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-11-25 15:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-07 19:44 [PATCH v4 0/2] NFS: Add ALLOCATE and DEALLOCATE support Anna Schumaker
2014-11-07 19:44 ` [PATCH v4 1/2] nfs: Add ALLOCATE support Anna Schumaker
2014-11-24 21:45   ` Trond Myklebust
2014-11-25 15:40     ` Anna Schumaker
2014-11-25 15:56       ` Trond Myklebust
2014-11-07 19:44 ` [PATCH v4 2/2] nfs: Add DEALLOCATE support Anna Schumaker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.