Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
os/bluestore/BlueFS: prevent _compact_log_async reentry
_should_compact_log uses new_log != nullptr to tell whether compaction is already in progress, but we don't set it until we are midway through the process. Set it at the top of the method to prevent reentry. See 455cc6c, which failed to implement this properly. Fixes: http://tracker.ceph.com/issues/21250 Signed-off-by: Sage Weil <[email protected]>
- Loading branch information