> -Original Message-
> From: Fan Li [mailto:fanofcode...@samsung.com]
> Sent: Thursday, December 17, 2015 1:21 PM
> To: 'Jaegeuk Kim'
> Cc: linux-ker...@vger.kernel.org; linux-f2fs-devel@lists.sourceforge.net
> Subject: [f2fs-dev] [PATCH] f2fs: optimize the flow of f2fs_map_blocks
>
>
This patch adds a tracepoint for sync_dirty_inodes.
Signed-off-by: Chao Yu
---
fs/f2fs/checkpoint.c| 8
include/trace/events/f2fs.h | 38 ++
2 files changed, 46 insertions(+)
diff --git a/fs/f2fs/checkpoint.c
Add to stat dirty regular and symlink inode for showing in debugfs.
Signed-off-by: Chao Yu
---
v2:
- rename F2FS_DIRTY_DATAS to F2FS_DIRTY_DATA
v3:
- fix compiler warning
---
fs/f2fs/checkpoint.c | 7 ++-
fs/f2fs/debug.c | 6 +-
fs/f2fs/f2fs.h | 13
Previously, when finishing a checkpoint, we have persisted all fs meta
info including meta inode, node inode, dentry page of directory inode, so,
after a sudden power cut, f2fs can recover from last checkpoint with full
directory structure.
But during checkpoint, we didn't flush dirty pages of
This patch checks whether there is a space or not to allocate new blocks.
Signed-off-by: Jaegeuk Kim
---
fsck/mount.c | 28 ++--
1 file changed, 18 insertions(+), 10 deletions(-)
diff --git a/fsck/mount.c b/fsck/mount.c
index 735ed90..4b38df8 100644
When compiling f2fs toolset in 32-bits machine, following error was
reported:
libf2fs.c:342:5: error: conflicting types for 'find_next_bit_le'
../include/f2fs_fs.h:864:22: note: previous declaration of 'find_next_bit_le'
was here
libf2fs.c:348:5: error: conflicting types for