<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/f2fs/super.c, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-08-28T16:25:29Z</updated>
<entry>
<title>f2fs: simplify by using a literal</title>
<updated>2014-08-28T16:25:29Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2014-08-28T13:13:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=922cedbd00b68e506eb6f37cbe07cdf399a37b27'/>
<id>urn:sha1:922cedbd00b68e506eb6f37cbe07cdf399a37b27</id>
<content type='text'>
We can make the code a bit simpler because we know that "!retry" is
zero.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: fix incorrect calculation with total/free inode num</title>
<updated>2014-08-21T20:57:06Z</updated>
<author>
<name>Chao Yu</name>
</author>
<published>2014-08-20T10:36:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c200b1aa6cb460ce8c3ecf6fdc690d3949c3cc5d'/>
<id>urn:sha1:c200b1aa6cb460ce8c3ecf6fdc690d3949c3cc5d</id>
<content type='text'>
Theoretically, our total inodes number is the same as total node number, but
there are three node ids are reserved in f2fs, they are 0, 1 (node nid), and 2
(meta nid), and they should never be used by user, so our total/free inode
number calculated in -&gt;statfs is wrong.

This patch indroduces F2FS_RESERVED_NODE_NUM and then fixes this issue by
recalculating total/free inode number with the macro.

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: handle EIO not to break fs consistency</title>
<updated>2014-08-21T20:55:05Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-08-12T01:37:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf779cab14d50a84b61399f758da269654b863db'/>
<id>urn:sha1:cf779cab14d50a84b61399f758da269654b863db</id>
<content type='text'>
There are two rules when EIO is occurred.
1. don't write any checkpoint data to preserve the previous checkpoint
2. don't lose the cached dentry/node/meta pages

So, at first, this patch adds set_page_dirty in f2fs_write_end_io's failure.
Then, writing checkpoint/dentry/node blocks is not allowed.

Note that, for the data pages, we can't just throw away by redirtying them.
Otherwise, kworker can fall into infinite loop to flush them.
(Ref. xfstests/019)

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: check s_dirty under cp_mutex</title>
<updated>2014-08-21T16:21:02Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-08-12T01:37:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8501017e50fb7586ba522a2913ce664d6c2024f6'/>
<id>urn:sha1:8501017e50fb7586ba522a2913ce664d6c2024f6</id>
<content type='text'>
It needs to check s_dirty under cp_mutex, since s_dirty is reset under that
mutex.
And previous condition was not correct, since we can omit doing checkpoint
when checkpoint was done followed by all the node pages were written back.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: introduce f2fs_cp_error for readability</title>
<updated>2014-08-21T16:21:00Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-08-11T23:49:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1e968fdfe69e4060f05fa04059ecad93a0284e32'/>
<id>urn:sha1:1e968fdfe69e4060f05fa04059ecad93a0284e32</id>
<content type='text'>
This patch adds f2fs_cp_error for readability.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: give a chance to mount again when encountering errors</title>
<updated>2014-08-21T16:21:00Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-08-08T22:37:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed2e621a95d704e6a4e904cc00524e8cbddda0c2'/>
<id>urn:sha1:ed2e621a95d704e6a4e904cc00524e8cbddda0c2</id>
<content type='text'>
This patch gives another chance to try mount process when we encounter an error.
This makes an effect on the roll-forward recovery failures as well.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: trigger release_dirty_inode in f2fs_put_super</title>
<updated>2014-08-21T16:20:29Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-08-19T16:48:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6f12ac25f0167adb5d9ad5547fd6838380261e5c'/>
<id>urn:sha1:6f12ac25f0167adb5d9ad5547fd6838380261e5c</id>
<content type='text'>
The generic_shutdown_super calls sync_filesystem, evict_inode, and then
f2fs_put_super. In f2fs_evict_inode, we remain some dirty inode information
so we should release them at f2fs_put_super.

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: don't skip checkpoint if there is no dirty node pages</title>
<updated>2014-08-19T17:01:35Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-08-19T16:13:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97c3c5cac2bba0ecc4b0de83d33a23aa427ef628'/>
<id>urn:sha1:97c3c5cac2bba0ecc4b0de83d33a23aa427ef628</id>
<content type='text'>
This is the errorneous scenario.
1. write data
2. do checkpoint
3. produce some dirty node pages by the gc thread
4. write back dirty node pages
5. f2fs_put_super will skip the checkpoint, since dirty count for node pages is
  zero.

This patch removes such the wrong condition check.

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: reduce competition among node page writes</title>
<updated>2014-07-31T06:28:37Z</updated>
<author>
<name>Chao Yu</name>
</author>
<published>2014-07-03T10:58:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b3582c68920105e29d219714d8a6fbde25a43379'/>
<id>urn:sha1:b3582c68920105e29d219714d8a6fbde25a43379</id>
<content type='text'>
We do not need to block on -&gt;node_write among different node page writers e.g.
fsync/flush, unless we have a node page writer from write_checkpoint.
So it's better use rw_semaphore instead of mutex type for -&gt;node_write to
promote performance.

Signed-off-by: Chao Yu &lt;chao2.yu@samsung.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
</feed>
