aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorBrian Foster <[email protected]>2012-06-11 10:39:43 -0400
committerBen Myers <[email protected]>2012-06-21 10:53:43 -0500
commit76e8f1386673b864cfca3c24c4d5814740e76465 (patch)
treed40ff79f2b5800c6dcbb3670c6a81b61719575a4 /include/linux/timerqueue.h
parent51c84223af604ce2d00d0416c30a38c50aed00bd (diff)
xfs: check for stale inode before acquiring iflock on push
An inode in the AIL can be flush locked and marked stale if a cluster free transaction occurs at the right time. The inode item is then marked as flushing, which causes xfsaild to spin and leaves the filesystem stalled. This is reproduced by running xfstests 273 in a loop for an extended period of time. Check for stale inodes before the flush lock. This marks the inode as pinned, leads to a log flush and allows the filesystem to proceed. Signed-off-by: Brian Foster <[email protected]> Reviewed-by: Dave Chinner <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Mark Tinguely <[email protected]> Signed-off-by: Ben Myers <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions