On 2021/2/14 23:35, Gao Xiang via Linux-erofs wrote:
> From: Gao Xiang
>
> In case that new buffer allocation optimization logic is
> potentially broken.
>
> Signed-off-by: Gao Xiang
> ---
It looks good
Reviewed-by: Li Guifu
Thanks,
From: Gao Xiang
In case that new buffer allocation optimization logic is
potentially broken.
Signed-off-by: Gao Xiang
---
changes since v1:
- add a more check "used_before != cur->buffers.off % EROFS_BLKSIZ"
lib/cache.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git