[PATCH 00/16 v3] f2fs: introduce flash-friendly file system

2012-10-31 Thread Jaegeuk Kim
= The file system formatting tool, mkfs.f2fs, is available from the following download page: http://sourceforge.net/projects/f2fs-tools/ Usage = If you'd like to experience f2fs, simply: # mkfs.f2fs /dev/sdb1 # mount -t f2fs /dev/sdb1 /mnt/f2fs Short log = Jaegeuk Kim (17

[PATCH 01/17] f2fs: add document

2012-10-31 Thread Jaegeuk Kim
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 | 417

[PATCH 02/17] f2fs: add on-disk layout

2012-10-31 Thread Jaegeuk Kim
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 | 410 +++ 1

[PATCH 04/17] f2fs: add super block operations

2012-10-31 Thread Jaegeuk Kim
This adds the implementation of superblock operations for f2fs, which includes - init_f2fs_fs/exit_f2fs_fs - f2fs_mount - super_operations of f2fs Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/super.c | 656 +++ 1 file changed

[PATCH 05/17] f2fs: add checkpoint operations

2012-10-31 Thread Jaegeuk Kim
() In order to provide an address space for meta pages, f2fs_sb_info has a special inode, namely meta_inode. This patch also adds the address space operations for meta_inode. Signed-off-by: Chul Lee chur@samsung.com Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/checkpoint.c | 792

[PATCH 06/17] f2fs: add node operations

2012-10-31 Thread Jaegeuk Kim
management such as getting, allocating, and truncating node blocks to index data. - In order to cache node blocks in memory, F2FS has a node_inode with an address space for node pages. This patch also adds the address space operations for node_inode. Signed-off-by: Jaegeuk Kim jaegeuk

[PATCH 08/17] f2fs: add file operations

2012-10-31 Thread Jaegeuk Kim
This adds memory operations and file/file_inode operations. - F2FS supports fallocate(), mmap(), fsync(), and basic ioctl(). Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/file.c | 637 1 file changed, 637 insertions

[PATCH 09/17] f2fs: add address space operations for data

2012-10-31 Thread Jaegeuk Kim
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 | 701

[PATCH 10/17] f2fs: add core inode operations

2012-10-31 Thread Jaegeuk Kim
This adds core functions to get, read, write, and evict an inode. Signed-off-by: Changman Lee cm224@samsung.com Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/inode.c | 266 +++ 1 file changed, 266 insertions(+) create

[PATCH 11/17] f2fs: add inode operations for special inodes

2012-10-31 Thread Jaegeuk Kim
This adds inode operations for directory, symlink, and special inodes. Signed-off-by: Changman Lee cm224@samsung.com Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/namei.c | 504 +++ 1 file changed, 504 insertions

[PATCH 12/17] f2fs: add core directory operations

2012-10-31 Thread Jaegeuk Kim
This adds core functions to find, add, delete, and link dentries. Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/dir.c | 674 fs/f2fs/hash.c | 98 2 files changed, 772 insertions(+) create mode 100644 fs/f2fs

[PATCH 13/17] f2fs: add xattr and acl functionalities

2012-10-31 Thread Jaegeuk Kim
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 | 465 +++ fs

[PATCH 14/17] f2fs: add garbage collection functions

2012-10-31 Thread Jaegeuk Kim
of on-demand cleaning, F2FS should move the data right away. - In order to identify valid blocks in a victim segment, F2FS scans the bitmap of the segment managed as an SIT entry. Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/gc.c | 742

[PATCH 15/17] f2fs: add recovery routines for roll-forward

2012-10-31 Thread Jaegeuk Kim
node block in each direct node block for reconstructing the chain of node blocks during the recovery. - In order to enhance the performance, F2FS keeps a dentry mark also in direct node blocks. If this is set during the recovery, F2FS replays adding a dentry. Signed-off-by: Jaegeuk Kim jaegeuk

[PATCH 16/17] f2fs: move proc files to debugfs

2012-10-31 Thread Jaegeuk Kim
files, but this should be fixed up in the future. Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org Acked-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/debug.c | 361 +++ 1 file changed, 361 insertions(+) create mode 100644 fs

[PATCH 17/17] f2fs: update Kconfig and Makefile

2012-10-31 Thread Jaegeuk Kim
This adds Makefile and Kconfig for f2fs, and updates Makefile and Kconfig files in the fs directory. In addition, add F2FS_SUPER_MAGIC in magic.h. Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/Kconfig |1 + fs/Makefile|1 + fs/f2fs/Kconfig

[PATCH 07/17] f2fs: add segment operations

2012-10-31 Thread Jaegeuk Kim
functions to write data, node, and meta pages. Since LFS basically produces a series of sequential writes, F2FS merges sequential bios with a single one as much as possible to reduce the IO scheduling overhead. Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/segment.c | 1798

RE: [PATCH 16/17] f2fs: move proc files to debugfs

2012-10-31 Thread Jaegeuk Kim
My apologies... I should have examined the patch itself more carefully. I'll resend. Thanks, --- Jaegeuk Kim Samsung -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Thursday, November 01, 2012 12:52 AM To: Jaegeuk Kim Cc: linux-fsde...@vger.kernel.org

[PATCH 16/17 v2] f2fs: move proc files to debugfs

2012-10-31 Thread Jaegeuk Kim
. This copies the functionality that was present in the proc files, but this should be fixed up in the future. Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org [jaegeuk@samsung.com: merged 3 debugfs entries into a *status* entry] Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs

Re: [PATCH 16/16] f2fs: update Kconfig and Makefile

2012-10-06 Thread Jaegeuk Kim
the FAQ at http://www.tux.org/lkml/ -- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 10/16] f2fs: add core inode operations

2012-10-06 Thread Jaegeuk Kim
to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH 13/16] f2fs: add xattr and acl functionalities

2012-10-06 Thread Jaegeuk Kim
://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 02/16] f2fs: add on-disk layout

2012-10-06 Thread Jaegeuk Kim
linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH 02/16] f2fs: add on-disk layout

2012-10-06 Thread Jaegeuk Kim
2012-10-05 (금), 19:46 +0200, Martin Steigerwald: Am Freitag, 5. Oktober 2012 schrieb 김재극: 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

Re: [PATCH 01/16] f2fs: add document

2012-10-06 Thread Jaegeuk Kim
I'll apply this. Thanks, 2012-10-05 (금), 12:56 -0700, Randy Dunlap: On 10/05/2012 04:56 AM, 김재극 wrote: 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

Re: [PATCH 01/16] f2fs: add document

2012-10-06 Thread Jaegeuk Kim
2012-10-06 (토), 09:19 +0200, Stefan Hajnoczi: 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.kim at samsung.com --- Documentation/filesystems/00-INDEX |2

Re: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-06 Thread Jaegeuk Kim
= If you'd like to experience f2fs, simply: # mkfs.f2fs /dev/sdb1 # mount -t f2fs /dev/sdb1 /mnt/f2fs Short log = Jaegeuk Kim (16): f2fs: add document f2fs: add on-disk layout f2fs: add superblock and major in-memory structure f2fs: add super block operations

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-07 Thread Jaegeuk Kim
-Original Message- From: Marco Stornelli [mailto:marco.storne...@gmail.com] Sent: Sunday, October 07, 2012 4:10 PM To: Jaegeuk Kim Cc: Vyacheslav Dubeyko; jaegeuk@samsung.com; Al Viro; ty...@mit.edu; gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; chur@samsung.com

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-08 Thread Jaegeuk Kim
-Original Message- From: Vyacheslav Dubeyko [mailto:sl...@dubeyko.com] Sent: Sunday, October 07, 2012 9:09 PM To: Jaegeuk Kim Cc: 'Marco Stornelli'; 'Jaegeuk Kim'; 'Al Viro'; ty...@mit.edu; gre...@linuxfoundation.org; linux- ker...@vger.kernel.org; chur@samsung.com; cm224

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-08 Thread Jaegeuk Kim
-Original Message- From: Namjae Jeon [mailto:linkinj...@gmail.com] Sent: Monday, October 08, 2012 7:00 PM To: Jaegeuk Kim Cc: Vyacheslav Dubeyko; Marco Stornelli; Jaegeuk Kim; Al Viro; ty...@mit.edu; gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; chur@samsung.com

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-08 Thread Jaegeuk Kim
-Original Message- From: Namjae Jeon [mailto:linkinj...@gmail.com] Sent: Monday, October 08, 2012 8:22 PM To: Jaegeuk Kim Cc: Vyacheslav Dubeyko; Marco Stornelli; Jaegeuk Kim; Al Viro; ty...@mit.edu; gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; chur@samsung.com

[PATCH 00/16 v2] f2fs: introduce flash-friendly file system

2012-10-22 Thread Jaegeuk Kim
, mkfs.f2fs, is available from the following download page: http://sourceforge.net/projects/f2fs-tools/ Usage = If you'd like to experience f2fs, simply: # mkfs.f2fs /dev/sdb1 # mount -t f2fs /dev/sdb1 /mnt/f2fs Short log = Jaegeuk Kim (16): f2fs: add document f2fs

[PATCH 01/16 v2] f2fs: add document

2012-10-22 Thread Jaegeuk Kim
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 | 404

[PATCH 02/16 v2] f2fs: add on-disk layout

2012-10-22 Thread Jaegeuk Kim
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 | 362 +++ 1

[PATCH 04/16 v2] f2fs: add super block operations

2012-10-22 Thread Jaegeuk Kim
This adds the implementation of superblock operations for f2fs, which includes - init_f2fs_fs/exit_f2fs_fs - f2fs_mount - super_operations of f2fs Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/super.c | 590 +++ 1 file changed

[PATCH 05/16 v2] f2fs: add checkpoint operations

2012-10-22 Thread Jaegeuk Kim
() In order to provide an address space for meta pages, f2fs_sb_info has a special inode, namely meta_inode. This patch also adds the address space operations for meta_inode. Signed-off-by: Chul Lee chur@samsung.com Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/checkpoint.c | 795

[PATCH 06/16 v2] f2fs: add node operations

2012-10-22 Thread Jaegeuk Kim
management such as getting, allocating, and truncating node blocks to index data. - In order to cache node blocks in memory, F2FS has a node_inode with an address space for node pages. This patch also adds the address space operations for node_inode. Signed-off-by: Jaegeuk Kim jaegeuk

[PATCH 07/16 v2] f2fs: add segment operations

2012-10-22 Thread Jaegeuk Kim
functions to write data, node, and meta pages. Since LFS basically produces a series of sequential writes, F2FS merges sequential bios with a single one as much as possible to reduce the IO scheduling overhead. Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/segment.c | 1795

[PATCH 08/16 v2] f2fs: add file operations

2012-10-22 Thread Jaegeuk Kim
This adds memory operations and file/file_inode operations. - F2FS supports fallocate(), mmap(), fsync(), and basic ioctl(). Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/file.c | 640 1 file changed, 640 insertions

[PATCH 09/16 v2] f2fs: add address space operations for data

2012-10-22 Thread Jaegeuk Kim
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 | 701

[PATCH 10/16 v2] f2fs: add core inode operations

2012-10-22 Thread Jaegeuk Kim
This adds core functions to get, read, write, and evict an inode. Signed-off-by: Changman Lee cm224@samsung.com Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/inode.c | 262 +++ 1 file changed, 262 insertions(+) create

[PATCH 11/16 v2] f2fs: add inode operations for special inodes

2012-10-22 Thread Jaegeuk Kim
This adds inode operations for directory, symlink, and special inodes. Signed-off-by: Changman Lee cm224@samsung.com Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/namei.c | 494 +++ 1 file changed, 494 insertions

[PATCH 12/16 v2] f2fs: add core directory operations

2012-10-22 Thread Jaegeuk Kim
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 fs/f2fs

[PATCH 13/16 v2] f2fs: add xattr and acl functionalities

2012-10-22 Thread Jaegeuk Kim
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 | 465 +++ fs

[PATCH 14/16 v2] f2fs: add garbage collection functions

2012-10-22 Thread Jaegeuk Kim
of on-demand cleaning, F2FS should move the data right away. - In order to identify valid blocks in a victim segment, F2FS scans the bitmap of the segment managed as an SIT entry. Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/gc.c | 1139

[PATCH 15/16 v2] f2fs: add recovery routines for roll-forward

2012-10-22 Thread Jaegeuk Kim
node block in each direct node block for reconstructing the chain of node blocks during the recovery. - In order to enhance the performance, F2FS keeps a dentry mark also in direct node blocks. If this is set during the recovery, F2FS replays adding a dentry. Signed-off-by: Jaegeuk Kim jaegeuk

[PATCH 16/16 v2] f2fs: update Kconfig and Makefile

2012-10-22 Thread Jaegeuk Kim
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 ++ fs

RE: [PATCH 16/16 v2] f2fs: update Kconfig and Makefile

2012-10-22 Thread Jaegeuk Kim
On Tue, Oct 23, 2012 at 11:33:28AM +0900, Jaegeuk Kim wrote: +config F2FS_STAT_FS + bool F2FS Status Information + depends on F2FS_FS + default y + help + /proc/fs/f2fs/ contains information about partitions mounted as f2fs. + For each partition, a corresponding

RE: [PATCH 07/16 v2] f2fs: add segment operations

2012-10-22 Thread Jaegeuk Kim
Hi. Building f2fs for ARM gives the following error: CC fs/f2fs/segment.o CC fs/f2fs/recovery.o fs/f2fs/segment.c: In function 'build_sit_info': fs/f2fs/segment.c:1399:2: error: implicit declaration of function 'vzalloc' [-Werror=implicit- function-declaration]

RE: [PATCH 02/16 v2] f2fs: add on-disk layout

2012-10-23 Thread Jaegeuk Kim
-Original Message- From: NeilBrown [mailto:ne...@suse.de] Sent: Tuesday, October 23, 2012 12:47 PM To: Jaegeuk Kim Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; gre...@linuxfoundation.org; v...@zeniv.linux.org.uk; a...@arndb.de; ty...@mit.edu; chur

RE: [PATCH 02/16 v2] f2fs: add on-disk layout

2012-10-23 Thread Jaegeuk Kim
2012/10/23 Jaegeuk Kim jaegeuk@samsung.com: 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

RE: [PATCH 04/16 v2] f2fs: add super block operations

2012-10-23 Thread Jaegeuk Kim
[snip] + sb-s_op = f2fs_sops; + sb-s_xattr = f2fs_xattr_handlers; + sb-s_magic = F2FS_SUPER_MAGIC; + sb-s_fs_info = sbi; and s_time_gran? Ok, I'll check this. Thanks, Marco --- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line

RE: [PATCH 08/16 v2] f2fs: add file operations

2012-10-23 Thread Jaegeuk Kim
truncate_pagecache co.? truncate_setsize() calls truncate_pagecache(). Any comment? Marco --- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

RE: [PATCH 11/16 v2] f2fs: add inode operations for special inodes

2012-10-23 Thread Jaegeuk Kim
-Original Message- From: Marco Stornelli [mailto:marco.storne...@gmail.com] Sent: Tuesday, October 23, 2012 4:02 PM To: Jaegeuk Kim Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; gre...@linuxfoundation.org; v...@zeniv.linux.org.uk; a...@arndb.de; ty...@mit.edu

RE: [PATCH 11/16 v2] f2fs: add inode operations for special inodes

2012-10-23 Thread Jaegeuk Kim
2012/10/23 Jaegeuk Kim jaegeuk@samsung.com: -Original Message- From: Marco Stornelli [mailto:marco.storne...@gmail.com] Sent: Tuesday, October 23, 2012 4:02 PM To: Jaegeuk Kim Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; gre...@linuxfoundation.org

RE: [PATCH 00/16 v2] f2fs: introduce flash-friendly file system

2012-10-23 Thread Jaegeuk Kim
On Tue, Oct 23, 2012 at 11:21:53AM +0900, Jaegeuk Kim wrote: mkfs.f2fs = The file system formatting tool, mkfs.f2fs, is available from the following download page: http://sourceforge.net/projects/f2fs-tools/ Is there a git tree of this tool somewhere, so I

RE: [PATCH 00/16 v2] f2fs: introduce flash-friendly file system

2012-10-23 Thread Jaegeuk Kim
On Tue, Oct 23, 2012 at 11:26:59AM -0700, Greg KH wrote: On Tue, Oct 23, 2012 at 11:21:53AM +0900, Jaegeuk Kim wrote: mkfs.f2fs = The file system formatting tool, mkfs.f2fs, is available from the following download page:http://sourceforge.net/projects/f2fs

RE: [PATCH 00/16 v2] f2fs: introduce flash-friendly file system

2012-10-23 Thread Jaegeuk Kim
-Original Message- From: 'Greg KH' [mailto:gre...@linuxfoundation.org] Sent: Wednesday, October 24, 2012 12:01 PM To: Jaegeuk Kim Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; v...@zeniv.linux.org.uk; a...@arndb.de; ty...@mit.edu; chur@samsung.com; cm224

RE: [PATCH 00/16 v2] f2fs: introduce flash-friendly file system

2012-10-23 Thread Jaegeuk Kim
On Wed, Oct 24, 2012 at 08:18:36AM +0900, Jaegeuk Kim wrote: On Tue, Oct 23, 2012 at 11:26:59AM -0700, Greg KH wrote: On Tue, Oct 23, 2012 at 11:21:53AM +0900, Jaegeuk Kim wrote: mkfs.f2fs = The file system formatting tool, mkfs.f2fs, is available from

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-09 Thread Jaegeuk Kim
-Original Message- From: Vyacheslav Dubeyko [mailto:sl...@dubeyko.com] Sent: Tuesday, October 09, 2012 4:23 AM To: Jaegeuk Kim Cc: 'Marco Stornelli'; 'Jaegeuk Kim'; 'Al Viro'; ty...@mit.edu; gre...@linuxfoundation.org; linux- ker...@vger.kernel.org; chur@samsung.com; cm224

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-09 Thread Jaegeuk Kim
--- Jaegeuk Kim Samsung -Original Message- From: Namjae Jeon [mailto:linkinj...@gmail.com] Sent: Tuesday, October 09, 2012 12:52 PM To: Jaegeuk Kim Cc: Vyacheslav Dubeyko; Marco Stornelli; Jaegeuk Kim; Al Viro; ty...@mit.edu; gre...@linuxfoundation.org; linux-kernel

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-09 Thread Jaegeuk Kim
-Original Message- From: linux-fsdevel-ow...@vger.kernel.org [mailto:linux-fsdevel-ow...@vger.kernel.org] On Behalf Of Luka? Czerner Sent: Tuesday, October 09, 2012 5:32 PM To: Jaegeuk Kim Cc: 'Namjae Jeon'; 'Vyacheslav Dubeyko'; 'Marco Stornelli'; 'Jaegeuk Kim'; 'Al Viro'; ty

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-09 Thread Jaegeuk Kim
-Original Message- From: Lukáš Czerner [mailto:lczer...@redhat.com] Sent: Tuesday, October 09, 2012 8:01 PM To: Jaegeuk Kim Cc: 'Lukáš Czerner'; 'Namjae Jeon'; 'Vyacheslav Dubeyko'; 'Marco Stornelli'; 'Jaegeuk Kim'; 'Al Viro'; ty...@mit.edu; gre...@linuxfoundation.org; linux-kernel

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-09 Thread Jaegeuk Kim
2012-10-09 (화), 14:39 +0200, Lukáš Czerner: On Tue, 9 Oct 2012, Jaegeuk Kim wrote: As you can see the f2fs kernel document patch, I think one of the most important features is to align operating units between f2fs and ftl. Specifically, f2fs has

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-09 Thread Jaegeuk Kim
-Original Message- From: linux-fsdevel-ow...@vger.kernel.org [mailto:linux-fsdevel-ow...@vger.kernel.org] On Behalf Of Dave Chinner Sent: Wednesday, October 10, 2012 6:20 AM To: Jaegeuk Kim Cc: 'Lukáš Czerner'; 'Namjae Jeon'; 'Vyacheslav Dubeyko'; 'Marco Stornelli'; 'Jaegeuk Kim

RE: [PATCH 02/16] f2fs: add on-disk layout

2012-10-09 Thread Jaegeuk Kim
[snip] +/* + * For superblock + */ +struct f2fs_super_block { + __le32 magic; /* Magic Number */ + __le16 major_ver; /* Major Version */ + __le16 minor_ver; /* Minor Version */ + __le32 log_sectorsize; /* log2 (Sector size in bytes) */ + __le32

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-10 Thread Jaegeuk Kim
[snip] How about the following scenario? 1. data a is newly written. 2. checkpoint A is done. 3. data a is truncated. 4. checkpoint B is done. If fs supports multiple snapshots like A and B to users, it cannot reuse the space allocated by data a after checkpoint B even though

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-12 Thread Jaegeuk Kim
2012-10-12 (금), 16:30 +0400, Vyacheslav Dubeyko: On Wed, 2012-10-10 at 18:43 +0900, Jaegeuk Kim wrote: [snip] How about the following scenario? 1. data a is newly written. 2. checkpoint A is done. 3. data a is truncated. 4. checkpoint B is done. If fs supports

Re: [PATCH 03/16] f2fs: add superblock and major in-memory structures

2012-10-12 Thread Jaegeuk Kim
the lock once per loop iteration so the 3 values are consistent, not once for each value. Definitely it's right. Thank you. Regards, NeilBrown [snip] -- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH 07/16] f2fs: add segment operations

2012-10-12 Thread Jaegeuk Kim
is submitted with -is_sync. Thank you for valuable comments. Regards, NeilBrown -- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 05/16] f2fs: add checkpoint operations

2012-10-12 Thread Jaegeuk Kim
entries] [summary entries w/ NAT and SIT journal] [CP 0'] So, I think it needs no change. Any idea? Thanks, Regards, NeilBrown -- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH 06/16] f2fs: add node operations

2012-10-12 Thread Jaegeuk Kim
to while (nr_shrink !list_empty(...)) { and add nr_shrink--; somewhere inside the loop. Agree. Thank you. :) Regards, NeilBrown -- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 02/16] f2fs: add on-disk layout

2012-10-13 Thread Jaegeuk Kim
you for comments. Arnd -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- Jaegeuk Kim

Re: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-13 Thread Jaegeuk Kim
. Thanks, Thanks. -- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 01/16] f2fs: add document

2012-10-14 Thread Jaegeuk Kim
unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-14 Thread Jaegeuk Kim
/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Re: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-14 Thread Jaegeuk Kim
in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

RE: [PATCH 0/3] f2fs: move proc files to debugfs

2012-10-25 Thread Jaegeuk Kim
these changes soon. Thanks, Oh, the third patch is buggy, don't apply it, I got the subdir logic wrong, I'll go fix that up now. thanks, greg k-h --- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

RE: [PATCH 01/16 v2] f2fs: add document

2012-10-25 Thread Jaegeuk Kim
I'll enhance the document as much as possible according to your recommendation. Thank you for intensive review. :) --- Jaegeuk Kim Samsung On Tue, 2012-10-23 at 11:25 +0900, Jaegeuk Kim wrote: This adds a document describing the mount options, proc entries, usage, and design of Flash

RE: [PATCH 02/16 v2] f2fs: add on-disk layout

2012-10-25 Thread Jaegeuk Kim
F2FS_MAX_NAME_LEN. I think that it makes sense to comment here purpose of F2FS_NAME_LEN declaration. Ok, thanks. --- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

RE: [PATCH 02/16 v2] f2fs: add on-disk layout

2012-10-26 Thread Jaegeuk Kim
On Friday 26 October 2012, Jaegeuk Kim wrote: + +#define F2FS_ROOT_INO(sbi) (sbi-root_ino_num) +#define F2FS_NODE_INO(sbi) (sbi-node_ino_num) +#define F2FS_META_INO(sbi) (sbi-meta_ino_num) + +#define GFP_F2FS_MOVABLE (__GFP_WAIT | __GFP_IO | __GFP_ZERO

RE: [PATCH 02/16 v2] f2fs: add on-disk layout

2012-10-26 Thread Jaegeuk Kim
2012-10-26 (금), 16:48 +0400, Vyacheslav Dubeyko: On Fri, 2012-10-26 at 12:31 +0900, Jaegeuk Kim wrote: [snip] +#define F2FS_SUPER_MAGIC 0xF2F52010 +#define F2FS_SUPER_OFFSET 0 /* start sector # for sb */ Does f2fs superblock really haven't any offset

Re: [PATCH 00/16 v3] f2fs: introduce flash-friendly file system

2012-11-11 Thread Jaegeuk Kim
, With the best regards, Vyacheslav Dubeyko. -- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

RE: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-15 Thread Jaegeuk Kim
On Sun, Oct 14, 2012 at 03:19:37PM +, Arnd Bergmann wrote: On Sunday 14 October 2012, Vyacheslav Dubeyko wrote: On Oct 14, 2012, at 11:09 AM, Jaegeuk Kim wrote: 2012-10-14 (일), 02:21 +0400, Vyacheslav Dubeyko: Extended attributes are more flexible way, from my point of view

RE: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-15 Thread Jaegeuk Kim
On Monday 15 October 2012, Changman Lee wrote: 2012년 10월 15일 월요일에 Arnd Bergmanna...@arndb.de님이 작성: It is only a performance hint though, so it is not a correctness issue the file system gets it wrong. In order to do efficient garbage collection, a log structured file system should

Re: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-16 Thread Jaegeuk Kim
2012-10-16 (화), 11:38 +, Arnd Bergmann: On Tuesday 16 October 2012, Jaegeuk Kim wrote: On Monday 15 October 2012, Dave Chinner wrote: On Sun, Oct 14, 2012 at 03:19:37PM +, Arnd Bergmann wrote: On Sunday 14 October 2012, Vyacheslav Dubeyko wrote: On Oct 14, 2012, at 11:09 AM

Re: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-16 Thread Jaegeuk Kim
2012-10-16 (화), 16:14 +, Arnd Bergmann: On Tuesday 16 October 2012, Jaegeuk Kim wrote: Thank you for a lot of points to be addressed. :) Maybe it's time to summarize them. Please let me know what I misunderstood. [In v2] - Extension list : Mkfs supports configuring extensions

Re: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-16 Thread Jaegeuk Kim
. -- Jaegeuk Kim Samsung -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

RE: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-16 Thread Jaegeuk Kim
On Wed, Oct 17, 2012 at 07:30:21AM +0900, Jaegeuk Kim wrote: OTOH, I think xattr itself is for users, not for communicating between file system and users. No, you are mistaken in that point, as Dave explained. e.g. selinux, IMA, ACLs, capabilities, etc all communicate

RE: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-16 Thread Jaegeuk Kim
2012-10-16 (화), 16:14 +, Arnd Bergmann: On Tuesday 16 October 2012, Jaegeuk Kim wrote: Thank you for a lot of points to be addressed. :) Maybe it's time to summarize them. Please let me know what I misunderstood. [In v2] - Extension list : Mkfs supports configuring

RE: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-17 Thread Jaegeuk Kim
On Tuesday 16 October 2012, Jaegeuk Kim wrote: An xattr on the root inode that holds a list like this is something that could be set at mkfs time, but then also updated easily by new software packages that are installed... Yes, good idea. Likewise many file systems

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-18 Thread Jaegeuk Kim
[snip] And Would you share ppt or document of f2fs if Korea Linux Forum is finished ? Here I attached the slides, and LF will also share the slides. Thanks, I had hope that slides will have more detailed description. Maybe it is good for Linux Forum. But do you plan to

Re: [PATCH 2/2] f2fs: add REQ_META about metadata requests for submit bio

2013-04-21 Thread Jaegeuk Kim
) rw = WRITE_FLUSH_FUA; + if (type == META) Should be if (btype == META). Thanks, + rw |= REQ_META; + if (sbi-bio[btype]) { struct bio_private *p = sbi-bio[btype]-bi_private; trace_f2fs_do_submit_bio(sbi-sb, btype, sync, -- Jaegeuk Kim

Re: [PATCH v2] f2fs: introduce a new global lock scheme

2013-04-04 Thread Jaegeuk Kim
2001 From: Jaegeuk Kim jaegeuk@samsung.com Date: Thu, 22 Nov 2012 16:21:29 +0900 Subject: [PATCH] f2fs: introduce a new global lock scheme Cc: linux-fsde...@vger.kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-de...@lists.sourceforge.net In the previous version, f2fs uses global locks

Re: [PATCH] F2FS: Fix the logic of IS_DNODE()

2013-04-08 Thread Jaegeuk Kim
+ 1))) Great catch! I'll apply this. Thank you. return false; } return true; -- Jaegeuk Kim Samsung signature.asc Description: This is a digitally signed message part

[PATCH] f2fs: write checkpoint before starting FG_GC

2013-04-08 Thread Jaegeuk Kim
In order to be aware of prefree and free sections during FG_GC, let's start with write_checkpoint(). Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/gc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c index 83cec8f..37b05e1

Re: [PATCH] f2fs: move f2fs_balance_fs from truncate to punch_hole

2013-04-09 Thread Jaegeuk Kim
; blk_end = pg_end PAGE_CACHE_SHIFT; -- 1.8.0 -- Jaegeuk Kim Samsung signature.asc Description: This is a digitally signed message part

Re: [PATCH] f2fs: move f2fs_balance_fs from truncate to punch_hole

2013-04-09 Thread Jaegeuk Kim
will have a case of deadlock happening in this path. Hi, Namjae. I found that this bug still exists in the new locking model. Please see the v3 patch. :) Thanks, Thanks. -- Jaegeuk Kim Samsung signature.asc Description: This is a digitally signed message part

Re: [PATCH v3] f2fs: introduce a new global lock scheme

2013-04-09 Thread Jaegeuk Kim
Chang log from v2: o resolve a deadlock path [ilock count][call path] 1 0 f2fs_unlink 0- truncate_hole 0 - try to grab ilock (wait) From 66b15368995b7218a37f589b9ada0c63794c4dc6 Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim

Re: [PATCH v3 0/7] f2fs: add tracepoints support in f2fs filesystem

2013-04-09 Thread Jaegeuk Kim
block_operations()] (dev,is_mount,try to block operations) write_checkpoint_after_blockop [after block_operations()] (dev,is_mount,done block operations) write_checkpoint_exit [exit] (dev,is_mount,done checkpoint) Acked-by: Steven Rostedt rost...@goodmis.org -- Steve -- Jaegeuk Kim

  1   2   3   4   5   6   7   8   9   10   >