When making snapshots if the Fb is being used because of the buffer is not flushed yet. Then it will defer flushing the snapcap back to MDS. And then if the file is overwrote and then a new snapshot is made then the first snapcap will be overwrote too. Fixes: https://tracker.ceph.com/issues/59343
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.