For now, write compressed file with fsync, we need do CP, it's a heavy
behavior. This patch try to support forward recovery for compressed file.
This is a rough version, need more test to improve it.
Anyway, looking forward some suggestions.
When test this patch, you should disable CP when fsync
Try support forword recovery for compressed files, this is a rough version,
need more test to improve it.
Signed-off-by: Fengnan Chang
---
fs/f2fs/node.c | 7 +++
fs/f2fs/recovery.c | 9 +
2 files changed, 16 insertions(+)
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index c280f
Please ignore this...
I'll send a new version.
Thanks.
> -Original Message-
> From: 常凤楠
> Sent: Sunday, April 24, 2022 11:21 AM
> To: [email protected]; [email protected]
> Cc: [email protected]; 常凤楠
>
> Subject: [RFC PATCH] f2fs: support follword recovery for compres
Try support follword recovery for compressed files, this is a rough
version, need more test to improve it.
Signed-off-by: Fengnan Chang
---
fs/f2fs/node.c | 7 +++
fs/f2fs/recovery.c | 10 +-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/fs/f2fs/node.c b/fs/f2fs