]> bbs.cooldavid.org Git - net-next-2.6.git/commit
Btrfs: reduce worker thread spin_lock_irq hold times
authorChris Mason <chris.mason@oracle.com>
Fri, 7 Aug 2009 13:27:38 +0000 (09:27 -0400)
committerChris Mason <chris.mason@oracle.com>
Fri, 11 Sep 2009 17:31:04 +0000 (13:31 -0400)
commit4f878e8475a465ddbd951e06a23317303f1b5b30
tree7e1811794d3f6eaf455a3e26afd49ba06a0db554
parent4e3f9c5042b43301d70781aee4a164a20878066b
Btrfs: reduce worker thread spin_lock_irq hold times

This changes the btrfs worker threads to batch work items
into a local list.  It allows us to pull work items in
large chunks and significantly reduces the number of times we
need to take the worker thread spinlock.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/async-thread.c