aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPavel Shilovsky <[email protected]>2019-02-13 15:43:08 -0800
committerSteve French <[email protected]>2019-03-04 20:05:35 -0600
commit7b9b9edb49ad377b1e06abf14354c227e9ac4b06 (patch)
tree8c775808fc8f882623666391eaccc14923bcd0be /tools/perf/scripts/python
parentd26e2903fc10cfa2d3b8587b9eb8cf7c2a3ff2f5 (diff)
CIFS: Do not reset lease state to NONE on lease break
Currently on lease break the client sets a caching level twice: when oplock is detected and when oplock is processed. While the 1st attempt sets the level to the value provided by the server, the 2nd one resets the level to None unconditionally. This happens because the oplock/lease processing code was changed to avoid races between page cache flushes and oplock breaks. The commit c11f1df5003d534 ("cifs: Wait for writebacks to complete before attempting write.") fixed the races for oplocks but didn't apply the same changes for leases resulting in overwriting the server granted value to None. Fix this by properly processing lease breaks. Signed-off-by: Pavel Shilovsky <[email protected]> Signed-off-by: Steve French <[email protected]> CC: Stable <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions