Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JounralingObjectStore: journal->committed_thru after replay
It's possible that the osd stopped between when the filestore op_seq file was updated and when the journal was trimmed. In that case, it's possible that on boot the journal might be full, and yet not be trimmed because commit_start assumes there is no work to do. Calling committed_thru on the journal ensures that the journal matches committed_seq. Backport: emperor dumpling Fixes: 6756 Signed-off-by: Samuel Just <[email protected]> Reviewed-by: Josh Durgin <[email protected]> Reviewed-by: David Zafman <[email protected]>
- Loading branch information