[Top] [All Lists]

TAKE 988141 - Combine the XFS and Linux inodes

To: sgi.bugs.xfs@xxxxxxxxxxxx, xfs@xxxxxxxxxxx
Subject: TAKE 988141 - Combine the XFS and Linux inodes
From: lachlan@xxxxxxx (Lachlan McIlroy)
Date: Wed, 15 Oct 2008 13:01:42 +1100 (EST)
Combine the XFS and Linux inodes

To avoid issues with different lifecycles of XFS and Linux inodes,
embedd the linux inode inside the XFS inode. This means that the
linux inode has the same lifecycle as the XFS inode, even when it
has been released by the OS. XFS inodes don't live much longer than
this (a short stint in reclaim at most), so there isn't significant
memory usage penalties here.

Version 3
o kill xfs_icount()

Version 2
o remove unused commented out code from xfs_iget().
o kill useless cast in VFS_I()

Signed-off-by: Dave Chinner <david@xxxxxxxxxxxxx>

Date:  Wed Oct 15 13:01:18 EST 2008
Workarea:  redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-inode
Inspected by:  hch
Author:  lachlan

The following file(s) were checked into:

Modid:  xfs-linux-melb:xfs-kern:32323a
fs/xfs/xfs_vnodeops.c - 1.777 - changed
fs/xfs/xfs_iget.c - 1.250 - changed
fs/xfs/xfs_inode.c - 1.530 - changed
fs/xfs/xfs_inode.h - 1.263 - changed
fs/xfs/linux-2.6/xfs_vnode.c - 1.165 - changed
fs/xfs/linux-2.6/xfs_super.c - 1.458 - changed
fs/xfs/linux-2.6/xfs_iops.c - 1.302 - changed
        - Combine the XFS and Linux inodes

<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 988141 - Combine the XFS and Linux inodes, Lachlan McIlroy <=