All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Delayed inode error handling fixes
@ 2021-05-21 20:44 Josef Bacik
  2021-05-21 20:44 ` [PATCH 1/3] btrfs: make btrfs_release_delayed_iref handle the !iref case Josef Bacik
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Josef Bacik @ 2021-05-21 20:44 UTC (permalink / raw)
  To: linux-btrfs, kernel-team

Hello,

Here are 3 straightforward fixes, but they rely on eachother so I'm sending them
as a series.  The first changes how we do cleanup so that it can do the right
thing in the case that we don't have an iref, this is to make the code cleaner
in the error case.  The second patch is to fix the error handling in
__btrfs_update_delayed_inode so it actually does the proper cleanup if there's
an error.  And finally the last patch add's the abort() we need in order to not
leave behind improper inode items that trip up fsck during error injection
testing.  Thanks,

Josef

Josef Bacik (3):
  btrfs: make btrfs_release_delayed_iref handle the !iref case
  btrfs: fix error handling in __btrfs_update_delayed_inode
  btrfs: abort transaction if we fail to update the delayed inode

 fs/btrfs/delayed-inode.c | 32 +++++++++++++++++---------------
 1 file changed, 17 insertions(+), 15 deletions(-)

-- 
2.26.3


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

end of thread, other threads:[~2021-05-24 19:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-21 20:44 [PATCH 0/3] Delayed inode error handling fixes Josef Bacik
2021-05-21 20:44 ` [PATCH 1/3] btrfs: make btrfs_release_delayed_iref handle the !iref case Josef Bacik
2021-05-21 20:44 ` [PATCH 2/3] btrfs: fix error handling in __btrfs_update_delayed_inode Josef Bacik
2021-05-21 20:44 ` [PATCH 3/3] btrfs: abort transaction if we fail to update the delayed inode Josef Bacik
2021-05-24 19:44 ` [PATCH 0/3] Delayed inode error handling fixes 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.