With these changes, every call to log compaction will try to expand its
runway in case of insufficient log space. async compaction will ignore
the `log_forbidden_to_expand` atomic since we know it should't be
harmful. In any other case, expansion of log will wait until compaction
is completed.
in order to ensure op_file_update_inc fits on disk we increase the size
of logs as previously used in _maybe_extend_log. This means we too bring
back _maybe_extend_log with a different usage.
_maybe_extend_log increases the size of the log if the runway is less
than the min runway and if the current transaction is too big to fit.
Fixes: https://tracker.ceph.com/issues/58759 Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>