linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8 V2] Add delayed-refs support to btrfs-progs
@ 2018-08-16 13:10 Nikolay Borisov
  2018-08-16 13:10 ` [PATCH 1/8] btrfs-progs: Add __free_extent2 function Nikolay Borisov
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Nikolay Borisov @ 2018-08-16 13:10 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Nikolay Borisov

Hello, 

Here is the second version of the delayed refs for progs support. The first 
version can be found here [1]. I've taken into account all the feedback from 
Misono and have verified the code is working and rebased it atop btrfs-progs
4.17.1.

Changes since v1: 
 * Removed num_entries variable from delayed ref root
 
 * Added a patch to refactor btrfs_write_dirty_block_groups and subsequently 
 changed when this function is called to fix an issue reported by Misono. I
 verified that 'make test-fsck TEST_ENABLE_OVERRIDE=true TEST_ARGS_CHECK=--mode=lowmem'
 produces no errors

 * Added 2 patches which remove the newly added adapter functions at the 
 beggining of the series, following the wiring up of the delayed refs 
 infrastructured. The first one (dealing with __free_extent2) is trivial, while
 the second one (for alloc_reserved_tree_block2) is a bit more involved, since
 I've opted to merge the two functions. 

 * Rebased atop latest btrfs-progs release - 4.17.1

 * Dropped patches which have been merged in the mean time


[1] https://www.spinics.net/lists/linux-btrfs/msg79173.html

Nikolay Borisov (8):
  btrfs-progs: Add __free_extent2 function
  btrfs-progs: Add alloc_reserved_tree_block2 function
  btrfs-progs: Add delayed refs infrastructure
  btrfs-progs: Make btrfs_write_dirty_block_groups take only trans
    argument
  btrfs-progs: Wire up delayed refs
  btrfs-progs: Remove old delayed refs infrastructure
  btrfs-progs: Remove __free_extent2
  btrfs-progs: Merge alloc_reserved_tree_block(2|)

 Makefile      |   3 +-
 check/main.c  |   3 +-
 ctree.h       |   8 +-
 delayed-ref.c | 607 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 delayed-ref.h | 208 ++++++++++++++++++++
 disk-io.c     |   2 -
 extent-tree.c | 575 +++++++++++++++++++++++++++++++-----------------------
 kerncompat.h  |   8 +
 transaction.c |  29 ++-
 transaction.h |   4 +
 10 files changed, 1199 insertions(+), 248 deletions(-)
 create mode 100644 delayed-ref.c
 create mode 100644 delayed-ref.h

-- 
2.7.4

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

end of thread, other threads:[~2018-09-14 20:43 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-16 13:10 [PATCH 0/8 V2] Add delayed-refs support to btrfs-progs Nikolay Borisov
2018-08-16 13:10 ` [PATCH 1/8] btrfs-progs: Add __free_extent2 function Nikolay Borisov
2018-08-16 13:10 ` [PATCH 2/8] btrfs-progs: Add alloc_reserved_tree_block2 function Nikolay Borisov
2018-08-16 13:10 ` [PATCH 3/8] btrfs-progs: Add delayed refs infrastructure Nikolay Borisov
2018-08-16 13:10 ` [PATCH 4/8] btrfs-progs: Make btrfs_write_dirty_block_groups take only trans argument Nikolay Borisov
2018-08-16 13:10 ` [PATCH 5/8] btrfs-progs: Wire up delayed refs Nikolay Borisov
2018-09-05  2:10   ` Qu Wenruo
2018-09-05  5:42     ` Nikolay Borisov
2018-09-05  5:53       ` Qu Wenruo
2018-09-05  7:41         ` Nikolay Borisov
2018-09-05  7:46           ` Qu Wenruo
2018-09-05  7:50             ` Nikolay Borisov
2018-08-16 13:10 ` [PATCH 6/8] btrfs-progs: Remove old delayed refs infrastructure Nikolay Borisov
2018-08-16 13:10 ` [PATCH 7/8] btrfs-progs: Remove __free_extent2 Nikolay Borisov
2018-08-16 13:10 ` [PATCH 8/8] btrfs-progs: Merge alloc_reserved_tree_block(2|) Nikolay Borisov
2018-09-14 15:28 ` [PATCH 0/8 V2] Add delayed-refs support to btrfs-progs David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).