commit | cbea5ac1ee03197354bd38caad3fcb798f185181 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@fusionio.com> | Mon Jul 23 15:25:05 2012 -0400 |
committer | Chris Mason <chris.mason@fusionio.com> | Mon Jul 23 15:36:18 2012 -0400 |
tree | 3d6b62c1fd163107ecb08d6489cf0bc159e6df12 | |
parent | e39e64ac0cdeca3798a6bf186f873be20e2f57b4 [diff] |
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: Chris Mason <chris.mason@fusionio.com>