[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TAKE - fix ABBA deadlock under heavy load



This may be what Andrew Tridgell hit, I hit it running dbench 140
and deadlocked between kswapd reclaiming inodes and kupdated 
flushing inodes. 160 stack traces later......


Date:  Tue Aug 14 14:58:24 PDT 2001
Workarea:  jen.americas.sgi.com:/src/lord/xfs-linux.2.4

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs


Modid:  2.4.x-xfs:slinx:100765a
linux/fs/xfs/xfs_vnodeops.c - 1.508
	- Remove ABBA deadlock between ilock and ihash lock, the ihash lock in
	  xfs_finish_reclaim is a hang over from an earlier implementation on
	  Linux, we do not need it anymore, and at some point this deadlock
	  got introduced.