aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLong Li <[email protected]>2018-12-16 23:17:04 +0000
committerSteve French <[email protected]>2018-12-23 22:42:19 -0600
commitb6bc8a7b993e62f82415a5e3e4a6469e80fea19c (patch)
treef605009680eb4847774849021be4f4fc045009ee /tools/perf/scripts/python/export-to-postgresql.py
parent59a63e479ce36a3f24444c3a36efe82b78e4a8e0 (diff)
CIFS: use the correct length when pinning memory for direct I/O for write
The current code attempts to pin memory using the largest possible wsize based on the currect SMB credits. This doesn't cause kernel oops but this is not optimal as we may pin more pages then actually needed. Fix this by only pinning what are needed for doing this write I/O. Signed-off-by: Long Li <[email protected]> Cc: [email protected] Signed-off-by: Steve French <[email protected]> Reviewed-by: Joey Pabalinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions