From: Jaegeuk Kim
This patch adds a samsung guy for an F2FS maintainer.
Signed-off-by: Jaegeuk Kim
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 38ffb57..e154141 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3775,6 +3775,7 @@ F
From: Jaegeuk Kim
This patch changes the valid email address to maintain the f2fs file system.
Signed-off-by: Jaegeuk Kim
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 51ebb77..38ffb57 100644
--- a/MAINTAINERS
+++ b
From: Jaegeuk Kim
This patch adds to support f2fs file system.
Signed-off-by: Jaegeuk Kim
---
common/config | 7 +++
common/rc | 6 ++
2 files changed, 13 insertions(+)
diff --git a/common/config b/common/config
index 0dbf0b9..0607294 100644
--- a/common/config
+++ b/common
mpiler: gcc (GCC) 10.1.0-syz 20200507
> > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1336413b90
> > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12f7392b90
> >
> > The issue was bisected to:
> >
> > commit ee
0200507
> > > > syz repro:
> > > > https://syzkaller.appspot.com/x/repro.syz?x=1336413b90
> > > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12f7392b90
> > > >
> > > > The issue was bisected to:
> > > >
syzbot+ee250ac8137be41d7...@syzkaller.appspotmail.com
Signed-off-by: Jaegeuk Kim
---
v2 log:
- fix syzbot issue
fs/f2fs/checkpoint.c | 9 +++--
fs/f2fs/f2fs.h | 2 --
fs/f2fs/segment.c| 2 +-
3 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/fs/f2fs/checkpoint.c b/fs
; > > > syz repro:
> > > > > > https://syzkaller.appspot.com/x/repro.syz?x=1336413b90
> > > > > > C reproducer:
> > > > > > https://syzkaller.appspot.com/x/repro.c?x=12f7392b90
> > > > > >
>
gt; > > > > https://syzkaller.appspot.com/x/.config?x=26c1b4cc4a62ccb
> > > > > > > > dashboard link:
> > > > > > > > https://syzkaller.appspot.com/bug?extid=ee250ac8137be41d7b13
> > > > > > > > compiler: gcc (GCC) 10.
the error handler.
As a result, this patch tries to 1) remove _nofail callers as much as possible,
2) deal with error case in last remaining caller, f2fs_get_sum_page().
Reported-by: syzbot+ee250ac8137be41d7...@syzkaller.appspotmail.com
Signed-off-by: Jaegeuk Kim
---
Change log from v2:
- avoid _nofa
On 10/13, Chao Yu wrote:
> Jaegeuk,
>
> I guess you missed sending last applied patch to mailing list?
I was testing locally and supposed to post it soon before pull request. Putting
it in -dev can give some soak time in -next.
No worries.
Thanks,
>
> Thanks,
>
> On
Thanks,
I fixed it in f2fs-next branch.
Thanks,
On 10/15, Stephen Rothwell wrote:
> Hi all,
>
> In commit
>
> e965857201e0 ("f2fs: wait for sysfs kobject removal before freeing
> f2fs_sb_info")
>
> Fixes tag
>
> Fixes: bf9e697ecd4 ("f2fs: expose features to sysfs entry")
>
> has these
Hi Linus,
Could you please consider this pull request?
Thanks,
The following changes since commit 581cb3a26baf846ee9636214afaa5333919875b1:
Merge tag 'f2fs-for-5.9-rc5' of
git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs (2020-09-10 13:12:46
-0700)
are available
On 10/20, Can Guo wrote:
> On 2020-10-06 06:36, Jaegeuk Kim wrote:
> > From: Jaegeuk Kim
> >
> > Must have WQ_MEM_RECLAIM
> > ``WQ_MEM_RECLAIM``
> > All wq which might be used in the memory reclaim paths **MUST**
> > have this flag set. Th
On 10/20, Can Guo wrote:
> On 2020-10-06 06:36, Jaegeuk Kim wrote:
> > From: Jaegeuk Kim
> >
> > In order to conduct FFU or RPMB operations, UFS needs to clear UAC. This
> > patch
> > clears it explicitly, so that we could get no failure given early
> >
blk_mq_tagset_busy_iter();
> >
> > In addition, we have to avoid gate_work, if it was disabled.
> >
> > Cc: Alim Akhtar
> > Cc: Avri Altman
> > Cc: Can Guo
> > Signed-off-by: Jaegeuk Kim
> > ---
> >
> > Change log from v1:
> >
On 10/21, Can Guo wrote:
> On 2020-10-21 03:52, Jaegeuk Kim wrote:
> > From: Jaegeuk Kim
> >
> > When giving a stress test which enables/disables clkgating, we hit
> > device
> > timeout sometimes. This patch avoids subtle racy condition to address
> > it.
On 10/21, Can Guo wrote:
> On 2020-10-21 03:52, Jaegeuk Kim wrote:
> > The below call stack prevents clk_gating at every IO completion.
> > We can remove the condition, ufshcd_any_tag_in_use(), since
> > clkgating_work
> > will check it again.
> >
>
> I th
On 10/21, Can Guo wrote:
> On 2020-10-21 03:52, Jaegeuk Kim wrote:
> > From: Jaegeuk Kim
> >
> > Must have WQ_MEM_RECLAIM
> > ``WQ_MEM_RECLAIM``
> > All wq which might be used in the memory reclaim paths **MUST**
> > have this flag set. Th
)
if (ufshcd_any_tag_in_use() == 1)
return;
ufshcd_tmc_handler(hba);
blk_mq_tagset_busy_iter();
In addition, we have to avoid gate_work, if it was disabled.
Cc: Alim Akhtar
Cc: Avri Altman
Cc: Can Guo
Signed-off-by: Jaegeuk Kim
---
Change log from v1:
- change the
gt; diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
> index 7aa70b5..d3f5a70 100644
> --- a/fs/f2fs/f2fs.h
> +++ b/fs/f2fs/f2fs.h
> @@ -14,7 +14,6 @@
> #include
> #include
> #include
> -#include
> #include
> #include
> #include
--
Jaegeuk Kim
Samsung
sign
for global area\n",
>>> __func__,
>>> selected_size / SZ_1M);
>>> -
>>> - dma_declare_contiguous(NULL, selected_size, 0, limit);
>>> + if (cma_size_cmdline != -1)
>>> +
w who actually uses SEEK_DATA or SEEK_HOLE, and whether it
would be of any use to them on tmpfs. This code adds 92 lines and 752
bytes on x86_64 - is that bloat or worthwhile?"
But this time in which scenario will use it?
Regards,
Jaegeuk
>It's quite easy for tmpfs to scan the rad
hosting unmovable pages, we need:
>2.1) find a movable memory device on other nodes with enough capacity
>and reclaim it.
>2.2) use hardware migration technology to migrate unmovable memory to
Hi Jiang,
Could you give an explanation how hardware migration technology works?
Regards,
Jaegeuk
fter iput() is completed.
Otherwise, another f2fs_new_inode() is able to get this just-released
nid before iput(). In such a case, insert_inode_locked() can return
-EBUSY or iput() can free this newly allocated inode due to the i_lock
race.
Thanks,
> return ERR_PTR(err);
> }
>
--
Jaegeuk Kim
Samsung
signature.asc
Description: This is a digitally signed message part
nge(sbi, inode->i_ino)) {
> + f2fs_msg(inode->i_sb, KERN_ERR, "bad inode number: %lu",
> + (unsigned long) inode->i_ino);
> + return -EINVAL;
> + }
>
> node_page = get_node_page(sbi, inode->i_ino);
> if (IS_ERR(node_page))
--
Jaegeuk Kim
Samsung
signature.asc
Description: This is a digitally signed message part
2013-03-18 (월), 14:23 +0900, Namjae Jeon:
> 2013/3/18, Jaegeuk Kim :
> > 2013-03-17 (일), 17:27 +0900, Namjae Jeon:
> >> From: Namjae Jeon
> >>
> >> In function check_nid_range, there is no need to trigger BUG_ON and make
> >> kernel stop.
> >&
If the node page was truncated, its block address became zero.
This means that we don't need to write the node page, but have to unlock
NODE_WRITE, decrease the number of dirty node pages, and then unlock_page
before returning the f2fs_write_node_page with zero.
Signed-off-by: Jaegeu
s_readpage returns unlocked page, or released page too in error cases.
- Its caller should handle read error, -EIO, after locking the page, which
indicates read completion.
- Its caller should check PageUptodate after grab_cache_page.
Signed-off-by: Changman Lee
Signed-off-by: Jaegeuk Kim
--
Currently, f2fs doesn't reclaim any node pages.
However, if we found that a node page was truncated by checking its block
address with zero during f2fs_write_node_page, we should not skip that node
page and return zero to reclaim it.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/node.c
n the node_inode's address
space.
This means that we can retain lots of clean pages in the main memory, which
induces mm's reclaiming overhead.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/node.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/f2fs/node.c b/fs/f2
If the return value of releasepage is equal to zero, the page cannot be
reclaimed.
Instead, we should return 1 in order to reclaim clean pages.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/data.c | 4 +++-
fs/f2fs/node.c | 13 +++--
2 files changed, 6 insertions(+), 11 deletions(-)
diff
st NAT page
- scan_nat_page can add 100 ~ 200 nids
-> Bug here!
So, when scanning an NAT page, we should check each candidate whether it is
over max_nid or not.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/node.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
The fsync call should be ended after flushing the in-device caches.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/file.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index 269645e..ff018a4 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -13,6 +13,7
2013-03-18 (월), 18:29 +0900, Namjae Jeon:
> 2013/3/18, Jaegeuk Kim :
> > The build_free_nid should not add free nids over nm_i->max_nid.
> > But, there was a hole that invalid free nid was added by the following
> > scenario.
> >
> > Let's suppose nm_i->
2013-03-18 (월), 20:39 +0900, Namjae Jeon:
> 2013/3/18, Jaegeuk Kim :
> > If the return value of releasepage is equal to zero, the page cannot be
> > reclaimed.
> > Instead, we should return 1 in order to reclaim clean pages.
> >
> > Signed-off-by: Jaegeuk Kim
) {
> > + unlock_page(page);
> > + return page;
> > }
> > - unlock_page(page);
> Hi Jaegeuk.
> > +
> > + err = f2fs_readpage(sbi, page, dn.data_blkaddr, READ_SYNC);
> > + wait_on_page_locked(page);
> > + if (!PageUptodate(page))
>
o care about real
existence. Let's get and check the status of the page without any locks.
Thanks,
--
Jaegeuk Kim
Samsung
signature.asc
Description: This is a digitally signed message part
Hi,
2013-02-05 (화), 14:28 +0900, Namjae Jeon:
> Hi Jaegeuk.
>
> Oops!, I was missing include header.
> Sorry, I will send v2 patch again.
I got a build error, and simply added the following header file in your
patch.
#include
Is it correct?
Thanks,
>
> Thanks.
>
&g
2013-02-05 (화), 16:02 +0900, Namjae Jeon:
> 2013/2/5, Jaegeuk Kim :
> > Hi,
> >
> > 2013-02-05 (화), 14:28 +0900, Namjae Jeon:
> >> Hi Jaegeuk.
> >>
> >> Oops!, I was missing include header.
> >> Sorry, I will send v2 patch again.
> >
c_thread_func, sbi,
> - "f2fs_gc-%s", dev_name(sbi->sb->s_bdi->dev));
> + "f2fs_gc-%u:%u", MAJOR(dev), MINOR(dev));
> if (IS_ERR(gc_th->f2fs_gc_task)) {
> kfree(gc_th);
> sbi->gc_thread = NULL;
--
Jaegeuk Kim
Samsung
signature.asc
Description: This is a digitally signed message part
Hi,
2013-02-06 (수), 13:59 +0900, Namjae Jeon:
> 2013/2/6, Jaegeuk Kim :
> > Hi,
> >
> > How about this?
> >
> > 2013-02-05 (화), 23:24 +0900, Namjae Jeon:
> >> From: Namjae Jeon
> >>
> >> After the commit 2184ad190a79ae2b40b5f5db1fbde5c2
'regulator-3.8-rc5' of
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
(2013-01-28 22:44:53 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git
tags/f2fs-for-v3.8
for you to fetch cha
es. I already looked away once just because
> it's a new filesystem, but enough is enough. This is way way WAY too
> late to start sendign "enhancements". Seriously.
>
> Send them for the next merge window. Not just before rc7.
>
> Linus
>
> O
veral patches to that sucker;
> commits f3d9d7e..10e4e72 in vfs.git. I can send them to f2fs tree or
> have them go in vfs one, but this stuff needs to be dealt with. Fake
> struct dentry on stack is a bad thing with capital Hell No...
Hi Al,
Could you send the patches to me?
I'
if -
mapping->a_ops->writepage -
is NULL.
Signed-off-by: P J P
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/data.c | 4
1 file changed, 4 insertions(+)
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 47a2d7c..cf9ff5f 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -559,6 +559,10 @@ s
Hi,
2013-04-03 (수), 12:30 +0530, P J P:
> +-- On Wed, 3 Apr 2013, Jaegeuk Kim wrote --+
> | diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
> | index 47a2d7c..cf9ff5f 100644
> | --- a/fs/f2fs/data.c
> | +++ b/fs/f2fs/data.c
> | @@ -559,6 +559,10 @@ static int f2fs_write
Hi,
Agreed, and resolved all the issues like below.
Thanks,
change log from v1:
o change local variable position
o change function shape
o add NULL_SECNO
From f1802031a467751df6475bd3f56300137fd2ac34 Mon Sep 17 00:00:00 2001
From: Jaegeuk Kim
Date: Sun, 31 Mar 2013 13:26:03 +0900
Subject
Hi,
Agreed, and send v2.
Change log from v1:
o remain read_node_page and remove the lock part
From 04006aecac2882c574fe8a7de926bc52c73a8ad1 Mon Sep 17 00:00:00 2001
From: Jaegeuk Kim
Date: Sun, 31 Mar 2013 12:47:20 +0900
Subject: [PATCH] f2fs: remove redundant lock_page calls
Cc: linux-fsde
Hi,
2013-04-03 (수), 14:43 +0530, P J P:
> +-- On Wed, 3 Apr 2013, Jaegeuk Kim wrote --+
> | I'm confusing the question because f2fs doesn't use generic_writepages(),
> | since f2fs_write_data_pages() is linked to a_ops->writepages. In
> | do_writepages(), always f
ckpoint.
5. block_operations()
- call mutex_lock_all()
- sync_dirty_dir_inodes()
- grab node_write
- sync_node_pages()
Note that,
the pairs of mutex_lock_op()/mutex_unlock_op() and
mutex_lock_all()/mutex_unlock_all() should be used together.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/checkpo
2001
From: Jaegeuk Kim
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 according to the usage
amp;& has_not_enough_free_secs(sbi))
Thank you. :)
> gc_type = FG_GC;
>
> if (!__get_victim(sbi, &segno, gc_type, NO_CHECK_TYPE))
--
Jaegeuk Kim
Samsung
signature.asc
Description: This is a digitally signed message part
Hi Linus,
Please pull for v3.9. Thanks,
The following changes since commit
836dc9e3fbbab0c30aa6e664417225f5c1fb1c39:
Linux 3.8-rc7 (2013-02-09 08:20:39 +1100)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git
tags/f2fs-for-3.9
for you
It must be set READ_SYNC not READA.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/node.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index e275218..185454f 100644
--- a/fs/f2fs/node.c
+++ b/fs/f2fs/node.c
@@ -930,7 +930,7 @@ repeat:
if
ahead */
LOOKUP_NODE_RA, /*
* look up a node with readahead called
* by get_datablock_ro.
*/
}
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/data.c | 12 ++--
fs/f2fs/f2fs.h | 12
fs/f2fs/file.c
Hi,
2013-02-26 (화), 18:35 +0900, Namjae Jeon:
> 2013/2/26, Jaegeuk Kim :
> > It must be set READ_SYNC not READA.
> Hi Jaegeuk.
> Could you please elaborate more?
> Why we need to change READA to READ_SYNC over here, when the purpose
> was to read the node page in READ ahead
t; if (IS_ERR(npage[i])) {
> > err = PTR_ERR(npage[i]);
>
> Hi Jaegeuk.
> There is no LOOKUP_NODE usage in this patch.
> I think that we can use LOOKUP_NODE flag instead of done(bool) like this.
> if (mode == LOOKUP_NODE)
Hi.
> 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
> 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]
> -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
> 2012/10/23 Jaegeuk Kim :
> > 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 | 362
> > +++
[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
---
Jae
gt; + }
> > +}
> > +#else
> > +#define __setattr_copy setattr_copy
> > +#endif
> > +
> > +int f2fs_setattr(struct dentry *dentry, struct iattr *attr)
> > +{
> > + struct inode *inode = dentry->d_inode;
> > + struct f2fs_inode_info *f
> -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.
> 2012/10/23 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-ke
> 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/
> 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 th
> -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..
> 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
> > > > > =
> >
done some works additionally based on the patches.
Furthermore, for readability, I merged 3 stat files into one file, and
let it show all the superblocks together, no breakdown per partition.
I'll submit v3-series applying these changes soon.
Thanks,
>
> Oh, the third patch is buggy, don
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
>
number */
> > + __le32 volume_serial_number;/* VSN is optional field */
>
> Usually, it is used 128-bits UUID for serial number. Why do you use
> __le32 as volume_serial_number?
Ok, I'll change.
[snip]
> > +/*
> > + * For directory operations
> > + */
> 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) (sb
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
> > >
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
that was present in the proc files, but this should be
fixed up in the future.
Signed-off-by: Greg Kroah-Hartman
[jaegeuk@samsung.com: merged 3 debugfs entries into a *status* entry]
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/debug.c | 361 +++
1
2012/11/2 Martin Steigerwald
>
> Am Mittwoch, 31. Oktober 2012 schrieb Jaegeuk Kim:
> > Change log from v2:
> >
> > o Fix compilation error for arm [Max]
> > o Move proc entries to debugfs [Greg]
> > o Add i_atime, i_generation, etc [Neil]
> > o Sup
[Vyacheslav]
o Support uuid and add additional comments [Vyacheslav]
o Change superblock offset [Vyacheslav]
o Fix some bugs and return values [Vyacheslav]
o Improve initial mount time [Jaegeuk]
o Fix f2fs-tools environment [Mike]
I've set up a git tree in sf.net for f2fs-tools.
Please download
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 | 417
2 files
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 | 410 +++
1 file changed, 410 insertions(+)
create mode 100644 include/linux
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
---
fs/f2fs/super.c | 656 +++
1 file changed, 656 insertions
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
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/checkpoint.c | 792
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
---
fs/f2fs/node.c
This adds memory operations and file/file_inode operations.
- F2FS supports fallocate(), mmap(), fsync(), and basic ioctl().
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/file.c | 637
1 file changed, 637 insertions(+)
create mode 100644 fs
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 | 701
This adds core functions to get, read, write, and evict an inode.
Signed-off-by: Changman Lee
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/inode.c | 266 +++
1 file changed, 266 insertions(+)
create mode 100644 fs/f2fs/inode.c
diff --git a/fs
This adds inode operations for directory, symlink, and special inodes.
Signed-off-by: Changman Lee
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/namei.c | 504 +++
1 file changed, 504 insertions(+)
create mode 100644 fs/f2fs/namei.c
diff --git a
This adds core functions to find, add, delete, and link dentries.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/dir.c | 674
fs/f2fs/hash.c | 98
2 files changed, 772 insertions(+)
create mode 100644 fs/f2fs/dir.c
create mode
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 | 465 +++
fs/f2fs/acl.h | 57 +++
fs/f2fs/xattr.c
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
---
fs/f2fs/gc.c | 742 ++
fs
on of next 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
files, but this should be
fixed up in the future.
Signed-off-by: Greg Kroah-Hartman
Acked-by: Jaegeuk Kim
---
fs/f2fs/debug.c | 361 +++
1 file changed, 361 insertions(+)
create mode 100644 fs/f2fs/debug.c
diff --git a/fs/f2fs/debug.c b/fs
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
---
fs/Kconfig |1 +
fs/Makefile|1 +
fs/f2fs/Kconfig| 52
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
---
fs/f2fs/segment.c | 1798
This patch adds basic inode flags for inline xattrs, F2FS_INLINE_XATTR,
and add a mount option, inline_xattr, which is enabled when xattr is set.
If the mount option is enabled, all the files are marked with the inline_xattrs
flag.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/f2fs.h | 18
The __find_xattr is to search the wanted xattr entry starting from the
base_addr.
If not found, the returned entry is the last empty xattr entry that can be
allocated newly.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/xattr.c | 46 +-
fs/f2fs/xattr.h | 3
touch any existing files and
newly created files as well.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/f2fs.h | 16
fs/f2fs/node.c | 7 ++
fs/f2fs/xattr.c | 249
fs/f2fs/xattr.h | 12 +--
include/linux/f2fs_fs.h
The truncate_xattr_node function will be used by inline xattr.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/f2fs.h | 1 +
fs/f2fs/node.c | 39 ---
2 files changed, 29 insertions(+), 11 deletions(-)
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 0343759
used by inline xattrs is defined as
F2FS_INLINE_XATTR_ADDRS.
Current patch assigns F2FS_INLINE_XATTR_ADDRS to 0 temporarily.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/data.c | 5 +++--
fs/f2fs/f2fs.h | 18 --
fs/f2fs/file.c | 2 +-
fs/f2fs/gc.c
The f2fs_set_link updates its parent inode number, so we should sync this to
the inode block.
Otherwise, the data can be lost after sudden-power-off.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/namei.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c
index
1 - 100 of 2654 matches
Mail list logo