From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Chinner Subject: fs: break out inode LRU operations from node_lock Date: Wed, 27 Oct 2010 15:23:00 +1100 Message-ID: <1288153384-8878-1-git-send-email-david@fromorbit.com> Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: viro@ZenIV.linux.org.uk Return-path: Received: from bld-mail15.adl6.internode.on.net ([150.101.137.100]:43962 "EHLO mail.internode.on.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751060Ab0J0EX4 (ORCPT ); Wed, 27 Oct 2010 00:23:56 -0400 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi Al, The following patches break the inode LRU operations and the first half of iput_final() out from under the inode_lock. I included the dispose_one_inode factoring patch to isolate the inode_lock from iput_final() completely. It's easy enough to drop if you don't want that right now. It passes xfstests on 1-, 2- and 8-way VMs, survives 8-way parallel create/traverse/unlink workloads with 0, 1 and 65536 byte files on XFS and ext4, and shows no problems with looping 50-client dbench runs on XFS or ext4. The patches should apply to your current merge-stem tree.