Josef Bacik 094501358e 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>
2024-03-09 09:14:51 -05:00
..
2024-01-10 16:13:57 -08:00
2024-01-10 16:13:57 -08:00
2023-03-06 09:57:12 +01:00
2024-03-09 09:14:51 -05:00
2023-03-06 09:57:12 +01:00
2024-03-09 09:14:51 -05:00
2023-10-09 16:24:20 +02:00
2022-05-09 16:36:48 -04:00
2023-08-19 10:26:29 -04:00