fix the f2fs mount failed issue in low memory case
authorhuangzq2 <huangzq2@motorola.com>
Thu, 13 Jun 2019 06:34:20 +0000 (14:34 +0800)
committerlingsen1 <lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:37:03 +0000 (17:37 +0800)
commit502d3293efb3c20829ebedc73285a5899a787ab6
treec9e8233106dee2073b4ba88e79f4b5efeef5215c
parent2718cbd5d186e3975d6df22f0ddd750fd498c6df
fix the f2fs mount failed issue in low memory case

On the RACK test, the SDcard often mount failed becuase of the
page allocation failure. After checked with f2fs owner, we can
use kvzmalloc to alloc non-continuous memory in case continuous
memory allocation failed.

Change-Id: Ifd83e8b9a6bff241ed851007a3b7aec49b413eb3
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1370212
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
fs/f2fs/node.c