All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] btrfs: fix missing error handling when replaying directory entries
@ 2021-10-01 12:52 fdmanana
  2021-10-01 12:52 ` [PATCH 1/4] btrfs: deal with errors when checking if a dir entry exists during log replay fdmanana
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: fdmanana @ 2021-10-01 12:52 UTC (permalink / raw)
  To: linux-btrfs

From: Filipe Manana <fdmanana@suse.com>

Some places during log replay are ignoring errors when looking up directory
entries in a subvolume/fs tree. This fixes all those places and makes sure
we get consistent error hanlding when looking dir items and dir index items.

Filipe Manana (4):
  btrfs: deal with errors when checking if a dir entry exists during log replay
  btrfs: deal with errors when replaying dir entry during log replay
  btrfs: deal with errors when adding inode reference during log replay
  btrfs: unify lookup return value when dir entry is missing

 fs/btrfs/ctree.h    |  2 +-
 fs/btrfs/dir-item.c | 48 +++++++++++++++++++++++++--------
 fs/btrfs/tree-log.c | 65 ++++++++++++++++++++++++++++-----------------
 3 files changed, 79 insertions(+), 36 deletions(-)

-- 
2.33.0


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

end of thread, other threads:[~2021-10-06 12:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 12:52 [PATCH 0/4] btrfs: fix missing error handling when replaying directory entries fdmanana
2021-10-01 12:52 ` [PATCH 1/4] btrfs: deal with errors when checking if a dir entry exists during log replay fdmanana
2021-10-01 13:14   ` Qu Wenruo
2021-10-01 14:04     ` Filipe Manana
2021-10-01 12:52 ` [PATCH 2/4] btrfs: deal with errors when replaying dir entry " fdmanana
2021-10-01 12:52 ` [PATCH 3/4] btrfs: deal with errors when adding inode reference " fdmanana
2021-10-01 12:52 ` [PATCH 4/4] btrfs: unify lookup return value when dir entry is missing fdmanana
2021-10-06 12:39 ` [PATCH 0/4] btrfs: fix missing error handling when replaying directory entries 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.