aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGuoqing Jiang <[email protected]>2022-07-06 21:31:46 +0800
committerJens Axboe <[email protected]>2022-08-02 17:14:45 -0600
commit52334f4a573d8a91ebe1581bac5fa8027df59221 (patch)
tree4b2eb6f1b275e2bfd308ee4b3f2196902d272b9d /tools/perf/scripts/python/export-to-sqlite.py
parent9ddae3bab6d7bc769c7ca94ba010f33bc3f1aa8c (diff)
rnbd-clt: don't free rsp in msg_open_conf for map scenario
For map scenario, rsp is freed in two places: 1. msg_open_conf frees rsp if rtrs_clt_request returns 0. 2. Otherwise, rsp is freed by the call sites of rtrs_clt_request. Now, We'd like to control full lifecycle of rsp in rnbd_clt_map_device, with that, it is feasible to pass rsp to rnbd_client_setup_device in next commit. For 1, it is possible to free rsp from the caller of send_usr_msg because of the synchronization of iu->comp.wait. And we put iu later in rnbd_clt_map_device to ensure order of release rsp and iu. Acked-by: Jack Wang <[email protected]> Signed-off-by: Guoqing Jiang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions