]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/BlueFS: do not start racing async compaction 11010/head
authorSage Weil <sage@redhat.com>
Wed, 7 Sep 2016 19:29:30 +0000 (15:29 -0400)
committerSage Weil <sage@redhat.com>
Wed, 7 Sep 2016 19:29:30 +0000 (15:29 -0400)
commitdbe23c94c0074358380a40d47a417f7999920696
tree3348f800a3fa1550aaaf354d96384f5002217726
parentf8abb628a440951833b7d81d834a6aef5a651920
os/bluestore/BlueFS: do not start racing async compaction

Compaction is triggred from sync_metadata.  If one compaction is
in progress and another thread also calls sync_metadata, do not
trigger a second async compaction!

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueFS.cc