• David Chinner's avatar
    [XFS] Combine the XFS and Linux inodes · bf904248
    David Chinner authored
    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: default avatarDavid Chinner <david@fromorbit.com>
    Signed-off-by: default avatarLachlan McIlroy <lachlan@sgi.com>
    Signed-off-by: default avatarChristoph Hellwig <hch@infradead.org>
    bf904248
xfs_vnodeops.c 89.1 KB