ioctls through the
.copy_file_range method instead of each implementing them in the private
ioctl handlers.
Cheers,
Tao
Anna Schumaker (2):
nfsd: Pass filehandle to nfs4_preprocess_stateid_op()
NFSD: Implement the CLONE call
Peng Tao (7):
vfs: add COPY_FILE_CLONE_ONLY flag
cifs: add
COPY_FR_REFLINK in uapi/fs.h when
implementing new user visiable APIs like sys_clone.
Signed-off-by: Peng Tao <tao.p...@primarydata.com>
---
fs/read_write.c| 9 +
include/linux/fs.h | 3 +++
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/fs/read_write.c b/fs/read_write.c
Signed-off-by: Peng Tao <tao.p...@primarydata.com>
---
fs/nfs/nfs4file.c | 95 ++-
1 file changed, 52 insertions(+), 43 deletions(-)
diff --git a/fs/nfs/nfs4file.c b/fs/nfs/nfs4file.c
index 4aa5719..f1924d8 100644
--- a/fs/nfs/nfs4file.c
toph Hellwig <h...@lst.de>
Signed-off-by: Peng Tao <tao.p...@primarydata.com>
---
fs/nfsd/nfs4proc.c | 80
fs/nfsd/nfs4xdr.c| 21 ++
fs/nfsd/vfs.c| 18
fs/nfsd/vfs.h| 1 +
f
From: Anna Schumaker
This will be needed so COPY can look up the saved_fh in addition to the
current_fh.
Signed-off-by: Anna Schumaker
---
fs/nfsd/nfs4proc.c | 16 +---
fs/nfsd/nfs4state.c | 6 +++---
fs/nfsd/state.h | 5
BTRFS_IOC_CLONE/BTRFS_IOC_CLONE_RANGE is now handled
by generic layer and goes through the .copy_file_range
method.
Signed-off-by: Peng Tao <tao.p...@primarydata.com>
---
fs/btrfs/ioctl.c | 49 -
1 file changed, 49 deletions(-)
diff --gi