[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <14ed6455-9678-fa32-aaf1-cc34f492d4ce@kernel.org>
Date: Mon, 5 Sep 2022 23:13:36 +0800
From: Chao Yu <chao@...nel.org>
To: Yue Hu <zbestahu@...il.com>, xiang@...nel.org
Cc: linux-erofs@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
huyue2@...lpad.com, zhangwen@...lpad.com
Subject: Re: [PATCH] erofs: avoid the potentially wrong m_plen for big
pcluster
On 2022/8/12 14:01, Yue Hu wrote:
> Actually, 'compressedlcs' stores compressed block count rather than
> lcluster count. Therefore, the number of bits for shifting the count
> should be 'LOG_BLOCK_SIZE' rather than 'lclusterbits' although current
> lcluster size is 4K. The value of 'm_plen' will be wrong once we enable
> the non 4K-sized lcluster.
>
> Signed-off-by: Yue Hu <huyue2@...lpad.com>
Reviewed-by: Chao Yu <chao@...nel.org>
Thanks,
Powered by blists - more mailing lists