[PATCH 0/3] xfs: fixes for 3.12-rc2

Dave Chinner
2013-09-17T01:44:40Z

Hi folks,

Three patches for 3.12-rc2. The first has been posted previously,
and prevents an assert failure during a shutdown while zeroing space
with an uncached buffer.

The second patch is to fix a regression introduced in the 3.12 merge
by commit 46f9d2e ("xfs: aborted buf items can be in the AIL").

The third is fixing a thinko made a long time ago when adding RCU
freeing to the struct xfs_inode, but has only been exposed by the
recent merge of the per-node LRUs and shrinkers allowing concurrent
reclaim and lookup races to be hit easily. The RCU traversals of the
inode radix trees take the lock on the inode to determine if it is
being freed or not, and so that can race with freeing of the inode.
Hence we can't assert that the lock is not held when freeing the
inode.

These all fix regressions triggered by xfstests....

Cheers,

Dave.