Skip to content

More misc fixes

Nikolay Borisov linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7btrfs: Remove inode argument from async_cow_submitfs/btrfs/inode.c+3 -32 replies
2/7btrfs: Remove isize local variable in compress_file_rangefs/btrfs/inode.c+1 -23 replies
3/7btrfs: Use ihold instead of igrab in cow_file_range_asyncfs/btrfs/inode.c+2 -11 reply
4/7btrfs: Remove WARN_ON in btrfs_alloc_delalloc_workfs/btrfs/inode.c+0 -12 replies
5/7btrfs: Document logic in async_cow_submitfs/btrfs/inode.c+6 -00 replies
6/7btrfs: Replace open-coded maths with DIV_ROUND_UPfs/btrfs/extent_io.c fs/btrfs/inode.c+6 -93 replies
7/7btrfs: Refactor shrink_delallocfs/btrfs/extent-tree.c+22 -112 replies

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by.

PatchDavid SterbaAnand JainJohannes Thumshirn
1/7R-b R-b
2/7R-b R-b R-b
3/7R-b
4/7R-b R-b
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/7] More misc fixes

Here is an assortment of fixes, mainly around the async (compressed) cow path. Just removes some redundant arguments/local variables, makes shrink_delalloc a bit more readable by simplifying variable usage and giving more appropriate names. Also documents the ->inode null check in async_cow_submit and cleans up open-coded usage of DIV_ROUND_UP. No functional changes to any of the patches.

Nikolay Borisov (7):
btrfs: Remove inode argument from async_cow_submit
btrfs: Remove isize local variable in compress_file_range
btrfs: Use ihold instead of igrab in cow_file_range_async
btrfs: Remove WARN_ON in btrfs_alloc_delalloc_work
btrfs: Document logic in async_cow_submit
btrfs: Replace open-coded maths with DIV_ROUND_UP
btrfs: Refactor shrink_delalloc

 fs/btrfs/extent-tree.c | 33 ++++++++++++++++++++++-----------
 fs/btrfs/extent_io.c   |  7 +++----
 fs/btrfs/inode.c       | 27 +++++++++++++++------------
 3 files changed, 40 insertions(+), 27 deletions(-)
Signature · 1 line
2.17.1