All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/17] Freespace tree big fs_info cleanup
@ 2018-05-10 12:44 Nikolay Borisov
  2018-05-10 12:44 ` [PATCH 01/17] btrfs: Make btrfs_init_dummy_trans initialize trans' fs_info field Nikolay Borisov
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: Nikolay Borisov @ 2018-05-10 12:44 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Nikolay Borisov

Here is a series which cleans _all_ freespace tree functions from a redundant
fs_info argument since they already take either a transaction or a 
block_group_cache structure. Both of those structures contain a reference to 
fs info and can be used instead of an additional parameter. This is needed 
since I will be pulling some of the freespace tree code into btrfs-progs in 
implementing check/rebuild functionality for the freespace tree. So better have
this sooner rather than later. 

This series should bring no functional changes but just in case it passed the 
btrfs' selftests as well as a full xfstest run. 

Nikolay Borisov (17):
  btrfs: Make btrfs_init_dummy_trans initialize trans' fs_info field
  btrfs: Remove fs_info argument from add_block_group_free_space
  btrfs: Remove fs_info argument from __add_block_group_free_space
  btrfs: Remove fs_info argument from __add_to_free_space_tree
  btrfs: Remove fs_info parameter from add_new_free_space_info
  btrfs: Remove fs_info argument from add_new_free_space
  btrfs: Remove fs_info parameter from remove_block_group_free_space
  btrfs: Remove fs_info argument from convert_free_space_to_bitmaps
  btrfs: Remove fs_info parameter from convert_free_space_to_extents
  btrfs: Remove fs_info argument from update_free_space_extent_count
  btrfs: Remove fs_info argument from modify_free_space_bitmap
  btrfs: Remove fs_info argument from add_free_space_extent
  btrfs: Remove fs_info argument from remove_free_space_extent
  btrfs: Remove fs_info argument from __remove_from_free_space_tree
  btrfs: Remove fs_info argument from remove_from_free_space_tree
  btrfs: Remove fs_info argument from add_to_free_space_tree
  btrfs: Remove fs_info argument from populate_free_space_tree

 fs/btrfs/ctree.h                       |   2 +-
 fs/btrfs/extent-tree.c                 |  25 ++++---
 fs/btrfs/free-space-tree.c             | 115 ++++++++++++++-------------------
 fs/btrfs/free-space-tree.h             |   8 ---
 fs/btrfs/tests/btrfs-tests.c           |   4 +-
 fs/btrfs/tests/btrfs-tests.h           |   3 +-
 fs/btrfs/tests/free-space-tree-tests.c |  55 ++++++++--------
 fs/btrfs/tests/qgroup-tests.c          |  12 ++--
 8 files changed, 99 insertions(+), 125 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2018-05-11 12:15 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-10 12:44 [PATCH 00/17] Freespace tree big fs_info cleanup Nikolay Borisov
2018-05-10 12:44 ` [PATCH 01/17] btrfs: Make btrfs_init_dummy_trans initialize trans' fs_info field Nikolay Borisov
2018-05-10 12:44 ` [PATCH 02/17] btrfs: Remove fs_info argument from add_block_group_free_space Nikolay Borisov
2018-05-10 12:44 ` [PATCH 03/17] btrfs: Remove fs_info argument from __add_block_group_free_space Nikolay Borisov
2018-05-10 12:44 ` [PATCH 04/17] btrfs: Remove fs_info argument from __add_to_free_space_tree Nikolay Borisov
2018-05-10 12:44 ` [PATCH 05/17] btrfs: Remove fs_info parameter from add_new_free_space_info Nikolay Borisov
2018-05-10 12:44 ` [PATCH 06/17] btrfs: Remove fs_info argument from add_new_free_space Nikolay Borisov
2018-05-10 12:44 ` [PATCH 07/17] btrfs: Remove fs_info parameter from remove_block_group_free_space Nikolay Borisov
2018-05-10 12:44 ` [PATCH 08/17] btrfs: Remove fs_info argument from convert_free_space_to_bitmaps Nikolay Borisov
2018-05-10 12:44 ` [PATCH 09/17] btrfs: Remove fs_info parameter from convert_free_space_to_extents Nikolay Borisov
2018-05-10 12:44 ` [PATCH 10/17] btrfs: Remove fs_info argument from update_free_space_extent_count Nikolay Borisov
2018-05-10 12:44 ` [PATCH 11/17] btrfs: Remove fs_info argument from modify_free_space_bitmap Nikolay Borisov
2018-05-10 12:44 ` [PATCH 12/17] btrfs: Remove fs_info argument from add_free_space_extent Nikolay Borisov
2018-05-10 12:44 ` [PATCH 13/17] btrfs: Remove fs_info argument from remove_free_space_extent Nikolay Borisov
2018-05-10 12:44 ` [PATCH 14/17] btrfs: Remove fs_info argument from __remove_from_free_space_tree Nikolay Borisov
2018-05-10 12:44 ` [PATCH 15/17] btrfs: Remove fs_info argument from remove_from_free_space_tree Nikolay Borisov
2018-05-10 12:44 ` [PATCH 16/17] btrfs: Remove fs_info argument from add_to_free_space_tree Nikolay Borisov
2018-05-10 12:44 ` [PATCH 17/17] btrfs: Remove fs_info argument from populate_free_space_tree Nikolay Borisov
2018-05-11 12:12 ` [PATCH 00/17] Freespace tree big fs_info cleanup David Sterba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.