aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2015-08-06 12:06:30 -0400
committerTrond Myklebust <[email protected]>2015-08-17 13:37:21 -0500
commit7c2dad99d60c86ec686b3bfdcb787c450a7ea89f (patch)
tree020ae5b00a03fbf69b1624ca2cbcb2d95f31b4f7 /tools/perf/scripts/python
parent74918f937d9896aa2910cfe81f06499abd1dba59 (diff)
NFS: Don't let the ctime override attribute barriers.
Chuck reports seeing cases where a GETATTR that happens to race with an asynchronous WRITE is overriding the file size, despite the attribute barrier being set by the writeback code. The culprit turns out to be the check in nfs_ctime_need_update(), which sees that the ctime is newer than the cached ctime, and assumes that it is safe to override the attribute barrier. This patch removes that override, and ensures that attribute barriers are always respected. Reported-by: Chuck Lever <[email protected]> Fixes: a08a8cd375db9 ("NFS: Add attribute update barriers to NFS writebacks") Cc: [email protected] # v4.0+ Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions