/*------------------------------------------------------------------------- * cfs_checkpoint.h * Compressed File Store (CFS) — the checkpoint entry point. * * CfsCheckpoint() folds every dirty CFS relation's journal into its * .cfsmap snapshot, fsyncs the sidecars and resets the journal. The * implementation (two phases, state machine, durability contract) lives * in cfs_checkpoint.c; the SMgr-level helpers it drives stay in * cfs_smgr.c / cfs_shmem.c. * * Copyright (c) 2026, Kirillov Vyacheslav by AI, QDB Development Group * * IDENTIFICATION * src/include/storage/cfs/cfs_checkpoint.h * *------------------------------------------------------------------------- */ #ifndef CFS_CHECKPOINT_H #define CFS_CHECKPOINT_H #include "postgres.h" /* * CfsCheckpoint — persist a fresh .cfsmap snapshot for every known CFS * relation, fsync the sidecars and truncate the journal. Called from * CheckPointBuffers() after dirty buffers have been flushed. */ extern void CfsCheckpoint(void); #endif /* CFS_CHECKPOINT_H */