commit | 4e3f9c5042b43301d70781aee4a164a20878066b | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Wed Aug 05 16:36:45 2009 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Fri Sep 11 13:31:04 2009 -0400 |
tree | b2ace00c27553ec2a10958e17d6b90ea264d5886 | |
parent | 40431d6c1288793a682fc6f5e5b5c9d5cac34608 [diff] |
Btrfs: keep irqs on more often in the worker threads The btrfs worker thread spinlock was being used both for the queueing of IO and for the processing of ordered events. The ordered events never happen from end_io handlers, and so they don't need to use the _irq version of spinlocks. This adds a dedicated lock to the ordered lists so they don't have to run with irqs off. Signed-off-by: Chris Mason <chris.mason@oracle.com>