• Stephen Lord's avatar
    [XFS] Fix deadlock between xfs_finish_reclaim and xfs_iget_core. An inode being · cecd52a7
    Stephen Lord authored
    reclaimed and removed from memory by one thread while another thread
    is attempting to reuse the inode and bring it back to life. There
    was a window between the iget starting to reuse the inode and the
    reclaim starting. Close the window by marking the inode as being
    reused under the hash lock, and by abandoning the reclaim if this
    is detected when it obtains the hash lock.
    
    SGI Modid: 2.5.x-xfs:slinx:151123a
    cecd52a7
xfs_inode.h 18.2 KB