aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJavier González <[email protected]>2018-06-01 16:41:11 +0200
committerJens Axboe <[email protected]>2018-06-01 09:02:53 -0600
commit87cc40bbe3371d0af1a2f31bf90665b55d3d1c0d (patch)
treeee39efbe702adc3f1f94d0249914f83b40abf49c /tools/perf/util/scripting-engines/trace-event-python.c
parent4a828884c694dfaf002688b91a102e35d4961a1b (diff)
lightnvm: pblk: remove unnecessary bio_get/put
In the read path, pblk gets a reference to the incoming bio and puts it after ending the bio. Though this behavior is correct, it is unnecessary since pblk is the one putting the bio, therefore, it cannot disappear underneath it. Removing this reference, allows to clean up rqd->bio and avoids pointer bouncing for the different read paths. Now, the incoming bio always resides in the read context and pblk's internal bios (if any) reside in rqd->bio. Signed-off-by: Javier González <[email protected]> Signed-off-by: Matias Bjørling <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions