aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2020-02-12 15:08:39 +0100
committerIlya Dryomov <idryomov@gmail.com>2020-03-30 12:42:40 +0200
commita52cc685753568e5bcbe762586c2bfbe7175255e (patch)
treea1550825ed173615dad5067d470e6b6fa1f5d29b /tools/perf/scripts/python/export-to-postgresql.py
parentrbd: get rid of img_request_layered_clear() (diff)
downloadlinux-rng-a52cc685753568e5bcbe762586c2bfbe7175255e.tar.xz
linux-rng-a52cc685753568e5bcbe762586c2bfbe7175255e.zip
rbd: acquire header_rwsem just once in rbd_queue_workfn()
Currently header_rwsem is acquired twice: once in rbd_dev_parent_get() when the image request is being created and then in rbd_queue_workfn() to capture mapping_size and snapc. Introduce rbd_img_capture_header() and move image request allocation so that header_rwsem can be acquired just once. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions