Skip to contentSkip to conversation

Btrfs fixes for 5.19-rc7

GIT PULL Merged David Sterba 2 participants 2 messages Jul 11, 2022 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

a few more fixes that seem to me to be important enough to get merged before release, described below. Please pull, thanks.

- in zoned mode, fix leak of a structure when reading zone info, this happens on normal path so this can be significant

- in zoned mode, revert an optimization added in 5.19-rc1 to finish a zone when the capacity is full, but this is not reliable in all cases

- try to avoid short reads for compressed data or inline files when it's a NOWAIT read, applications should handle that but there are two, qemu and mariadb, that are affected

----------------------------------------------------------------
The following changes since commit 037e127452b973f45b34c1e88a1af183e652e657:

Documentation: update btrfs list of features and link to readthedocs.io (2022-06-21 14:47:19 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.19-rc6-tag

for you to fetch changes up to b3a3b0255797e1d395253366ba24a4cc6c8bdf9c:

btrfs: zoned: drop optimization of zone finish (2022-07-08 19:18:00 +0200)

----------------------------------------------------------------
Christoph Hellwig (1):
btrfs: zoned: fix a leaked bioc in read_zone_info

Filipe Manana (1):
btrfs: return -EAGAIN for NOWAIT dio reads/writes on compressed and inline extents

Naohiro Aota (1):
btrfs: zoned: drop optimization of zone finish

 fs/btrfs/inode.c | 14 +++++++++++++-
 fs/btrfs/zoned.c | 34 ++++++++++++++--------------------
 2 files changed, 27 insertions(+), 21 deletions(-)