commit | 6b06dd5a972288d011a49d63eb9f6a5003d2e932 | [log] [tgz] |
---|---|---|
author | Joe Thornber <ejt@redhat.com> | Tue Apr 13 13:09:32 2021 +0100 |
committer | Mike Snitzer <snitzer@redhat.com> | Fri Jun 04 12:07:23 2021 -0400 |
tree | 0d4e5f7db3b0b68f9995ef689ee1172f66661179 | |
parent | be500ed721a6ec8d49bf0814c277ce7162acee0e [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>