]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix memory accounting in TwoQBufferCacheShard 37580/head
authorAdam Kupczyk <akupczyk@redhat.com>
Wed, 7 Oct 2020 10:34:04 +0000 (06:34 -0400)
committerAdam Kupczyk <akupczyk@redhat.com>
Wed, 7 Oct 2020 10:34:04 +0000 (06:34 -0400)
commitd302238839cc4f3985152aaa63bd83d06fd540a6
treeaf12abe53e1a163e4d0dfee320ebb91a5edd5d9b
parent99ebc0c45869ef6f10a06cbd5416bb4fed77a905
os/bluestore: fix memory accounting in TwoQBufferCacheShard

Variable buffer_bytes has been redefined in TwoQBufferCacheShard,
causing PriCache to see always 0 usage when 2q cache was selected,
as it looks at it through BufferCacheShard::_get_bytes().

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
src/os/bluestore/BlueStore.cc