Skip to content
Commit cbea5ac1 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: reduce calls to wake_up on uncontended locks



The btrfs locks were unconditionally calling wake_up as the
locks were released.  This lead to extra thrashing on the waitqueue,
especially for locks that were dominated by readers.

Signed-off-by: default avatarChris Mason <chris.mason@fusionio.com>
parent e39e64ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment