Re: [PATCH v2 5/5] erofs: use meta buffers for zmap operations

From: Chao Yu
Date: Tue Jan 04 2022 - 07:44:22 EST


On 2022/1/4 17:02, Gao Xiang wrote:
Thanks for the question. Previously, erofs_get_meta_page was called
independently without reusing zmap mpage, so the page refcount had no
relationship with zmap mpage.

However, now we reuse zmap metabuf instead(fe->map.buf), so an extra
page refcount is needed since zmap metabuf will be released at the end
of readpage or readahead...

Thanks for the explanation.

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,