Skip to content
  • Christoph Hellwig's avatar
    xfs: use hlist_add_fake · c6f6cd06
    Christoph Hellwig authored
    
    
    XFS does not need it's inodes to actuall be hashed in the VFS inode
    cache, but we require the inode to be marked hashed for the
    writeback code to work.
    
    Insted of using insert_inode_hash, which requires a second
    inode_lock roundtrip after the partial merge of the inode
    scalability patches in 2.6.37-rc simply use the new hlist_add_fake
    helper to mark it hashed without requiring a lock or touching a
    global cache line.
    
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarAlex Elder <aelder@sgi.com>
    c6f6cd06