aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDominique Martinet <[email protected]>2018-10-09 11:18:52 +0900
committerDominique Martinet <[email protected]>2018-10-10 09:13:30 +0900
commite4ca13f7d075e551dc158df6af18fb412a1dba0a (patch)
treead307b27d11af6952e8494218d03a6c6171ec5ac /tools/perf/scripts/python/export-to-postgresql.py
parent72ea0321088df2c41eca8cc6160c24bcceb56ac7 (diff)
9p/trans_fd: abort p9_read_work if req status changed
p9_read_work would try to handle an errored req even if it got put to error state by another thread between the lookup (that worked) and the time it had been fully read. The request itself is safe to use because we hold a ref to it from the lookup (for m->rreq, so it was safe to read into the request data buffer until this point), but the req_list has been deleted at the same time status changed, and client_cb already has been called as well, so we should not do either. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Dominique Martinet <[email protected]> Reported-by: [email protected] Cc: Eric Van Hensbergen <[email protected]> Cc: Latchesar Ionkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions