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)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:32:09 +0000 (17:32 +0800)
commit7681d6bb2cf35d0a7ec523afbc6ae1f12947cc50
tree628678c920b6a3c7d5975805bc5c2c36529ea32d
parente495077c1618059c547b37bf5ba3576832bd27c1
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