cifs: Fixes for copy_file_range() and FALLOC_FL_INSERT/ZERO_RANGE
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | cifs: Fix FALLOC_FL_ZERO_RANGE by setting i_size if EOF movedfs/ | +8 | 1 reply | |
| 2/3 | cifs: Fix FALLOC_FL_INSERT_RANGE by setting i_size after EOF movedfs/ | +3 | 1 reply | |
| 3/3 | cifs: Fix flushing, invalidation and file size with copy_file_range()fs/ | +77 | 5 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Paulo Alcantara (SUSE) |
|---|---|
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] cifs: Fixes for copy_file_range() and FALLOC_FL_INSERT/ZERO_RANGE
Hi Steve,
Here are three patches for cifs:
(1) Fix FALLOC_FL_ZERO_RANGE support to change i_size if the file is extended.
(2) Fix FALLOC_FL_INSERT_RANGE support to change i_size after it moves the EOF on the server.
(3) 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.
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 (3):
cifs: Fix FALLOC_FL_ZERO_RANGE by setting i_size if EOF moved
cifs: Fix FALLOC_FL_INSERT_RANGE by setting i_size after EOF moved
cifs: Fix flushing, invalidation and file size with copy_file_range()
fs/smb/client/cifsfs.c | 80 +++++++++++++++++++++++++++++++++++++++-- fs/smb/client/smb2ops.c | 13 +++++-- 2 files changed, 88 insertions(+), 5 deletions(-)