Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs: fixes for missing error reporting when attaching to a transaction
@ 2023-07-21  9:49 fdmanana
  2023-07-21  9:49 ` [PATCH 1/2] btrfs: check if the transaction was aborted at btrfs_wait_for_commit() fdmanana
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: fdmanana @ 2023-07-21  9:49 UTC (permalink / raw)
  To: linux-btrfs

From: Filipe Manana <fdmanana@suse.com>

These fix missing error checks and returns when attaching to a transaction
in barrier mode, and waiting for a transaction to commit and finish. These
can make things like an fsync that fallbacks to a transaction commit to
report success to user space when a transaction was aborted and the inode
changes were therefore not persisted. More details on the change logs.

Filipe Manana (2):
  btrfs: check if the transaction was aborted at btrfs_wait_for_commit()
  btrfs: check for commit error at btrfs_attach_transaction_barrier()

 fs/btrfs/transaction.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2023-07-21 23:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-21  9:49 [PATCH 0/2] btrfs: fixes for missing error reporting when attaching to a transaction fdmanana
2023-07-21  9:49 ` [PATCH 1/2] btrfs: check if the transaction was aborted at btrfs_wait_for_commit() fdmanana
2023-07-21 10:18   ` Qu Wenruo
2023-07-21  9:49 ` [PATCH 2/2] btrfs: check for commit error at btrfs_attach_transaction_barrier() fdmanana
2023-07-21 10:20   ` Qu Wenruo
2023-07-21 23:17 ` [PATCH 0/2] btrfs: fixes for missing error reporting when attaching to a transaction David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox