<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/fs/f2fs/super.c, branch linux-4.7.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-4.7.y</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-4.7.y'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2016-05-18T20:57:31+00:00</updated>
<entry>
<title>f2fs: make exit_f2fs_fs more clear</title>
<updated>2016-05-18T20:57:31+00:00</updated>
<author>
<name>Tiezhu Yang</name>
<email>kernelpatch@126.com</email>
</author>
<published>2016-05-18T00:02:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b8bef79df709533416a278c4c3aef3577cefa61a'/>
<id>urn:sha1:b8bef79df709533416a278c4c3aef3577cefa61a</id>
<content type='text'>
init_f2fs_fs does:
    1) f2fs_build_trace_ios
    2) init_inodecache
    3) create_node_manager_caches
    4) create_segment_manager_caches
    5) create_checkpoint_caches
    6) create_extent_cache
    7) kset_create_and_add
    8) kobject_init_and_add
    9) register_shrinker
    10) register_filesystem
    11) f2fs_create_root_stats
    12) proc_mkdir

exit_f2fs_fs should do cleanup in the reverse order
to make the code more clear.

Signed-off-by: Tiezhu Yang &lt;kernelpatch@126.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: use percpu_counter for total_valid_inode_count</title>
<updated>2016-05-18T20:57:30+00:00</updated>
<author>
<name>Jaegeuk Kim</name>
<email>jaegeuk@kernel.org</email>
</author>
<published>2016-05-16T18:42:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=513c5f3735a9bd0bd8b58b6cdafbad5ef19f2159'/>
<id>urn:sha1:513c5f3735a9bd0bd8b58b6cdafbad5ef19f2159</id>
<content type='text'>
This patch uses percpu_counter to avoid stat_lock.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: use percpu_counter for alloc_valid_block_count</title>
<updated>2016-05-18T20:57:29+00:00</updated>
<author>
<name>Jaegeuk Kim</name>
<email>jaegeuk@kernel.org</email>
</author>
<published>2016-05-16T18:06:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=41382ec43255b502321c3c27f1347efeb3279290'/>
<id>urn:sha1:41382ec43255b502321c3c27f1347efeb3279290</id>
<content type='text'>
This patch uses percpu_count for sbi-&gt;alloc_valid_block_count.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: use percpu_counter for # of dirty pages in inode</title>
<updated>2016-05-18T20:57:28+00:00</updated>
<author>
<name>Jaegeuk Kim</name>
<email>jaegeuk@kernel.org</email>
</author>
<published>2016-05-13T19:47:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1beba1b3a953107c3ff5448ab4e4297db4619c76'/>
<id>urn:sha1:1beba1b3a953107c3ff5448ab4e4297db4619c76</id>
<content type='text'>
This patch adds percpu_counter for # of dirty pages in inode.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: use percpu_counter for page counters</title>
<updated>2016-05-18T20:57:27+00:00</updated>
<author>
<name>Jaegeuk Kim</name>
<email>jaegeuk@kernel.org</email>
</author>
<published>2016-05-13T19:36:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=523be8a6b3418eb7e0f0f042fe0490345eb5d516'/>
<id>urn:sha1:523be8a6b3418eb7e0f0f042fe0490345eb5d516</id>
<content type='text'>
This patch substitutes percpu_counter for atomic_counter when counting
various types of pages.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: use bio count instead of F2FS_WRITEBACK page count</title>
<updated>2016-05-18T20:57:25+00:00</updated>
<author>
<name>Jaegeuk Kim</name>
<email>jaegeuk@kernel.org</email>
</author>
<published>2016-05-17T23:23:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f573018491fd823e909d587cfe16758f3dd9e6d6'/>
<id>urn:sha1:f573018491fd823e909d587cfe16758f3dd9e6d6</id>
<content type='text'>
This can reduce page counting overhead.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: add fault injection to sysfs</title>
<updated>2016-05-16T22:32:02+00:00</updated>
<author>
<name>Sheng Yong</name>
<email>shengyong1@huawei.com</email>
</author>
<published>2016-05-16T04:38:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=087968974fcd9e8c910bba73f3393a49b7380ca6'/>
<id>urn:sha1:087968974fcd9e8c910bba73f3393a49b7380ca6</id>
<content type='text'>
This patch introduces a new struct f2fs_fault_info and a global f2fs_fault
to save fault injection status. Fault injection entries are created in
/sys/fs/f2fs/fault_injection/ during initializing f2fs module.

Signed-off-by: Sheng Yong &lt;shengyong1@huawei.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: correct return value type of f2fs_fill_super</title>
<updated>2016-05-16T22:31:59+00:00</updated>
<author>
<name>Sheng Yong</name>
<email>shengyong1@huawei.com</email>
</author>
<published>2016-05-11T09:08:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=99e3e858a486ccef93da0d4b67a71ed1c171b2fe'/>
<id>urn:sha1:99e3e858a486ccef93da0d4b67a71ed1c171b2fe</id>
<content type='text'>
Signed-off-by: Sheng Yong &lt;shengyong1@huawei.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>fscrypto/f2fs: allow fs-specific key prefix for fs encryption</title>
<updated>2016-05-07T17:32:33+00:00</updated>
<author>
<name>Jaegeuk Kim</name>
<email>jaegeuk@kernel.org</email>
</author>
<published>2016-05-05T05:05:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b5a7aef1ef436ec005fef0efe31a676ec5f4ab31'/>
<id>urn:sha1:b5a7aef1ef436ec005fef0efe31a676ec5f4ab31</id>
<content type='text'>
This patch allows fscrypto to handle a second key prefix given by filesystem.
The main reason is to provide backward compatibility, since previously f2fs
used "f2fs:" as a crypto prefix instead of "fscrypt:".
Later, ext4 should also provide key_prefix() to give "ext4:".

One concern decribed by Ted would be kinda double check overhead of prefixes.
In x86, for example, validate_user_key consumes 8 ms after boot-up, which turns
out derive_key_aes() consumed most of the time to load specific crypto module.
After such the cold miss, it shows almost zero latencies, which treats as a
negligible overhead.
Note that request_key() detects wrong prefix in prior to derive_key_aes() even.

Cc: Ted Tso &lt;tytso@mit.edu&gt;
Cc: stable@vger.kernel.org # v4.6
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: fix leak of orphan inode objects</title>
<updated>2016-05-07T17:32:25+00:00</updated>
<author>
<name>Jaegeuk Kim</name>
<email>jaegeuk@kernel.org</email>
</author>
<published>2016-05-03T05:09:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=74ef924167ad9d2897ffc0ef83c7ebf322fcc535'/>
<id>urn:sha1:74ef924167ad9d2897ffc0ef83c7ebf322fcc535</id>
<content type='text'>
When unmounting filesystem, we should release all the ino entries.

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