<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/f2fs/file.c, branch linux-3.19.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.19.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.19.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-12-08T18:40:22Z</updated>
<entry>
<title>f2fs: cleanup path to need cp at fsync</title>
<updated>2014-12-08T18:40:22Z</updated>
<author>
<name>Changman Lee</name>
</author>
<published>2014-12-08T06:29:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=51455b19384d26afac4f214fab2ad0a4f1964e30'/>
<id>urn:sha1:51455b19384d26afac4f214fab2ad0a4f1964e30</id>
<content type='text'>
Added some commentaries for code readability and cleaned up if-statement
clearly.

Signed-off-by: Changman Lee &lt;cm224.lee@samsung.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: check if inode state is dirty at fsync</title>
<updated>2014-12-08T18:37:13Z</updated>
<author>
<name>Changman Lee</name>
</author>
<published>2014-12-08T06:29:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c7bb702122fdf7c391f7d02c7d27a61a2c0c4b7'/>
<id>urn:sha1:9c7bb702122fdf7c391f7d02c7d27a61a2c0c4b7</id>
<content type='text'>
If inode state is dirty, go straight to write.

Suggested-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
Signed-off-by: Changman Lee &lt;cm224.lee@samsung.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: release inmemory pages when the file was closed</title>
<updated>2014-12-08T18:35:15Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-12-05T22:37:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=126622343a8488917c5e0891eae1bc936a63f49a'/>
<id>urn:sha1:126622343a8488917c5e0891eae1bc936a63f49a</id>
<content type='text'>
If file is closed, let's drop inmemory pages.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: cleanup redundant macro</title>
<updated>2014-12-01T22:16:50Z</updated>
<author>
<name>Changman Lee</name>
</author>
<published>2014-12-01T07:29:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c01503f4da3ff9c327d37249fe148ed7c188b20'/>
<id>urn:sha1:9c01503f4da3ff9c327d37249fe148ed7c188b20</id>
<content type='text'>
We've already made fi and sbi for inode. Let's avoid duplicated work.

Signed-off-by: Changman Lee &lt;cm224.lee@samsung.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: convert inline_data when i_size becomes large</title>
<updated>2014-11-11T22:16:12Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-11-11T22:10:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=92dffd01790a5219d234fc83c3ba854f4490b7f4'/>
<id>urn:sha1:92dffd01790a5219d234fc83c3ba854f4490b7f4</id>
<content type='text'>
If i_size becomes large outside of MAX_INLINE_DATA, we shoud convert the inode.
Otherwise, we can make some dirty pages during the truncation, and those pages
will be written through f2fs_write_data_page.
At that moment, the inode has still inline_data, so that it tries to write non-
zero pages into inline_data area.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: fix deadlock to grab 0'th data page</title>
<updated>2014-11-11T22:15:48Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-11-11T19:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=764d2c80401fcc7ee15933d604c6a783d5addc40'/>
<id>urn:sha1:764d2c80401fcc7ee15933d604c6a783d5addc40</id>
<content type='text'>
The scenario is like this.

One trhead triggers:
  f2fs_write_data_pages
    lock_page
    f2fs_write_data_page
      f2fs_lock_op  &lt;- wait

The other thread triggers:
  f2fs_truncate
    truncate_blocks
      f2fs_lock_op
        truncate_partial_data_page
          lock_page  &lt;- wait for locking the page

This patch resolves this bug by relocating truncate_partial_data_page.
This function is just to truncate user data page and not related to FS
consistency as well.
And, we don't need to call truncate_inline_data. Rather than that,
f2fs_write_data_page will finally update inline_data later.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: disable roll-forward when active_logs = 2</title>
<updated>2014-11-06T04:05:53Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-11-06T04:05:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a344b9fda0cc2eda54433227837029d410dfb12f'/>
<id>urn:sha1:a344b9fda0cc2eda54433227837029d410dfb12f</id>
<content type='text'>
The roll-forward mechanism should be activated when the number of active
logs is not 2.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: introduce -o fastboot for reducing booting time only</title>
<updated>2014-11-05T01:34:15Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-10-31T05:47:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5053a34a9cc797b9d5d77574354b5555848c43c'/>
<id>urn:sha1:d5053a34a9cc797b9d5d77574354b5555848c43c</id>
<content type='text'>
If a system wants to reduce the booting time as a top priority, now we can
use a mount option, -o fastboot.
With this option, f2fs conducts a little bit slow write_checkpoint, but
it can avoid the node page reads during the next mount time.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: revisit inline_data to avoid data races and potential bugs</title>
<updated>2014-11-05T01:34:11Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-10-24T02:48:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b3d208f96d6bb21247108a956dead6a028d5cdb2'/>
<id>urn:sha1:b3d208f96d6bb21247108a956dead6a028d5cdb2</id>
<content type='text'>
This patch simplifies the inline_data usage with the following rule.
1. inline_data is set during the file creation.
2. If new data is requested to be written ranges out of inline_data,
 f2fs converts that inode permanently.
3. There is no cases which converts non-inline_data inode to inline_data.
4. The inline_data flag should be changed under inode page lock.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: should not truncate any inline_dentry</title>
<updated>2014-11-04T00:07:34Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-10-16T19:24:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5ab18570b85cf3071875a36b88bc5ed27d0b6ef7'/>
<id>urn:sha1:5ab18570b85cf3071875a36b88bc5ed27d0b6ef7</id>
<content type='text'>
If the inode has inline_dentry, we should not truncate any block indices.

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