Skip to content

cifs: Fixes for copy_file_range() and FICLONE

David Howells linux-cifs linux-fsdevel linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cifs: Fix flushing, invalidation and file size with copy_file_range()fs/smb/client/cifsfs.c+99 -30 replies
2/2cifs: Fix flushing, invalidation and file size with FICLONEfs/smb/client/cifsfs.c+57 -111 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] cifs: Fixes for copy_file_range() and FICLONE

Hi Steve,

Here are two patches for cifs:

(1) Fix copy_file_range() support to handle invalidation and flushing of overlapping dirty data correctly, to move the EOF on the server to deal with lazy flushing of locally dirty data and to set the i_size afterwards if the copy extended the file.

(2) Fix FICLONE which has the same set of bugs as (1).

I've pushed the patches here also:

https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=cifs-fixes

David

David Howells (2):
cifs: Fix flushing, invalidation and file size with copy_file_range()
cifs: Fix flushing, invalidation and file size with FICLONE

 fs/smb/client/cifsfs.c | 170 +++++++++++++++++++++++++++++++++++++----
 1 file changed, 156 insertions(+), 14 deletions(-)