• D
    [XFS] Combine the XFS and Linux inodes · bf904248
    David Chinner 提交于
    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()
    
    SGI-PV: 988141
    
    SGI-Modid: xfs-linux-melb:xfs-kern:32323a
    Signed-off-by: NDavid Chinner <david@fromorbit.com>
    Signed-off-by: NLachlan McIlroy <lachlan@sgi.com>
    Signed-off-by: NChristoph Hellwig <hch@infradead.org>
    bf904248
xfs_inode.c 131.9 KB