[GIT PULL] Btrfs fixes for 6.14-rc3

From: David Sterba
Date: Thu Feb 13 2025 - 15:03:01 EST


Hi,

please pull, a few more btrfs fixes. Thanks.

- fix stale page cache after race between readahead and direct IO write

- fix hole expansion when writing at an offset beyond EOF, the range
will not be zeroed

- use proper way to calculate offsets in folio ranges

----------------------------------------------------------------
The following changes since commit fdef89ce6fada462aef9cb90a140c93c8c209f0f:

btrfs: avoid starting new transaction when cleaning qgroup during subvolume drop (2025-01-23 22:34:17 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.14-rc2-tag

for you to fetch changes up to da2dccd7451de62b175fb8f0808d644959e964c7:

btrfs: fix hole expansion when writing at an offset beyond EOF (2025-02-11 23:09:03 +0100)

----------------------------------------------------------------
Filipe Manana (2):
btrfs: fix stale page cache after race between readahead and direct IO write
btrfs: fix hole expansion when writing at an offset beyond EOF

Matthew Wilcox (Oracle) (1):
btrfs: fix two misuses of folio_shift()

fs/btrfs/extent_io.c | 29 ++++++++++++++++++++---------
fs/btrfs/file.c | 4 +---
2 files changed, 21 insertions(+), 12 deletions(-)