Re: [PATCH v2] fs: btrfs: fix zstd decompression of compressed inline extents

Tom Rini <[email protected]>
Newsgroups org.kernel.vger.linux-btrfs,org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
On Sat, 01 Aug 2026 00:55:20 +0000, Cole Munz wrote:

> The kernel compresses an inline extent as a whole block:
> run_delalloc_inline() calls btrfs_compress_bio(inode, 0, blocksize, ...),
> so the data is zero-filled past EOF and the resulting zstd frame declares
> a content size of one block. The extent item records the unaligned file
> size though - __cow_file_range_inline() passes i_size down to
> insert_inline_extent(), which stores it as ram_bytes.
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] fs: btrfs: fix zstd decompression of compressed inline extents
      commit: 6f0719e4c420d9e3b1cbe92b2934e03f2f57e6fc
-- 
Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.