<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/nilfs2/inode.c, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-10-23T00:24:38Z</updated>
<entry>
<title>nilfs2: see state of root dentry for mount check of snapshots</title>
<updated>2010-10-23T00:24:38Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2010-09-13T02:16:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=032dbb3b503a30fce732ec4c05525d0abed1f1d6'/>
<id>urn:sha1:032dbb3b503a30fce732ec4c05525d0abed1f1d6</id>
<content type='text'>
After applied the patch that unified sb instances, root dentry of
snapshots can be left in dcache even after their trees are unmounted.

The orphan root dentry/inode keeps a root object, and this causes
false positive of nilfs_checkpoint_is_mounted function.

This resolves the issue by having nilfs_checkpoint_is_mounted test
whether the root dentry is busy or not.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: use iget for all metadata files</title>
<updated>2010-10-23T00:24:38Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2010-09-05T03:20:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f1e89c86fdd0f5e59f6768146c86437934202033'/>
<id>urn:sha1:f1e89c86fdd0f5e59f6768146c86437934202033</id>
<content type='text'>
This makes use of iget5_locked to allocate or get inode for metadata
files to stop using own inode allocator.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: allow nilfs_clear_inode to clear metadata file inodes</title>
<updated>2010-10-23T00:24:37Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2010-08-20T14:40:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=518d1a6a1d6610a014875a2fe3252e89b6260d2f'/>
<id>urn:sha1:518d1a6a1d6610a014875a2fe3252e89b6260d2f</id>
<content type='text'>
Allows clear inode function (nilfs_clear_inode) to handle metadata
files that uses bitmap-based object alloctor.  DAT and ifile
correspond to this.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: deny write access to inodes in snapshots</title>
<updated>2010-10-23T00:24:35Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2010-08-15T14:33:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dc3d3b810a644dfa329efaa230cd514226f8981d'/>
<id>urn:sha1:dc3d3b810a644dfa329efaa230cd514226f8981d</id>
<content type='text'>
Snapshots of nilfs are read-only.

After super block instances (sb) will be unified, nilfs will need to
check write access by a way other than implicit test with
IS_RDONLY(inode).  This is because IS_RDONLY() refers to MS_RDONLY bit
of inode-&gt;i_sb-&gt;s_flags and it will become inaccurate after the
unification of sb.

To prepare for the issue, this uses i_op-&gt;permission to deny write
access to inodes in snapshots.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: move inode count and block count into root object</title>
<updated>2010-10-23T00:24:35Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2010-08-14T05:48:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b7c0634204993d7c6678c852e4bd118426599111'/>
<id>urn:sha1:b7c0634204993d7c6678c852e4bd118426599111</id>
<content type='text'>
This moves sbi-&gt;s_inodes_count and sbi-&gt;s_blocks_count into nilfs_root
object.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: use root object to get ifile</title>
<updated>2010-10-23T00:24:35Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2010-08-14T04:07:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e912a5b66837ee89fb025e67b5efeaa11930c2ce'/>
<id>urn:sha1:e912a5b66837ee89fb025e67b5efeaa11930c2ce</id>
<content type='text'>
This rewrites functions using ifile so that they get ifile from
nilfs_root object, and will remove sbi-&gt;s_ifile.  Some functions that
don't know the root object are extended to receive it from caller.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: set pointer to root object in inodes</title>
<updated>2010-10-23T00:24:34Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2010-08-25T08:45:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d8d9293dce503eb0e083e17a02a328d397e7f00'/>
<id>urn:sha1:4d8d9293dce503eb0e083e17a02a328d397e7f00</id>
<content type='text'>
This puts a pointer to nilfs_root object in the private part of
on-memory inode, and makes nilfs_iget function pick up the inode with
the same root object.

Non-root inodes inherit its nilfs_root object from parent inode.  That
of the root inode is allocated through nilfs_attach_checkpoint()
function.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: remove own inode hash used for GC</title>
<updated>2010-10-23T00:24:34Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2010-08-20T10:06:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=263d90cefc7d82a01c296c59532ff59d67c63509'/>
<id>urn:sha1:263d90cefc7d82a01c296c59532ff59d67c63509</id>
<content type='text'>
This uses inode hash function that vfs provides instead of the own
hash table for caching gc inodes.  This finally removes the own inode
hash from nilfs.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: use iget5_locked to get inode</title>
<updated>2010-10-23T00:24:33Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2010-08-20T12:20:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0e14a3595bddedfb27b51a6b0a29b5173aa2511a'/>
<id>urn:sha1:0e14a3595bddedfb27b51a6b0a29b5173aa2511a</id>
<content type='text'>
This uses iget5_locked instead of iget_locked so that gc cache can
look up inodes with an inode number and an optional checkpoint number.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: allow nilfs_dirty_inode to mark metadata file inodes dirty</title>
<updated>2010-10-23T00:24:33Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2010-08-20T15:30:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d6cd92fe2de3c286b8e95f43223f09db9302635'/>
<id>urn:sha1:7d6cd92fe2de3c286b8e95f43223f09db9302635</id>
<content type='text'>
This allows sop-&gt;dirty_inode callback function (nilfs_dirty_inode) to
handle metadata file inodes.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
</feed>
