smb/client: fix fallocate range operation issues
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 2 replies | Superseded |
Changes in v4 from the cover letter
- Add Reviewed-by: Namjae Jeon <[email protected]> to all patches.
- The contents of patches 1, 2, and 5-7 are unchanged.
- Patch 3: update commit message to document the server deallocatio granularity limitation.
- Patch 4: relax the 4 KiB restriction to retain support for smaller insert ranges and update commit message.
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | smb/client: validate new EOF for insert rangefs/ | +10 | 0 replies | |
| 2/7 | smb/client: validate new EOF for zero rangefs/ | +8 | 0 replies | |
| 3/7 | smb/client: mark file sparse before emulating insert rangefs/ | +5 | 0 replies | |
| 4/7 | smb/client: fix data corruption in emulated insert rangefs/ | +106 | 0 replies | |
| 5/7 | smb/client: fix integer truncation in collapse rangefs/ | +2 | 0 replies | |
| 6/7 | smb/client: fix stale page cache in insert/collapse rangefs/ | +18 | 0 replies | |
| 7/7 | smb/client: invalidate fscache for fallocate range operationsfs/ | +7 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | ChenXiaoSong | Namjae Jeon |
|---|---|---|
| 1/7 | R-b | R-b |
| 2/7 | R-b | R-b |
| 3/7 | R-b | R-b |
| 4/7 | R-b | R-b |
| 5/7 | R-b | R-b |
| 6/7 | R-b | R-b |
| 7/7 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/7] smb/client: fix fallocate range operation issues
From: Huiwen He <[email protected]>
This series fixes several issues in SMB3 fallocate range operations, including insert range, collapse range, zero range, and punch hole.
Changes in v4:
- Add Reviewed-by: Namjae Jeon <[email protected]> to all patches.
- The contents of patches 1, 2, and 5-7 are unchanged.
- Patch 3: update commit message to document the server deallocatio granularity limitation.
- Patch 4: relax the 4 KiB restriction to retain support for smaller insert ranges and update commit message.
Link to v3:
https://lore.kernel.org/linux-cifs/[email protected]
Thanks,
Huiwen
Huiwen He (7):
smb/client: validate new EOF for insert range smb/client: validate new EOF for zero range smb/client: mark file sparse before emulating insert range smb/client: fix data corruption in emulated insert range smb/client: fix integer truncation in collapse range smb/client: fix stale page cache in insert/collapse range smb/client: invalidate fscache for fallocate range operations
fs/smb/client/smb2ops.c | 188 ++++++++++++++++++++++++++++++++-------- 1 file changed, 154 insertions(+), 34 deletions(-)
Signature · 1 line
2.43.0