This adds roll-forward routines to recover fsynced data.
- F2FS uses basically roll-back model with checkpointing.
- In order to implement fsync(), there are two approaches as follows.
1. A roll-back model with checkpointing at every fsync()
: This is a naive method, but suffers from very low
This adds Makefile and Kconfig for f2fs, and updates Makefile and Kconfig files
in the fs directory.
Signed-off-by: Jaegeuk Kim
---
fs/Kconfig |1 +
fs/Makefile |1 +
fs/f2fs/Kconfig | 55 ++
fs/f2fs/Makefile |6
This adds on-demand and background cleaning functions.
- The basic background cleaning policy is trying to do cleaning jobs as much as
possible whenever the system is idle. Once the background cleaning is done,
the cleaner sleeps an amount of time not to interfere with VFS calls. The time
This implements xattr and acl functionalities.
- F2FS uses a node page to contain use extended attributes.
Signed-off-by: Changman Lee
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/acl.c | 402 +++
fs/f2fs/acl.h | 57
This adds core functions to find, add, delete, and link dentries.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/dir.c | 657
fs/f2fs/hash.c | 98 +
2 files changed, 755 insertions(+)
create mode 100644 fs/f2fs/dir.c
create mode
This adds address space operations for data.
- F2FS supports readpages(), writepages(), and direct_IO().
- Because of out-of-place writes, f2fs_direct_IO() does not write data in place.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/data.c | 700
This adds functions required by the checkpoint operations.
Basically, f2fs adopts a roll-back model with checkpoint blocks written in the
CP area. The checkpoint procedure includes as follows.
- write_checkpoint()
1. block_operations() freezes VFS calls.
2. submit cached bios.
3.
This adds a header file describing the on-disk layout of f2fs.
Signed-off-by: Changman Lee
Signed-off-by: Chul Lee
Signed-off-by: Jaegeuk Kim
---
include/linux/f2fs_fs.h | 359 +++
1 file changed, 359 insertions(+)
create mode 100644
This adds a document describing the mount options, proc entries, usage, and
design of Flash-Friendly File System, namely F2FS.
Signed-off-by: Jaegeuk Kim
---
Documentation/filesystems/00-INDEX |2 +
Documentation/filesystems/f2fs.txt | 314
2 files
This adds a document describing the mount options, proc entries, usage, and
design of Flash-Friendly File System, namely F2FS.
Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com
---
Documentation/filesystems/00-INDEX |2 +
Documentation/filesystems/f2fs.txt | 314
This adds a header file describing the on-disk layout of f2fs.
Signed-off-by: Changman Lee cm224@samsung.com
Signed-off-by: Chul Lee chur@samsung.com
Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com
---
include/linux/f2fs_fs.h | 359 +++
1
This adds functions required by the checkpoint operations.
Basically, f2fs adopts a roll-back model with checkpoint blocks written in the
CP area. The checkpoint procedure includes as follows.
- write_checkpoint()
1. block_operations() freezes VFS calls.
2. submit cached bios.
3.
This adds address space operations for data.
- F2FS supports readpages(), writepages(), and direct_IO().
- Because of out-of-place writes, f2fs_direct_IO() does not write data in place.
Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com
---
fs/f2fs/data.c | 700
This adds core functions to find, add, delete, and link dentries.
Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com
---
fs/f2fs/dir.c | 657
fs/f2fs/hash.c | 98 +
2 files changed, 755 insertions(+)
create mode 100644
This implements xattr and acl functionalities.
- F2FS uses a node page to contain use extended attributes.
Signed-off-by: Changman Lee cm224@samsung.com
Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com
---
fs/f2fs/acl.c | 402 +++
This adds on-demand and background cleaning functions.
- The basic background cleaning policy is trying to do cleaning jobs as much as
possible whenever the system is idle. Once the background cleaning is done,
the cleaner sleeps an amount of time not to interfere with VFS calls. The time
This adds roll-forward routines to recover fsynced data.
- F2FS uses basically roll-back model with checkpointing.
- In order to implement fsync(), there are two approaches as follows.
1. A roll-back model with checkpointing at every fsync()
: This is a naive method, but suffers from very low
This adds Makefile and Kconfig for f2fs, and updates Makefile and Kconfig files
in the fs directory.
Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com
---
fs/Kconfig |1 +
fs/Makefile |1 +
fs/f2fs/Kconfig | 55 ++
18 matches
Mail list logo