Thread (5 messages) 5 messages, 2 authors, 2021-05-24

Re: [PATCH 0/3] Delayed inode error handling fixes

From: David Sterba <hidden>
Date: 2021-05-24 19:46:41

On Fri, May 21, 2021 at 04:44:06PM -0400, Josef Bacik wrote:
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
Added to misc-next, thanks. I've copied the changelog from patch 3 as
comment before the transaction abort.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help