<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/f2fs/xattr.c, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-08-19T17:01:33Z</updated>
<entry>
<title>f2fs: fix typo</title>
<updated>2014-08-19T17:01:33Z</updated>
<author>
<name>arter97</name>
</author>
<published>2014-08-06T14:22:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e1c42045203071c4634b89e696037357810d3083'/>
<id>urn:sha1:e1c42045203071c4634b89e696037357810d3083</id>
<content type='text'>
Fix typo and some grammatical errors.

The words "filesystem" and "readahead" are being used without the space treewide.

Signed-off-by: Park Ju Hyung &lt;qkrwngud825@gmail.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: fix recursive lock by f2fs_setxattr</title>
<updated>2014-06-02T13:13:16Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-06-01T14:24:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d631abdac9d541d282a1461b5aeae70aa3866e9f'/>
<id>urn:sha1:d631abdac9d541d282a1461b5aeae70aa3866e9f</id>
<content type='text'>
This patch should resolve the following recursive lock.

[&lt;ffffffff8135a9c3&gt;] call_rwsem_down_write_failed+0x13/0x20
[&lt;ffffffffa01749dc&gt;] f2fs_setxattr+0x5c/0xa0 [f2fs]
[&lt;ffffffffa0174c99&gt;] __f2fs_set_acl+0x1b9/0x340 [f2fs]
[&lt;ffffffffa017515a&gt;] f2fs_init_acl+0x4a/0xcb [f2fs]
[&lt;ffffffffa0159abe&gt;] __f2fs_add_link+0x26e/0x780 [f2fs]
[&lt;ffffffffa015d4d8&gt;] f2fs_mkdir+0xb8/0x150 [f2fs]
[&lt;ffffffff811cebd7&gt;] vfs_mkdir+0xb7/0x160
[&lt;ffffffff811cf89b&gt;] SyS_mkdir+0xab/0xe0
[&lt;ffffffff817244bf&gt;] tracesys+0xe1/0xe6
[&lt;ffffffffffffffff&gt;] 0xffffffffffffffff

The call path indicates:
- f2fs_add_link
   : down_write(&amp;fi-&gt;i_sem);

 - init_inode_metadata
   - f2fs_init_acl
     - __f2fs_set_acl
       - f2fs_setxattr
         : down_write(&amp;fi-&gt;i_sem);

Here we should not call f2fs_setxattr, but __f2fs_setxattr.
But __f2fs_setxattr is a static function in xattr.c, so that I found the other
generic approach to use f2fs_setxattr.

In f2fs_setxattr, the page pointer is only given from init_inode_metadata.
So, this patch adds this condition to avoid this in f2fs_setxattr.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: split grab_cache_page and wait_on_page_writeback for node pages</title>
<updated>2014-05-07T01:21:58Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-04-29T08:28:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=54b591dfda1f5ab0bc2a9ce1bee5364110168777'/>
<id>urn:sha1:54b591dfda1f5ab0bc2a9ce1bee5364110168777</id>
<content type='text'>
This patch splits grab_cache_page_write_begin into grab_cache_page and
wait_on_page_writeback for node pages.

This patch intends to enhance the latency to get node pages by alleviating
unnecessary wait_on_page_writeback.

Signed-off-by: Chao Yu &lt;chao2.yu@samsung.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk.kim@samsung.com&gt;
</content>
</entry>
<entry>
<title>f2fs: return errors right after checking them</title>
<updated>2014-05-07T01:21:56Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-04-23T03:28:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=916decbf3913ccdc68f0228e001a6d270cf5682e'/>
<id>urn:sha1:916decbf3913ccdc68f0228e001a6d270cf5682e</id>
<content type='text'>
This patch adds two error conditions early in the setxattr operations.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk.kim@samsung.com&gt;
</content>
</entry>
<entry>
<title>f2fs: pass flags field to setxattr functions</title>
<updated>2014-05-07T01:21:56Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-04-23T03:23:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c02745ef684f9a6f98f30388ed048ee460db5483'/>
<id>urn:sha1:c02745ef684f9a6f98f30388ed048ee460db5483</id>
<content type='text'>
This patch passes the "flags" field to the low level setxattr functions
to use XATTR_REPLACE in the following patches.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk.kim@samsung.com&gt;
</content>
</entry>
<entry>
<title>f2fs: clean up long variable names</title>
<updated>2014-05-07T01:21:56Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-04-23T03:17:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e112326805a50ee2016faf0971660122471f7c04'/>
<id>urn:sha1:e112326805a50ee2016faf0971660122471f7c04</id>
<content type='text'>
This patch includes simple clean-ups to reduce unnecessary long variable names.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk.kim@samsung.com&gt;
</content>
</entry>
<entry>
<title>f2fs: avoid unneeded lookup when xattr name length is too long</title>
<updated>2014-04-01T09:54:24Z</updated>
<author>
<name>Chao Yu</name>
</author>
<published>2014-03-22T06:59:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e452d69d421e10e99446c6de16a19604149c40f'/>
<id>urn:sha1:6e452d69d421e10e99446c6de16a19604149c40f</id>
<content type='text'>
In f2fs_setxattr we have limit this attribute name length, so we should also
check it in f2fs_getxattr to avoid useless lookup caused by invalid name length.

Signed-off-by: Chao Yu &lt;chao2.yu@samsung.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk.kim@samsung.com&gt;
</content>
</entry>
<entry>
<title>f2fs: avoid RECLAIM_FS-ON-W warning</title>
<updated>2014-03-20T13:21:08Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-03-20T13:21:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=808a1d7490671a74ffa077cf92779c7b0c9f66da'/>
<id>urn:sha1:808a1d7490671a74ffa077cf92779c7b0c9f66da</id>
<content type='text'>
This patch should resolve the following possible bug.

RECLAIM_FS-ON-W at:
 mark_held_locks+0xb9/0x140
 lockdep_trace_alloc+0x85/0xf0
 __kmalloc+0x53/0x1d0
 read_all_xattrs+0x3d1/0x3f0 [f2fs]
 f2fs_getxattr+0x4f/0x100 [f2fs]
 f2fs_get_acl+0x4c/0x290 [f2fs]
 get_acl+0x4f/0x80
 posix_acl_create+0x72/0x180
 f2fs_init_acl+0x29/0xcc [f2fs]
 __f2fs_add_link+0x259/0x710 [f2fs]
 f2fs_create+0xad/0x1c0 [f2fs]
 vfs_create+0xed/0x150
 do_last+0xd36/0xed0
 path_openat+0xc5/0x680
 do_filp_open+0x43/0xa0
 do_sys_open+0x13c/0x230
 SyS_creat+0x1e/0x20
 system_call_fastpath+0x16/0x1b

Signed-off-by: Jaegeuk Kim &lt;jaegeuk.kim@samsung.com&gt;
</content>
</entry>
<entry>
<title>f2fs: introduce fi-&gt;i_sem to protect fi's info</title>
<updated>2014-03-20T13:10:11Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-03-20T10:10:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d928bfbfe77aa457b765c19e9db8cd4cc72b3c89'/>
<id>urn:sha1:d928bfbfe77aa457b765c19e9db8cd4cc72b3c89</id>
<content type='text'>
This patch introduces fi-&gt;i_sem to protect fi's info that includes xattr_ver,
pino, i_nlink.
This enables to remove i_mutex during f2fs_sync_file, resulting in performance
improvement when a number of fsync calls are triggered from many concurrent
threads.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk.kim@samsung.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs</title>
<updated>2014-01-28T16:38:04Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2014-01-28T16:38:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bf3d846b783327359ddc4bd4f52627b36abb4d1d'/>
<id>urn:sha1:bf3d846b783327359ddc4bd4f52627b36abb4d1d</id>
<content type='text'>
Pull vfs updates from Al Viro:
 "Assorted stuff; the biggest pile here is Christoph's ACL series.  Plus
  assorted cleanups and fixes all over the place...

  There will be another pile later this week"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (43 commits)
  __dentry_path() fixes
  vfs: Remove second variable named error in __dentry_path
  vfs: Is mounted should be testing mnt_ns for NULL or error.
  Fix race when checking i_size on direct i/o read
  hfsplus: remove can_set_xattr
  nfsd: use get_acl and -&gt;set_acl
  fs: remove generic_acl
  nfs: use generic posix ACL infrastructure for v3 Posix ACLs
  gfs2: use generic posix ACL infrastructure
  jfs: use generic posix ACL infrastructure
  xfs: use generic posix ACL infrastructure
  reiserfs: use generic posix ACL infrastructure
  ocfs2: use generic posix ACL infrastructure
  jffs2: use generic posix ACL infrastructure
  hfsplus: use generic posix ACL infrastructure
  f2fs: use generic posix ACL infrastructure
  ext2/3/4: use generic posix ACL infrastructure
  btrfs: use generic posix ACL infrastructure
  fs: make posix_acl_create more useful
  fs: make posix_acl_chmod more useful
  ...
</content>
</entry>
</feed>
