diff options
author | Mark Nelson <mnelson@redhat.com> | 2017-07-10 17:39:15 +0200 |
---|---|---|
committer | Mark Nelson <mnelson@redhat.com> | 2017-07-12 01:31:16 +0200 |
commit | e8346dc9a9e5bc11bcdfed74f652dceb8e56feda (patch) | |
tree | b0ef9a27cde018e5437829c1ccd8d6925ef94990 /src/os/bluestore/BitmapFreelistManager.cc | |
parent | Merge pull request #15858 from liewegas/wip-mgr-servicemap (diff) | |
download | ceph-e8346dc9a9e5bc11bcdfed74f652dceb8e56feda.tar.xz ceph-e8346dc9a9e5bc11bcdfed74f652dceb8e56feda.zip |
os/bluestore: Make BitmapFreelistManager kv itereator short lived.
Signed-off-by: Mark Nelson <mnelson@redhat.com>
Diffstat (limited to 'src/os/bluestore/BitmapFreelistManager.cc')
-rw-r--r-- | src/os/bluestore/BitmapFreelistManager.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/bluestore/BitmapFreelistManager.cc b/src/os/bluestore/BitmapFreelistManager.cc index a3b3a5ec8a5..d3fdbb71a8d 100644 --- a/src/os/bluestore/BitmapFreelistManager.cc +++ b/src/os/bluestore/BitmapFreelistManager.cc @@ -183,6 +183,7 @@ void BitmapFreelistManager::enumerate_reset() enumerate_offset = 0; enumerate_bl_pos = 0; enumerate_bl.clear(); + enumerate_p.reset(); } int get_next_clear_bit(bufferlist& bl, int start) |