summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2021-04-13 13:09:32 +0100
committerMike Snitzer <snitzer@redhat.com>2021-06-04 12:07:23 -0400
commit6b06dd5a972288d011a49d63eb9f6a5003d2e932 (patch)
tree0d4e5f7db3b0b68f9995ef689ee1172f66661179 /scripts/gdb/linux/utils.py
parentbe500ed721a6ec8d49bf0814c277ce7162acee0e (diff)
dm space map disk: cache a small number of index entries
The disk space map stores it's index entries in a btree, these are accessed very frequently, so having a few cached makes a big difference to performance. With this change provisioning a new block takes roughly 20% less cpu. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions