Skip to content

Refactor prealloc_file_extent_cluster

Nikolay Borisov linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: Remove hole check in prealloc_file_extent_clusterfs/btrfs/relocation.c+0 -32 replies
2/3btrfs: Perform data management operations outside of inode lockfs/btrfs/relocation.c+5 -71 reply
3/3btrfs: Use for loop in prealloc_file_extent_clusterfs/btrfs/relocation.c+2 -32 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJohannes Thumshirn
1/3R-b
2/3R-b
3/3R-b

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

Read the v1 thread

Cover letter [PATCH 0/3] Refactor prealloc_file_extent_cluster

Those 3 minor patches refactor prealloc_file_extent_cluster by:

1. Removing useless check
2. Re-order code around to make heavyweight operations outside of inode lock, (not that it matters for performance) and also get rid of the out label
3. Switch a while to a for loop to make the loop intentino more explicit.

Nikolay Borisov (3):
btrfs: Remove hole check in prealloc_file_extent_cluster
btrfs: Perform data management operations outside of inode lock
btrfs: Use for loop in prealloc_file_extent_cluster

 fs/btrfs/relocation.c | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

--
2.17.1