<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/f2fs/checkpoint.c, branch linux-3.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-09-30T22:34:47Z</updated>
<entry>
<title>f2fs: check the use of macros on block counts and addresses</title>
<updated>2014-09-30T22:34:47Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-09-23T18:23:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7cd8558baa4e4588a80ecb31cb30784195763cdd'/>
<id>urn:sha1:7cd8558baa4e4588a80ecb31cb30784195763cdd</id>
<content type='text'>
This patch cleans up the existing and new macros for readability.

Rule is like this.

         ,-----------------------------------------&gt; MAX_BLKADDR -,
         |  ,------------- TOTAL_BLKS ----------------------------,
         |  |                                                     |
         |  ,- seg0_blkaddr   ,----- sit/nat/ssa/main blkaddress  |
block    |  | (SEG0_BLKADDR)  | | | |   (e.g., MAIN_BLKADDR)      |
address  0..x................ a b c d .............................
            |                                                     |
global seg# 0...................... m .............................
            |                       |                             |
            |                       `------- MAIN_SEGS -----------'
            `-------------- TOTAL_SEGS ---------------------------'
                                    |                             |
 seg#                               0..........xx..................

= Note =
 o GET_SEGNO_FROM_SEG0 : blk address -&gt; global segno
 o GET_SEGNO           : blk address -&gt; segno
 o START_BLOCK         : segno -&gt; starting block address

Reviewed-by: Chao Yu &lt;chao2.yu@samsung.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: introduce FITRIM in f2fs_ioctl</title>
<updated>2014-09-30T22:06:09Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-09-21T05:06:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4b2fecc84655055a6a1fe9151786992ac04b56ce'/>
<id>urn:sha1:4b2fecc84655055a6a1fe9151786992ac04b56ce</id>
<content type='text'>
This patch introduces FITRIM in f2fs_ioctl.
In this case, f2fs will issue small discards and prefree discards as many as
possible for the given area.

Reviewed-by: Chao Yu &lt;chao2.yu@samsung.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: introduce cp_control structure</title>
<updated>2014-09-30T22:01:28Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-09-21T04:57:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75ab4cb8301adb3a02a96c5c03c837ed941f1bc5'/>
<id>urn:sha1:75ab4cb8301adb3a02a96c5c03c837ed941f1bc5</id>
<content type='text'>
This patch add a new data structure to control checkpoint parameters.
Currently, it presents the reason of checkpoint such as is_umount and normal
sync.

Reviewed-by: Chao Yu &lt;chao2.yu@samsung.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: use MAX_BIO_BLOCKS(sbi)</title>
<updated>2014-09-23T18:10:18Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-09-22T23:21:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=90a893c749f4582f21e97639f4e85e7f2362c2f0'/>
<id>urn:sha1:90a893c749f4582f21e97639f4e85e7f2362c2f0</id>
<content type='text'>
This patch cleans up a simple macro.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: use meta_inode cache to improve roll-forward speed</title>
<updated>2014-09-23T18:10:12Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-09-11T20:49:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c521f493b625c7982cf2eae246e86c893f62dfa'/>
<id>urn:sha1:4c521f493b625c7982cf2eae246e86c893f62dfa</id>
<content type='text'>
Previously, all the dnode pages should be read during the roll-forward recovery.
Even worsely, whole the chain was traversed twice.
This patch removes that redundant and costly read operations by using page cache
of meta_inode and readahead function as well.

Reviewed-by: Chao Yu &lt;chao2.yu@samsung.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: use nm_i-&gt;next_scan_nid as default for next_free_nid</title>
<updated>2014-09-16T11:10:45Z</updated>
<author>
<name>Huang Ying</name>
</author>
<published>2014-09-12T12:19:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7704182387f7eab6217a587420f8a3b3aa2d17d5'/>
<id>urn:sha1:7704182387f7eab6217a587420f8a3b3aa2d17d5</id>
<content type='text'>
Now, if there is no free nid in nm_i-&gt;free_nid_list, 0 may be saved
into next_free_nid of checkpoint, this may cause useless scanning for
next mount.  nm_i-&gt;next_scan_nid should be a better default value than
0.

Signed-off-by: Huang, Ying &lt;ying.huang@intel.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: expand counting dirty pages in the inode page cache</title>
<updated>2014-09-16T11:10:39Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-09-12T22:53:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7ffdbe22cecaed59b5d76a5f003d68907d64240'/>
<id>urn:sha1:a7ffdbe22cecaed59b5d76a5f003d68907d64240</id>
<content type='text'>
Previously f2fs only counts dirty dentry pages, but there is no reason not to
expand the scope.

This patch changes the names on the management of dirty pages and to count
dirty pages in each inode info as well.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: need fsck.f2fs when f2fs_bug_on is triggered</title>
<updated>2014-09-09T20:15:02Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-09-02T22:52:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9850cf4a8908886370b1f15aacf83d291f098c72'/>
<id>urn:sha1:9850cf4a8908886370b1f15aacf83d291f098c72</id>
<content type='text'>
If any f2fs_bug_on is triggered, fsck.f2fs is needed.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: retain inconsistency information to initiate fsck.f2fs</title>
<updated>2014-09-09T20:14:25Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-09-02T22:43:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2ae4c673e3cbd69bc2decf6d7f5961f3c7b9b38b'/>
<id>urn:sha1:2ae4c673e3cbd69bc2decf6d7f5961f3c7b9b38b</id>
<content type='text'>
This patch adds sbi-&gt;need_fsck to conduct fsck.f2fs later.
This flag can only be removed by fsck.f2fs.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: introduce F2FS_I_SB, F2FS_M_SB, and F2FS_P_SB</title>
<updated>2014-09-04T00:37:13Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-09-02T22:31:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4081363fbe84a7ebac6d3339dd2775df45d856d0'/>
<id>urn:sha1:4081363fbe84a7ebac6d3339dd2775df45d856d0</id>
<content type='text'>
This patch adds three inline functions to clean up dirty casting codes.

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