]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: _txc_release_alloc when do wal cleaning
authorXinze Chi <xinze@xsky.com>
Wed, 28 Dec 2016 02:33:40 +0000 (10:33 +0800)
committerSage Weil <sage@redhat.com>
Fri, 30 Dec 2016 18:55:58 +0000 (13:55 -0500)
Signed-off-by: Xinze Chi <xinze@xsky.com>
(cherry picked from commit 59fdcc199039f875bff5bc218b61b2e6857e885c)

src/os/bluestore/BlueStore.cc

index 2ca7882085dbd122abc1fb1ba8802442a256793a..57569e0c7ac65eea4ad14da29d245ee87727292a 100644 (file)
@@ -6772,6 +6772,7 @@ void BlueStore::_kv_sync_thread()
       }
       while (!wal_cleaning.empty()) {
        TransContext *txc = wal_cleaning.front();
+       _txc_release_alloc(txc);
        _txc_state_proc(txc);
        wal_cleaning.pop_front();
       }