| From: |
| Dave Chinner <david@fromorbit.com> |
| To: |
| viro@ZenIV.linux.org.uk |
| 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 |
| Archive‑link: | |
Article |
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/