[PATCH v2 2/2] erofs: clean up z_erofs_submit_queue()

2020-01-20 Thread Gao Xiang
A label and extra variables will be eliminated, which is more cleaner. Signed-off-by: Gao Xiang --- rebased on v2 1/2. fs/erofs/zdata.c | 95 1 file changed, 40 insertions(+), 55 deletions(-) diff --git a/fs/erofs/zdata.c b/fs/erofs/zdata.c

[PATCH v2 1/2] erofs: fold in postsubmit_is_all_bypassed()

2020-01-20 Thread Gao Xiang
No need to introduce such separated helper since cache strategy compile configs were changed into runtime options instead in v5.4. No logic changes. Signed-off-by: Gao Xiang --- changes since v1: - fix a wrong condition force_fg -> *forge_fg by mistake. fs/erofs/zdata.c | 23

[xiang-erofs:dev-test] BUILD SUCCESS 2e49cd3dc3aeb1207b828d8b0170f2327f4e3ac3

2020-01-20 Thread kbuild test robot
-20200121 csky randconfig-a001-20200120 openrisc randconfig-a001-20200120 s390 randconfig-a001-20200120 sh randconfig-a001-20200120 xtensa randconfig-a001-20200120 armshmobile_defconfig xtensa

[PATCH 2/2] erofs: clean up z_erofs_submit_queue()

2020-01-20 Thread Gao Xiang via Linux-erofs
From: Gao Xiang A label and extra variables will be eliminated, which is more cleaner. Signed-off-by: Gao Xiang --- fs/erofs/zdata.c | 95 1 file changed, 40 insertions(+), 55 deletions(-) diff --git a/fs/erofs/zdata.c b/fs/erofs/zdata.c index

[PATCH 1/2] erofs: fold in postsubmit_is_all_bypassed()

2020-01-20 Thread Gao Xiang via Linux-erofs
From: Gao Xiang No need to introduce such separated helper since cache strategy compile configs was changed into runtime options instead in v5.4. No logic changes. Signed-off-by: Gao Xiang --- fs/erofs/zdata.c | 23 +++ 1 file changed, 7 insertions(+), 16 deletions(-)