All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Misc cleanups
@ 2020-02-27 20:00 David Sterba
  2020-02-27 20:00 ` [PATCH 1/4] btrfs: inline checksum name and driver definitions David Sterba
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: David Sterba @ 2020-02-27 20:00 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

A few more cleanups that needed more testing.

David Sterba (4):
  btrfs: inline checksum name and driver definitions
  btrfs: simplify tree block checksumming loop
  btrfs: return void from csum_tree_block
  btrfs: balance: factor out convert profile validation

 fs/btrfs/ctree.c   |  7 ++++---
 fs/btrfs/disk-io.c | 45 +++++++++++----------------------------------
 fs/btrfs/volumes.c | 45 +++++++++++++++++++++------------------------
 3 files changed, 36 insertions(+), 61 deletions(-)

-- 
2.25.0


^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCH 0/4] Misc cleanups
@ 2018-06-27 13:38 Nikolay Borisov
  0 siblings, 0 replies; 15+ messages in thread
From: Nikolay Borisov @ 2018-06-27 13:38 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Nikolay Borisov

Here are a couples of cleanups of things I observed while looking at the 
extent_buffer management code. 

Patch 1 rewrites a do {} while into a simple for() construct. This survived 
xfstest + selftests 

Patch 2 substitutes and outdated comment for a lockdep_assert_held call

Patch 3 rename the idiotic EXTENT_BUFFER_DUMMY to something more meaningful

Patch 4 removes some cargo-cult copied code when performing qgroup leaf scan 

Nikolay Borisov (4):
  btrfs: Refactor loop in btrfs_release_extent_buffer_page
  btrfs: Document locking require via lockdep_assert_held
  btrfs: Rename EXTENT_BUFFER_DUMMY to EXTENT_BUFFER_PRIVATE
  btrfs: Remove unnecessary locking code in qgroup_rescan_leaf

 fs/btrfs/disk-io.c   |  2 +-
 fs/btrfs/extent_io.c | 26 +++++++++++---------------
 fs/btrfs/extent_io.h |  2 +-
 fs/btrfs/qgroup.c    |  7 +------
 4 files changed, 14 insertions(+), 23 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCH 0/4] Misc cleanups
@ 2018-04-11  8:21 Nikolay Borisov
  0 siblings, 0 replies; 15+ messages in thread
From: Nikolay Borisov @ 2018-04-11  8:21 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Nikolay Borisov

Here's a collection of various cleanups I've done while working on other things. 
All of these should be pretty low-risk, have soaked for a while on my test 
branch and survived multiple xfstest runs. 

They strive to mostly untangle the code and make it more readable. 

Nikolay Borisov (4):
  btrfs: Use while loop instead of labels in __endio_write_update_ordered
  btrfs: Fix lock release order
  btrfs: Consolidate error checking for btrfs_alloc_chunk
  btrfs: Rewrite retry logic in do_chunk_alloc

 fs/btrfs/extent-tree.c | 79 +++++++++++++++++++++++---------------------------
 fs/btrfs/inode.c       | 52 ++++++++++++++++-----------------
 2 files changed, 61 insertions(+), 70 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2020-02-28  8:43 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-27 20:00 [PATCH 0/4] Misc cleanups David Sterba
2020-02-27 20:00 ` [PATCH 1/4] btrfs: inline checksum name and driver definitions David Sterba
2020-02-27 22:31   ` Johannes Thumshirn
2020-02-28  8:38   ` Qu Wenruo
2020-02-27 20:00 ` [PATCH 2/4] btrfs: simplify tree block checksumming loop David Sterba
2020-02-27 22:52   ` Johannes Thumshirn
2020-02-28  8:41   ` Qu Wenruo
2020-02-27 20:00 ` [PATCH 3/4] btrfs: return void from csum_tree_block David Sterba
2020-02-27 22:32   ` Johannes Thumshirn
2020-02-28  8:41   ` Qu Wenruo
2020-02-27 20:00 ` [PATCH 4/4] btrfs: balance: factor out convert profile validation David Sterba
2020-02-27 22:33   ` Johannes Thumshirn
2020-02-28  8:43   ` Qu Wenruo
  -- strict thread matches above, loose matches on Subject: below --
2018-06-27 13:38 [PATCH 0/4] Misc cleanups Nikolay Borisov
2018-04-11  8:21 Nikolay Borisov

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.