Home
last modified time | relevance | path

Searched hist:"05 b63d2b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/erofs/
H A Dzdata.c05b63d2b Fri May 26 15:14:54 CDT 2023 Gao Xiang <hsiangkao@linux.alibaba.com> erofs: allocate extra bvec pages directly instead of retrying

If non-bootstrap bvecs cannot be kept in place (very rarely), an extra
short-lived page is allocated.

Let's just allocate it immediately rather than do unnecessary -EAGAIN
return first and retry as a cleanup. Also it's unnecessary to use
__GFP_NOFAIL here since we could gracefully fail out this case instead.

Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Yue Hu <huyue2@coolpad.com>
Link: https://lore.kernel.org/r/20230526201459.128169-2-hsiangkao@linux.alibaba.com