[f2fs-dev] [PATCH -next] f2fs: add trace exit in exception path

2020-09-21 Thread Qilong Zhang
From: Zhang Qilong Missing the trace exit in f2fs_sync_dirty_inodes Signed-off-by: Zhang Qilong --- fs/f2fs/checkpoint.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 6059ce3758d8..3c6fd7a2a819 100644 --- a/fs/f2fs/ch

[f2fs-dev] [PATCH v5] f2fs: add f2fs_gc exception handle in f2fs_ioc_gc_range

2020-06-28 Thread Qilong Zhang
return value of getting victim ops and add exception handle for f2fs_gc. In particular, 1).if target has no valid block, it will go on. 2).if target sectoion has valid block(s), but it is current section, we will reminder the caller. Signed-off-by: Qilong Zhang Reviewed-by: Chao Yu --- fs/f2fs

[f2fs-dev] [PATCH v4] f2fs: add f2fs_gc exception handle in f2fs_ioc_gc_range

2020-06-27 Thread Qilong Zhang
return value of getting victim ops and add exception handle for f2fs_gc. In particular, 1).if target has no valid block, it will go on. 2).if target sectoion has valid block(s), but it is current section, we will reminder the caller. Signed-off-by: Qilong Zhang Reviewed-by: Chao Yu --- fs/f2fs

[f2fs-dev] [PATCH v3] f2fs: add f2fs_gc exception handle in f2fs_ioc_gc_range

2020-06-24 Thread Qilong Zhang
return value of getting victim ops and add exception handle for f2fs_gc. In particular, 1).if target has no valid block, it will go on. 2).if target sectoion has valid block(s), but it is current section, we will reminder the caller. Signed-off-by: Qilong Zhang --- fs/f2fs/file.c| 5

[f2fs-dev] [PATCH v1] f2fs: add f2fs_gc exception handle in f2fs_ioc_gc_range

2020-06-23 Thread Qilong Zhang
segments gc ops are finished will return success. In particular, 1).if target has no valid blopcks, it will go on. 2).if target sectoion has valid blocks, but it is current segment, we will reminder the caller. Signed-off-by: Qilong Zhang --- v1: - handle the -ENODATA exceptions of f2fs_gc. fs