<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/f2fs/dir.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-16T11:10:39Z</updated>
<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: 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>
<entry>
<title>f2fs: avoid double lock in truncate_blocks</title>
<updated>2014-08-21T20:57:01Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-08-14T23:32:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=764aa3e978020121cbb86111b5d8f42830015a06'/>
<id>urn:sha1:764aa3e978020121cbb86111b5d8f42830015a06</id>
<content type='text'>
The init_inode_metadata calls truncate_blocks when error is occurred.
The callers holds f2fs_lock_op, so we should not call it again in
truncate_blocks.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<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: check name_len of dir entry to prevent from deadloop</title>
<updated>2014-07-11T00:00:02Z</updated>
<author>
<name>Chao Yu</name>
</author>
<published>2014-07-10T04:37:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=81e366f87f52c62671fb1d8050572e68dbcf1d22'/>
<id>urn:sha1:81e366f87f52c62671fb1d8050572e68dbcf1d22</id>
<content type='text'>
We assume that modification of some special application could result in zeroed
name_len, or it is consciously made by somebody. We will deadloop in
find_in_block when name_len of dir entry is zero.

This patch is added for preventing deadloop in above scenario.

change log from v1:
 o use f2fs_bug_on rather than break out from searching dir entry suggested by
Jaegeuk Kim.

Jaegeuk describe:
"Well, IMO, it would be good to add f2fs_bug_on() here with a specific comment.
In the current phase of f2fs, it is more important to investigate the file
system bugs, rather than workarounds for any corrupted images.
And, definitely it needs to stop the kernel if any corrupted image was mounted,
so that we can figure out where the bugs are occurred."

Suggested-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
Signed-off-by: Chao Yu &lt;chao2.yu@samsung.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: arguments cleanup of finding file flow functions</title>
<updated>2014-07-09T21:04:26Z</updated>
<author>
<name>Gu Zheng</name>
</author>
<published>2014-06-24T10:21:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eee6160f2e324f0f6a626159fa1120caad31a6be'/>
<id>urn:sha1:eee6160f2e324f0f6a626159fa1120caad31a6be</id>
<content type='text'>
Signed-off-by: Gu Zheng &lt;guz.fnst@cn.fujitsu.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: remove the needless point-cast</title>
<updated>2014-07-09T21:04:26Z</updated>
<author>
<name>Gu Zheng</name>
</author>
<published>2014-06-27T09:57:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c3bb97899c91d420562c51882ee81a9d7c35306'/>
<id>urn:sha1:1c3bb97899c91d420562c51882ee81a9d7c35306</id>
<content type='text'>
Signed-off-by: Gu Zheng &lt;guz.fnst@cn.fujitsu.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: clean up an unused parameter and assignment</title>
<updated>2014-07-09T21:04:25Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-06-21T04:44:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a014e037be26b5c9ee6fb4e49e7804141cf3bb89'/>
<id>urn:sha1:a014e037be26b5c9ee6fb4e49e7804141cf3bb89</id>
<content type='text'>
This patch cleans up simple unnecessary codes.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: introduce f2fs_do_tmpfile for code consistency</title>
<updated>2014-07-09T21:04:24Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-06-21T04:37:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b97a9b5da891ab6aff5a6a19c569c9c4c5563d48'/>
<id>urn:sha1:b97a9b5da891ab6aff5a6a19c569c9c4c5563d48</id>
<content type='text'>
This patch adds f2fs_do_tmpfile to eliminate the redundant init_inode_metadata
flow.
Throught this, we can provide the consistent lock usage, e.g., fi-&gt;i_sem,  and
this will enable better debugging stuffs.

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