Upstream master PR#43600 (mentioned in Comment 2) was merged. Pacific backport PR is now open: https://github.com/ceph/ceph/pull/43619