diff options
author | Josef Bacik <josef@toxicpanda.com> | 2024-03-01 19:49:56 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2024-03-09 17:14:51 +0300 |
commit | 094501358e7a165071673e754c3925683683057f (patch) | |
tree | 1b1b28334638d38f5b1f46439eb38ffae2b1b697 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b326df4a8ec6ef53e2e2f1c2cbf14f8a20e85baa (diff) | |
download | linux-094501358e7a165071673e754c3925683683057f.tar.xz |
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 <josef@toxicpanda.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions