Skip to content

btrfs: fix a bug and cleanups in btrfs_page_mkwrite()

[email protected] linux-btrfs 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 4 repliesIn review
  2. v13 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5btrfs: fix wrong start offset for delalloc space release during mmap writefs/btrfs/file.c+1 -10 replies
2/5btrfs: pass true to btrfs_delalloc_release_space() at btrfs_page_mkwrite()fs/btrfs/file.c+1 -10 replies
3/5btrfs: simplify early error checking in btrfs_page_mkwrite()fs/btrfs/file.c+7 -81 reply
4/5btrfs: don't return VM_FAULT_SIGBUS on failure to set delalloc for mmap writefs/btrfs/file.c+1 -11 reply
5/5btrfs: use a single variable to track return value at btrfs_page_mkwrite()fs/btrfs/file.c+16 -211 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchQu WenruoDavid Sterba
SeriesR-b
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] btrfs: fix a bug and cleanups in btrfs_page_mkwrite()

From: Filipe Manana <[email protected]>

A bug fix for mmap writes and a couple cleanups. Details in the change logs.

V2: Added two more patches (4/5 and 5/5).

Filipe Manana (5):
btrfs: fix wrong start offset for delalloc space release during mmap write
btrfs: pass true to btrfs_delalloc_release_space() at btrfs_page_mkwrite()
btrfs: simplify early error checking in btrfs_page_mkwrite()
btrfs: don't return VM_FAULT_SIGBUS on failure to set delalloc for mmap write
btrfs: use a single variable to track return value at btrfs_page_mkwrite()

 fs/btrfs/file.c | 46 ++++++++++++++++++++--------------------------
 1 file changed, 20 insertions(+), 26 deletions(-)
Signature · 1 line
2.47.2