All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] bcachefs: refactoring of btree_path status
@ 2024-03-20  6:29 Hongbo Li
  2024-03-20  6:29 ` [PATCH RFC 1/2] bcachefs: use btree_path_state to represent " Hongbo Li
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Hongbo Li @ 2024-03-20  6:29 UTC (permalink / raw)
  To: kent.overstreet, bfoster; +Cc: linux-bcachefs, lihongbo22

To enhance the code readability about btree_path structure, we did 
some refactoring on the relevant code based on my understanding.

Hongbo Li (2):
  bcachefs: use btree_path_state to represent btree_path status
  bcachefs: optimize btree_path status representation

 fs/bcachefs/btree_iter.c         | 22 +++++++++++-----------
 fs/bcachefs/btree_iter.h         | 13 +++++++++----
 fs/bcachefs/btree_key_cache.c    | 12 ++++++------
 fs/bcachefs/btree_locking.c      | 14 +++++++-------
 fs/bcachefs/btree_locking.h      |  8 ++++----
 fs/bcachefs/btree_trans_commit.c |  2 +-
 fs/bcachefs/btree_types.h        | 10 +++++-----
 7 files changed, 43 insertions(+), 38 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-03-21  2:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-20  6:29 [PATCH RFC 0/2] bcachefs: refactoring of btree_path status Hongbo Li
2024-03-20  6:29 ` [PATCH RFC 1/2] bcachefs: use btree_path_state to represent " Hongbo Li
2024-03-20 17:39   ` Brian Foster
2024-03-20 19:57     ` Kent Overstreet
2024-03-20 20:10   ` Kent Overstreet
2024-03-20  6:29 ` [PATCH RFC 2/2] bcachefs: optimize btree_path status representation Hongbo Li
2024-03-20 17:41   ` Brian Foster
2024-03-20 20:50     ` Kent Overstreet
2024-03-21  1:53     ` Hongbo Li
2024-03-20 20:06   ` Kent Overstreet
2024-03-21  1:44     ` Hongbo Li
2024-03-20 19:43 ` [PATCH RFC 0/2] bcachefs: refactoring of btree_path status Kent Overstreet
2024-03-20 19:55   ` Kent Overstreet
2024-03-21  2:00     ` Hongbo Li

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.