<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/fs/f2fs/data.c, branch v4.5</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>wrappers for -&gt;i_mutex access</title>
<updated>2016-01-22T23:04:28+00:00</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2016-01-22T20:40:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=5955102c9984fa081b2d570cfac75c97eecf8f3b'/>
<id>5955102c9984fa081b2d570cfac75c97eecf8f3b</id>
<content type='text'>
parallel to mutex_{lock,unlock,trylock,is_locked,lock_nested},
inode_foo(inode) being mutex_foo(&amp;inode-&gt;i_mutex).

Please, use those for access to -&gt;i_mutex; over the coming cycle
-&gt;i_mutex will become rwsem, with -&gt;lookup() done with it held
only shared.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
parallel to mutex_{lock,unlock,trylock,is_locked,lock_nested},
inode_foo(inode) being mutex_foo(&amp;inode-&gt;i_mutex).

Please, use those for access to -&gt;i_mutex; over the coming cycle
-&gt;i_mutex will become rwsem, with -&gt;lookup() done with it held
only shared.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>f2fs: detect idle time depending on user behavior</title>
<updated>2016-01-11T23:56:37+00:00</updated>
<author>
<name>Jaegeuk Kim</name>
<email>jaegeuk@kernel.org</email>
</author>
<published>2016-01-09T00:57:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d0239e1bf5204d602281f93c01d46bcf3531098d'/>
<id>d0239e1bf5204d602281f93c01d46bcf3531098d</id>
<content type='text'>
This patch adds last time that user requested filesystem operations.
This information is used to detect whether system is idle or not later.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds last time that user requested filesystem operations.
This information is used to detect whether system is idle or not later.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>f2fs: recognize encrypted data in f2fs_fiemap</title>
<updated>2016-01-08T19:51:58+00:00</updated>
<author>
<name>Chao Yu</name>
<email>chao2.yu@samsung.com</email>
</author>
<published>2016-01-08T12:19:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=da5af127a1a17bac121c6889c88cc90f8a278a84'/>
<id>da5af127a1a17bac121c6889c88cc90f8a278a84</id>
<content type='text'>
This patch fixes to teach f2fs_fiemap to recognize encrypted data.

Signed-off-by: Chao Yu &lt;chao2.yu@samsung.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes to teach f2fs_fiemap to recognize encrypted data.

Signed-off-by: Chao Yu &lt;chao2.yu@samsung.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>f2fs: clean up f2fs_balance_fs</title>
<updated>2016-01-08T19:45:23+00:00</updated>
<author>
<name>Jaegeuk Kim</name>
<email>jaegeuk@kernel.org</email>
</author>
<published>2016-01-07T22:15:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2c4db1a6f6b42e2a9fb611cbbeb71a3a9a358ee0'/>
<id>2c4db1a6f6b42e2a9fb611cbbeb71a3a9a358ee0</id>
<content type='text'>
This patch adds one parameter to clean up all the callers of f2fs_balance_fs.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds one parameter to clean up all the callers of f2fs_balance_fs.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>f2fs: avoid unnecessary f2fs_balance_fs calls</title>
<updated>2016-01-08T19:45:22+00:00</updated>
<author>
<name>Jaegeuk Kim</name>
<email>jaegeuk@kernel.org</email>
</author>
<published>2016-01-07T21:23:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=12719ae14e57980ebf0a7baa63bc80494c76b192'/>
<id>12719ae14e57980ebf0a7baa63bc80494c76b192</id>
<content type='text'>
Only when node page is newly dirtied, it needs to check whether we need to do
f2fs_gc.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only when node page is newly dirtied, it needs to check whether we need to do
f2fs_gc.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>f2fs: check the page status filled from disk</title>
<updated>2016-01-08T19:45:21+00:00</updated>
<author>
<name>Jaegeuk Kim</name>
<email>jaegeuk@kernel.org</email>
</author>
<published>2016-01-02T06:03:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7612118ae8cdd36cbd74d873855d70252d2d49e3'/>
<id>7612118ae8cdd36cbd74d873855d70252d2d49e3</id>
<content type='text'>
After reading a page, we need to check whether there is any error.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After reading a page, we need to check whether there is any error.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>f2fs: read isize while holding i_mutex in fiemap</title>
<updated>2016-01-07T03:15:49+00:00</updated>
<author>
<name>Fan Li</name>
<email>fanofcode.li@samsung.com</email>
</author>
<published>2016-01-04T07:56:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=de1475cc53b2d6442443dcf5d66ed0fc50ed3c7e'/>
<id>de1475cc53b2d6442443dcf5d66ed0fc50ed3c7e</id>
<content type='text'>
make sure the isize we read doesn't change during the process.

Signed-off-by: Fan li &lt;fanofcode.li@samsung.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
make sure the isize we read doesn't change during the process.

Signed-off-by: Fan li &lt;fanofcode.li@samsung.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>f2fs: introduce max_file_blocks in sbi</title>
<updated>2016-01-04T05:40:04+00:00</updated>
<author>
<name>Chao Yu</name>
<email>chao2.yu@samsung.com</email>
</author>
<published>2015-12-31T06:35:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e0afc4d6d0d3e7e5a99f691bc64ae7c74bea790e'/>
<id>e0afc4d6d0d3e7e5a99f691bc64ae7c74bea790e</id>
<content type='text'>
Introduce max_file_blocks in sbi to store max block index of file in f2fs,
it could be used to avoid unneeded calculation of max block index in
runtime.

Signed-off-by: Chao Yu &lt;chao2.yu@samsung.com&gt;
[Jaegeuk Kim: fix overflow of sbi-&gt;max_file_blocks]
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce max_file_blocks in sbi to store max block index of file in f2fs,
it could be used to avoid unneeded calculation of max block index in
runtime.

Signed-off-by: Chao Yu &lt;chao2.yu@samsung.com&gt;
[Jaegeuk Kim: fix overflow of sbi-&gt;max_file_blocks]
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>f2fs: write pending bios when cp_error is set</title>
<updated>2015-12-31T21:08:02+00:00</updated>
<author>
<name>Jaegeuk Kim</name>
<email>jaegeuk@kernel.org</email>
</author>
<published>2015-12-31T21:08:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8d4ea29b6426470456ee9daee64bac55a3b13289'/>
<id>8d4ea29b6426470456ee9daee64bac55a3b13289</id>
<content type='text'>
When testing ioc_shutdown, put_super is able to be hanged by waiting for
writebacking pages as follows.

INFO: task umount:2723 blocked for more than 120 seconds.
      Tainted: G           O    4.4.0-rc3+ #8
"echo 0 &gt; /proc/sys/kernel/hung_task_timeout_secs" disables this message.
umount          D ffff88000859f9d8     0  2723   2110 0x00000000
 ffff88000859f9d8 0000000000000000 0000000000000000 ffffffff81e11540
 ffff880078c225c0 ffff8800085a0000 ffff88007fc17440 7fffffffffffffff
 ffffffff818239f0 ffff88000859fb48 ffff88000859f9f0 ffffffff8182310c
Call Trace:
 [&lt;ffffffff818239f0&gt;] ? bit_wait+0x50/0x50
 [&lt;ffffffff8182310c&gt;] schedule+0x3c/0x90
 [&lt;ffffffff81827fb9&gt;] schedule_timeout+0x2d9/0x430
 [&lt;ffffffff810e0f8f&gt;] ? mark_held_locks+0x6f/0xa0
 [&lt;ffffffff8111614d&gt;] ? ktime_get+0x7d/0x140
 [&lt;ffffffff818239f0&gt;] ? bit_wait+0x50/0x50
 [&lt;ffffffff8106a655&gt;] ? kvm_clock_get_cycles+0x25/0x30
 [&lt;ffffffff8111617c&gt;] ? ktime_get+0xac/0x140
 [&lt;ffffffff818239f0&gt;] ? bit_wait+0x50/0x50
 [&lt;ffffffff81822564&gt;] io_schedule_timeout+0xa4/0x110
 [&lt;ffffffff81823a25&gt;] bit_wait_io+0x35/0x50
 [&lt;ffffffff818235bd&gt;] __wait_on_bit+0x5d/0x90
 [&lt;ffffffff811b9e8b&gt;] wait_on_page_bit+0xcb/0xf0
 [&lt;ffffffff810d5f90&gt;] ? autoremove_wake_function+0x40/0x40
 [&lt;ffffffff811cf84c&gt;] truncate_inode_pages_range+0x4bc/0x840
 [&lt;ffffffff811cfc3d&gt;] truncate_inode_pages_final+0x4d/0x60
 [&lt;ffffffffc023ced5&gt;] f2fs_evict_inode+0x75/0x400 [f2fs]
 [&lt;ffffffff812639bc&gt;] evict+0xbc/0x190
 [&lt;ffffffff81263d19&gt;] iput+0x229/0x2c0
 [&lt;ffffffffc0241885&gt;] f2fs_put_super+0x105/0x1a0 [f2fs]
 [&lt;ffffffff8124756a&gt;] generic_shutdown_super+0x6a/0xf0
 [&lt;ffffffff812478f7&gt;] kill_block_super+0x27/0x70
 [&lt;ffffffffc0241290&gt;] kill_f2fs_super+0x20/0x30 [f2fs]
 [&lt;ffffffff81247b03&gt;] deactivate_locked_super+0x43/0x70
 [&lt;ffffffff81247f4c&gt;] deactivate_super+0x5c/0x60
 [&lt;ffffffff81268d2f&gt;] cleanup_mnt+0x3f/0x90
 [&lt;ffffffff81268dc2&gt;] __cleanup_mnt+0x12/0x20
 [&lt;ffffffff810ac463&gt;] task_work_run+0x73/0xa0
 [&lt;ffffffff810032ac&gt;] exit_to_usermode_loop+0xcc/0xd0
 [&lt;ffffffff81003e7c&gt;] syscall_return_slowpath+0xcc/0xe0
 [&lt;ffffffff81829ea2&gt;] int_ret_from_sys_call+0x25/0x9f

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When testing ioc_shutdown, put_super is able to be hanged by waiting for
writebacking pages as follows.

INFO: task umount:2723 blocked for more than 120 seconds.
      Tainted: G           O    4.4.0-rc3+ #8
"echo 0 &gt; /proc/sys/kernel/hung_task_timeout_secs" disables this message.
umount          D ffff88000859f9d8     0  2723   2110 0x00000000
 ffff88000859f9d8 0000000000000000 0000000000000000 ffffffff81e11540
 ffff880078c225c0 ffff8800085a0000 ffff88007fc17440 7fffffffffffffff
 ffffffff818239f0 ffff88000859fb48 ffff88000859f9f0 ffffffff8182310c
Call Trace:
 [&lt;ffffffff818239f0&gt;] ? bit_wait+0x50/0x50
 [&lt;ffffffff8182310c&gt;] schedule+0x3c/0x90
 [&lt;ffffffff81827fb9&gt;] schedule_timeout+0x2d9/0x430
 [&lt;ffffffff810e0f8f&gt;] ? mark_held_locks+0x6f/0xa0
 [&lt;ffffffff8111614d&gt;] ? ktime_get+0x7d/0x140
 [&lt;ffffffff818239f0&gt;] ? bit_wait+0x50/0x50
 [&lt;ffffffff8106a655&gt;] ? kvm_clock_get_cycles+0x25/0x30
 [&lt;ffffffff8111617c&gt;] ? ktime_get+0xac/0x140
 [&lt;ffffffff818239f0&gt;] ? bit_wait+0x50/0x50
 [&lt;ffffffff81822564&gt;] io_schedule_timeout+0xa4/0x110
 [&lt;ffffffff81823a25&gt;] bit_wait_io+0x35/0x50
 [&lt;ffffffff818235bd&gt;] __wait_on_bit+0x5d/0x90
 [&lt;ffffffff811b9e8b&gt;] wait_on_page_bit+0xcb/0xf0
 [&lt;ffffffff810d5f90&gt;] ? autoremove_wake_function+0x40/0x40
 [&lt;ffffffff811cf84c&gt;] truncate_inode_pages_range+0x4bc/0x840
 [&lt;ffffffff811cfc3d&gt;] truncate_inode_pages_final+0x4d/0x60
 [&lt;ffffffffc023ced5&gt;] f2fs_evict_inode+0x75/0x400 [f2fs]
 [&lt;ffffffff812639bc&gt;] evict+0xbc/0x190
 [&lt;ffffffff81263d19&gt;] iput+0x229/0x2c0
 [&lt;ffffffffc0241885&gt;] f2fs_put_super+0x105/0x1a0 [f2fs]
 [&lt;ffffffff8124756a&gt;] generic_shutdown_super+0x6a/0xf0
 [&lt;ffffffff812478f7&gt;] kill_block_super+0x27/0x70
 [&lt;ffffffffc0241290&gt;] kill_f2fs_super+0x20/0x30 [f2fs]
 [&lt;ffffffff81247b03&gt;] deactivate_locked_super+0x43/0x70
 [&lt;ffffffff81247f4c&gt;] deactivate_super+0x5c/0x60
 [&lt;ffffffff81268d2f&gt;] cleanup_mnt+0x3f/0x90
 [&lt;ffffffff81268dc2&gt;] __cleanup_mnt+0x12/0x20
 [&lt;ffffffff810ac463&gt;] task_work_run+0x73/0xa0
 [&lt;ffffffff810032ac&gt;] exit_to_usermode_loop+0xcc/0xd0
 [&lt;ffffffff81003e7c&gt;] syscall_return_slowpath+0xcc/0xe0
 [&lt;ffffffff81829ea2&gt;] int_ret_from_sys_call+0x25/0x9f

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>f2fs: use i_size_read to get i_size</title>
<updated>2015-12-30T18:14:19+00:00</updated>
<author>
<name>Jaegeuk Kim</name>
<email>jaegeuk@kernel.org</email>
</author>
<published>2015-12-28T21:48:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=819d9153d4c87329910a4cb01198610cd24ec62d'/>
<id>819d9153d4c87329910a4cb01198610cd24ec62d</id>
<content type='text'>
We need to use i_size_read() to get inode-&gt;i_size.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to use i_size_read() to get inode-&gt;i_size.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
