• C
    xfs: use hlist_add_fake · c6f6cd06
    Christoph Hellwig 提交于
    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: NChristoph Hellwig <hch@lst.de>
    Signed-off-by: NAlex Elder <aelder@sgi.com>
    c6f6cd06
xfs_iops.c 18.6 KB