cifs: Fixes for copy_file_range() and FICLONE
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cifs: Fix flushing, invalidation and file size with copy_file_range()fs/ | +99 | 0 replies | |
| 2/2 | cifs: Fix flushing, invalidation and file size with FICLONEfs/ | +57 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)