[PREVIEW] [PATCH 3/4] staging: erofs: seperate erofs_get_meta_page

Gao Xiang gaoxiang25 at huawei.com
Fri Aug 10 16:06:25 AEST 2018


Hi Chao,

On 2018/8/10 14:02, Chao Yu wrote:
> IMO, the purpose of introducing 'nofail' function is to make caller simplifying
> its error handling, since callee can handle any error insidely, if callee still
> can fail due to other reason like -EIO, we still need another handling in caller.
> 
> So here, if we encounter -EIO, how about retrying several time in
> erofs_get_meta_page_nofail like f2fs did now?
> 

So it can be, let me introducing another io retry count in Kconfig to handle that,
will see in the next patch :)

Thanks,
Gao Xiang

> Thanks,


More information about the Linux-erofs mailing list