diff options
| author | Trond Myklebust <[email protected]> | 2021-06-17 23:26:52 +0000 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2021-07-07 00:14:44 +0000 |
| commit | 474bc334698df98ce07c890f1898c7e7f389b0c7 (patch) | |
| tree | cc20b6c784eb464070790b61ed86c7c278510275 /drivers/fpga/fpga-bridge.c | |
| parent | lockd: Update the NLMv4 SHARE results encoder to use struct xdr_stream (diff) | |
| download | kernel-474bc334698df98ce07c890f1898c7e7f389b0c7.tar.gz kernel-474bc334698df98ce07c890f1898c7e7f389b0c7.zip | |
nfsd: Reduce contention for the nfsd_file nf_rwsem
When flushing out the unstable file writes as part of a COMMIT call, try
to perform most of of the data writes and waits outside the semaphore.
This means that if the client is sending the COMMIT as part of a memory
reclaim operation, then it can continue performing I/O, with contention
for the lock occurring only once the data sync is finished.
Fixes: 5011af4c698a ("nfsd: Fix stable writes")
Signed-off-by: Trond Myklebust <[email protected]>
Tested-by: Chuck Lever <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
