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
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
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
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