[PATCH] f2fs-tools: man page fix for sload compression

2020-12-17 Thread Robin Hsu
From: Robin Hsu Fix man page for sload.f2fs compression support Signed-off-by: Robin Hsu --- man/sload.f2fs.8 | 94 ++-- 1 file changed, 84 insertions(+), 10 deletions(-) diff --git a/man/sload.f2fs.8 b/man/sload.f2fs.8 index d07330c..c165b35

Please ignore "sload compression support" patches without "v3"

2020-12-08 Thread Robin Hsu
From: Robin Hsu Hi, All, Due to my mistakes, patches for sload compression support were sent without "v3" (version 3). That was corrected by resending them again, with the correct subject (with "v3"). Please ignore those emails without "v3". I apologize for th

[PATCH v3 1/3] f2fs-tools: Added #ifdef WITH_func

2020-12-08 Thread Robin Hsu
From: Robin Hsu Add proprocessor defines (options) 'WITH_func', where func = DUMP, DEFRAG, RESIZE, or SLOAD Signed-off-by: Robin Hsu --- fsck/main.c | 16 1 file changed, 16 insertions(+) diff --git a/fsck/main.c b/fsck/main.c index e70048b..b20498f 100644 --- a/fsck/main.c

[PATCH v3 3/3] f2fs-tools:sload.f2fs compress: Fixed automake

2020-12-08 Thread Robin Hsu
From: Robin Hsu Fixed automake for sload.f2fs compression support ./configure automatcally compile in liblzo2 (for sload to support -a LZO) and liblz4 (for sload to support -a LZ4), whhen the libraries present. Signed-off-by: Robin Hsu --- configure.ac | 12 fsck/Makefile.am

[PATCH v3 2/3] f2fs-tools:sload.f2fs compression support

2020-12-08 Thread Robin Hsu
From: Robin Hsu Add F2FS compression support for sload * Support file extension filter, either default-accept or default-deny policy * Support choice of compression algorithm, LZO (version 2) or LZ4 (default) * Support custom log of cluster size * Support minimum number of compressed blocks

[PATCH v3 0/3] f2fs-tools: sload compression support

2020-12-08 Thread Robin Hsu
From: Robin Hsu * 3 patch set: #1: added some #ifdef for easier support #2: main code change #3: automake changes v2 fix (from v1): fixed a bug and a more elegant error handling flow. v3 fix (from v2): ./configure (automake) automatically determine to compile in lzo and/or lz4 compression

[PATCH 2/3] f2fs-tools:sload.f2fs compression support

2020-12-08 Thread Robin Hsu
From: Robin Hsu Add F2FS compression support for sload * Support file extension filter, either default-accept or default-deny policy * Support choice of compression algorithm, LZO (version 2) or LZ4 (default) * Support custom log of cluster size * Support minimum number of compressed blocks

[PATCH 3/3] f2fs-tools:sload.f2fs compress: Fixed automake

2020-12-08 Thread Robin Hsu
From: Robin Hsu Fixed automake for sload.f2fs compression support ./configure automatcally compile in liblzo2 (for sload to support -a LZO) and liblz4 (for sload to support -a LZ4), whhen the libraries present. Signed-off-by: Robin Hsu --- configure.ac | 12 fsck/Makefile.am

[PATCH v3 0/3] f2fs-tools: sload compression support

2020-12-08 Thread Robin Hsu
From: Robin Hsu * 3 patch set: #1: added some #ifdef for easier support #2: main code change #3: automake changes v2 fix (from v1): fixed a bug and a more elegant error handling flow. v3 fix (from v2): ./configure (automake) automatically determine to compile in lzo and/or lz4 compression

[PATCH 1/3] f2fs-tools: Added #ifdef WITH_func

2020-12-08 Thread Robin Hsu
From: Robin Hsu Add proprocessor defines (options) 'WITH_func', where func = DUMP, DEFRAG, RESIZE, or SLOAD Signed-off-by: Robin Hsu --- fsck/main.c | 16 1 file changed, 16 insertions(+) diff --git a/fsck/main.c b/fsck/main.c index e70048b..b20498f 100644 --- a/fsck/main.c

[PATCH v2 2/3] f2fs-tools:sload.f2fs compression support

2020-12-06 Thread Robin Hsu
From: Robin Hsu Add F2FS compression support for sload * Support file extension filter, either default-accept or default-deny policy * Support choice of compression algorithm, LZO (version 2) or LZ4 (default) * Support custom log of cluster size * Support minimum number of compressed blocks

[PATCH v2 3/3] f2fs-tools:sload.f2fs compress: Fixed automake

2020-12-06 Thread Robin Hsu
From: Robin Hsu Fixed automake for sload.f2fs compression support ./configure now will by default depends on liblzo2 and liblz4. To compile without liblzo2 (and thus not support liblzo2 compression), run ./configure with '--without-lzo2' option. To compile without liblz4 (and thus not support

[PATCH v2 1/3] f2fs-tools: Added #ifdef WITH_func

2020-12-06 Thread Robin Hsu
From: Robin Hsu Add proprocessor defines (options) 'WITH_func', where func = DUMP, DEFRAG, RESIZE, or SLOAD Bug: 161486536 Test: n/a (trivial) Signed-off-by: Robin Hsu Change-Id: I813755548cc71dd8b026abd06893ed0fcf1d8b26 --- fsck/main.c | 16 1 file changed, 16 insertions

[PATCH v2 0/3] f2fs-tools: sload compression support

2020-12-06 Thread Robin Hsu
From: Robin Hsu * 3 patch set: #1: added some #ifdef for easier support #2: main code change #3: automake changes v2 fix (from v1): fixed a bug and a more elegant error handling flow. Robin Hsu (3): f2fs-tools: Added #ifdef WITH_func f2fs-tools:sload.f2fs compression support f2fs

[PATCH 3/3] f2fs-tools:sload.f2fs compress: Fixed automake

2020-12-01 Thread Robin Hsu
From: Robin Hsu Fixed automake for sload.f2fs compression support ./configure now will by default depends on liblzo2 and liblz4. To compile without liblzo2 (and thus not support liblzo2 compression), run ./configure with '--without-lzo2' option. To compile without liblz4 (and thus not support

[PATCH 2/3] f2fs-tools:sload.f2fs compression support

2020-12-01 Thread Robin Hsu
From: Robin Hsu Add F2FS compression support for sload * Support file extension filter, either default-accept or default-deny policy * Support choice of compression algorithm, LZO (version 2) or LZ4 (default) * Support custom log of cluster size * Support minimum number of compressed blocks

[PATCH 1/3] f2fs-tools: Added #ifdef WITH_func

2020-12-01 Thread Robin Hsu
From: Robin Hsu Add proprocessor defines (options) 'WITH_func', where func = DUMP, DEFRAG, RESIZE, or SLOAD Signed-off-by: Robin Hsu --- fsck/main.c | 16 1 file changed, 16 insertions(+) diff --git a/fsck/main.c b/fsck/main.c index e70048b..b20498f 100644 --- a/fsck/main.c

[PATCH 0/3] f2fs-tools: sload.f2fs to support compression

2020-12-01 Thread Robin Hsu
From: Robin Hsu * 3 patch set: #1: added some #ifdef for easier support #2: main code change #3: automake changes Robin Hsu (3): f2fs-tools: Added #ifdef WITH_func f2fs-tools:sload.f2fs compression support f2fs-tools:sload.f2fs compress: Fixed automake configure.ac

[PATCH] f2fs-tools: skipped to end on error syntax error

2020-11-11 Thread Robin Hsu
From: Robin Hsu When error were found, we won't need to do any initialization but just quit. Signed-off-by: Robin Hsu --- fsck/main.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/fsck/main.c b/fsck/main.c index 32559f1..e70048b 100644

[PATCH] f2fs-tools: skipped to end on error syntax error

2020-11-10 Thread Robin Hsu
When error were found, we won't need to do any initialization but just quit. Signed-off-by: Robin Hsu --- fsck/main.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/fsck/main.c b/fsck/main.c index 32559f1..e70048b 100644 --- a/fsck/main.c +++ b

[PATCH 1/1] f2fs-toos:fsck.f2fs Fix bad return value

2020-10-26 Thread Robin Hsu
'ret' should not have been used here: otherwise, it would be wrongly used as the error code and then be returned from main(). Signed-off-by: Robin Hsu --- fsck/fsck.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fsck/fsck.c b/fsck/fsck.c index f97e9fb..66e4e3f 100644

[PATCH 0/1] f2fs-tools:fsck.f2fs Fix bad return value

2020-10-26 Thread Robin Hsu
f2fs-tools:fsck.f2fs: Fix always return 1 (error) after asking user to restore lost files into ./lost_found Robin Hsu (1): f2fs-toos:fsck.f2fs Fix bad return value fsck/fsck.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.29.0.rc2.309.g374f81d7ae-goog