From: Chao Yu <chao@kernel.org>
To: Gao Xiang <hsiangkao@linux.alibaba.com>, linux-erofs@lists.ozlabs.org
Cc: chao@kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] erofs: improve LZ4 error strings
Date: Thu, 22 Jan 2026 12:21:28 +0800 [thread overview]
Message-ID: <f3e2e867-7572-4b27-ab9b-401aad13da05@kernel.org> (raw)
In-Reply-To: <20251219064336.684930-1-hsiangkao@linux.alibaba.com>
On 12/19/2025 2:43 PM, Gao Xiang wrote:
> Just like what was done for other algorithms, let's propagate detailed
> error reasons for LZ4 instead of just -EFSCORRUPTED to users:
>
> "corrupted compressed data":
> the compressed data is malformed or
> destination buffer is not large enough
>
> "unexpected end of stream":
> the compressed stream ends normally, but without producing enough
> decompressed data.
>
> "compressed data start not found":
> can be returned by z_erofs_fixup_insize().
>
> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Thanks,
prev parent reply other threads:[~2026-01-22 4:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-19 6:43 Gao Xiang
2026-01-22 4:21 ` Chao Yu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f3e2e867-7572-4b27-ab9b-401aad13da05@kernel.org \
--to=chao@kernel.org \
--cc=hsiangkao@linux.alibaba.com \
--cc=linux-erofs@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®