]> git.baikalelectronics.ru Git - kernel.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)
commit30d550625775cdfcddef7fddd98a5ad9db93588f
tree7e1811794d3f6eaf455a3e26afd49ba06a0db554
parent48d23ce98b224940a817f4da56ecad22249b3b00
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