* [GIT PULL] Btrfs fixes for 6.1-rc4, part 2
@ 2022-11-03 15:41 David Sterba
2022-11-03 18:31 ` pr-tracker-bot
0 siblings, 1 reply; 2+ messages in thread
From: David Sterba @ 2022-11-03 15:41 UTC (permalink / raw)
To: torvalds; +Cc: David Sterba, linux-btrfs, linux-kernel
Hi,
a batch of error handling fixes for resource leaks, fixes for nowait
mode in combination with direct and buffered IO. Please pull, thanks.
- direct IO + dsync + nowait could miss a sync of the file after write,
add handling for this combination
- buffered IO + nowait should not fail with ENOSPC, only blocking IO
could determine that
- error handling fixes
- fix inode reserve space leak due to nowait buffered write
- check the correct variable after allocation (direct IO submit)
- fix inode list leak during backref walking
- fix ulist freeing in self tests
----------------------------------------------------------------
The following changes since commit 76a66ba101329316a5d7f4275070be22eb85fdf2:
btrfs: don't use btrfs_chunk::sub_stripes from disk (2022-10-25 10:17:33 +0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-6.1-rc3-tag
for you to fetch changes up to eb81b682b131642405a05c627ab08cf0967b3dd8:
btrfs: fix inode reserve space leak due to nowait buffered write (2022-11-02 17:44:45 +0100)
----------------------------------------------------------------
Christophe JAILLET (1):
btrfs: fix a memory allocation failure test in btrfs_submit_direct
Filipe Manana (7):
btrfs: fix lost file sync on direct IO write with nowait and dsync iocb
btrfs: fix inode list leak during backref walking at resolve_indirect_refs()
btrfs: fix inode list leak during backref walking at find_parent_nodes()
btrfs: fix ulist leaks in error paths of qgroup self tests
btrfs: remove pointless and double ulist frees in error paths of qgroup tests
btrfs: fix nowait buffered write returning -ENOSPC
btrfs: fix inode reserve space leak due to nowait buffered write
fs/btrfs/backref.c | 54 +++++++++++++++++++++++++++----------------
fs/btrfs/ctree.h | 5 +++-
fs/btrfs/file.c | 29 +++++++++++++++++------
fs/btrfs/inode.c | 16 +++++++++----
fs/btrfs/tests/qgroup-tests.c | 36 +++++++++++++++--------------
5 files changed, 91 insertions(+), 49 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL] Btrfs fixes for 6.1-rc4, part 2
2022-11-03 15:41 [GIT PULL] Btrfs fixes for 6.1-rc4, part 2 David Sterba
@ 2022-11-03 18:31 ` pr-tracker-bot
0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2022-11-03 18:31 UTC (permalink / raw)
To: David Sterba; +Cc: torvalds, David Sterba, linux-btrfs, linux-kernel
The pull request you sent on Thu, 3 Nov 2022 16:41:00 +0100:
> git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-6.1-rc3-tag
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/f2f32f8af2b0ca9d619e5183eae3eed431793baf
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-03 18:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-03 15:41 [GIT PULL] Btrfs fixes for 6.1-rc4, part 2 David Sterba
2022-11-03 18:31 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox