Skip to content

btrfs: inode: btrfs_invalidatepage() related refactor and fix for subpage

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs: inode: use min() to replace open-code in btrfs_invalidatepage()fs/btrfs/inode.c+2 -40 replies
2/4btrfs: inode: remove variable shadowing in btrfs_invalidatepage()fs/btrfs/inode.c+3 -67 replies
3/4btrfs: inode: move the timing of TestClearPagePrivate() in btrfs_invalidatepage()fs/btrfs/inode.c+6 -10 replies
4/4btrfs: inode: make btrfs_invalidatepage() to be subpage compatiblefs/btrfs/inode.c+16 -74 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] btrfs: inode: btrfs_invalidatepage() related refactor and fix for subpage

This small patchset contains 3 refactors which are subpage independent.

And the last patch is RFC where I'm not certain about the existing code, but it solves the problem for subpage during test.

Thus I'm here asking for help on the btrfs_invalidatepage() behavior.

Qu Wenruo (4):
btrfs: inode: use min() to replace open-code in btrfs_invalidatepage()
btrfs: inode: remove variable shadowing in btrfs_invalidatepage()
btrfs: inode: move the timing of TestClearPagePrivate() in
btrfs_invalidatepage()
btrfs: inode: make btrfs_invalidatepage() to be subpage compatible

 fs/btrfs/inode.c | 45 +++++++++++++++++++++++++++------------------
 1 file changed, 27 insertions(+), 18 deletions(-)
Signature · 1 line
2.29.2