btrfs: fix mmap writes for NOCOW files/extents
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 0 repliesNew
- v23 patches 0 repliesSuperseded
- v13 patches 5 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs: fix -ENOSPC mmap write failure on NOCOW files/extentsfs/ | +51 | 0 replies | |
| 2/3 | btrfs: use variable for io_tree when clearing range in btrfs_page_mkwrite()fs/ | +1 | 0 replies | |
| 3/3 | btrfs: use btrfs_inode local variable at btrfs_page_mkwrite()fs/ | +30 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Qu Wenruo |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/3] btrfs: fix mmap writes for NOCOW files/extents
From: Filipe Manana <[email protected]>
A bug fix and a couple cleanups. Details in the individual change logs.
V2: Fix a bug in patch 1/3 where if write_bytes < reserved_space we would
exit without unlocking the cow lock, so set only_release_metadata to true before bailing out in that case.
Added Qu's review tags.
V3: Add missing release of metadata reserved space in case we fall
back to NOCOW mode and we are in a folio that contains i_size somewhere in its middle
Filipe Manana (3):
btrfs: fix -ENOSPC mmap write failure on NOCOW files/extents
btrfs: use variable for io_tree when clearing range in btrfs_page_mkwrite()
btrfs: use btrfs_inode local variable at btrfs_page_mkwrite()
fs/btrfs/file.c | 93 +++++++++++++++++++++++++++++++++++-------------- 1 file changed, 66 insertions(+), 27 deletions(-)
Signature · 1 line
2.47.2