aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2017-07-11 21:53:48 +0000
committerAnna Schumaker <[email protected]>2017-07-13 21:12:07 +0000
commitb4f937cffa66b3d56eb8f586e620d0b223a281a3 (patch)
tree1e86b94a773529cae5a3144e03ff7b35f7673188 /lib/fault-inject.c
parentnfs: add export operations (diff)
downloadkernel-b4f937cffa66b3d56eb8f586e620d0b223a281a3.tar.gz
kernel-b4f937cffa66b3d56eb8f586e620d0b223a281a3.zip
NFS: Don't run wake_up_bit() when nobody is waiting...
"perf lock" shows fairly heavy contention for the bit waitqueue locks when doing an I/O heavy workload. Use a bit to tell whether or not there has been contention for a lock so that we can optimise away the bit waitqueue options in those cases. Signed-off-by: Trond Myklebust <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions