[PATCH 3/6] nilfs2: keep zero value in i_cno except for gc-inodes

2010-08-22 Thread Ryusuke Konishi
On-memory inode structures of nilfs have a member i_cno which stores a checkpoint number related to the inode. For gc-inodes, this field indicates version of data each gc-inode caches for GC. Log writer temporarily uses i_cno to transfer the latest checkpoint number. This stops the latter use

[PATCH 0/6] nilfs2: remove own inode hash table

2010-08-22 Thread Ryusuke Konishi
This is a patchset to remove own inode hash table from nilfs. The current version of nilfs uses inode not only to manage regular files, directories, symlinks but also for some types of metadata and for caching file blocks relocated by GC. The last type of inodes is called gc-inodes, and nilfs

[PATCH 6/6] nilfs2: remove own inode hash used for GC

2010-08-22 Thread Ryusuke Konishi
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 konishi.ryus...@lab.ntt.co.jp --- fs/nilfs2/gcinode.c | 140

[GIT PULL] nilfs2 additional fix

2010-08-22 Thread Ryusuke Konishi
Hi Linus, please pull: git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2.git for-linus to grab the following fix, which corrects sync failure of discard in nilfs that Christoph noticed me recently. Thanks! Ryusuke Konishi -- The following changes since commit