Re: [PATCH v2] fs: btrfs: fix zstd decompression of compressed inline extents
Tom Rini <[email protected]>
| Newsgroups | gmane.comp.boot-loaders.u-boot |
|---|---|
| Message-ID | <178749706570.206448.5287903104249745566.b4-ty__27114.5344174997$1787497089$gmane$org@konsulko.com> |
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