aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSteve French <[email protected]>2019-03-28 22:32:49 -0500
committerSteve French <[email protected]>2019-04-01 14:33:34 -0500
commit153322f7536a181e4d1b288aa6f01c0ce65f5c7c (patch)
treec4cc94644199173ea35a722fec2219758b437e49 /tools/perf/scripts/python/exported-sql-viewer.py
parent2f94a3125b8742b05a011d62b16f52eb8f9ebe1c (diff)
smb3: Fix enumerating snapshots to Azure
Some servers (see MS-SMB2 protocol specification section 3.3.5.15.1) expect that the FSCTL enumerate snapshots is done twice, with the first query having EXACTLY the minimum size response buffer requested (16 bytes) which refreshes the snapshot list (otherwise that and subsequent queries get an empty list returned). So had to add code to set the maximum response size differently for the first snapshot query (which gets the size needed for the second query which contains the actual list of snapshots). Signed-off-by: Steve French <[email protected]> Reviewed-by: Ronnie Sahlberg <[email protected]> Reviewed-by: Pavel Shilovsky <[email protected]> CC: Stable <[email protected]> # 4.19+
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions