diff options
| author | Josef Bacik <[email protected]> | 2024-03-01 16:49:56 +0000 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2024-03-09 14:14:51 +0000 |
| commit | 094501358e7a165071673e754c3925683683057f (patch) | |
| tree | 1b1b28334638d38f5b1f46439eb38ffae2b1b697 /tools/perf/scripts/python | |
| parent | NFS: enable nconnect for RDMA (diff) | |
| download | kernel-094501358e7a165071673e754c3925683683057f.tar.gz kernel-094501358e7a165071673e754c3925683683057f.zip | |
nfs: properly protect nfs_direct_req fields
We protect accesses to the nfs_direct_req fields with the dreq->lock
ever where except nfs_direct_commit_complete. This isn't a huge deal,
but it does lead to confusion, and we could potentially end up setting
NFS_ODIRECT_RESCHED_WRITES in one thread where we've had an error in
another. Clean this up to properly protect ->error and ->flags in the
commit completion path.
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
