diff options
Diffstat (limited to 'xlators/features/changelog/src/changelog-misc.h')
-rw-r--r-- | xlators/features/changelog/src/changelog-misc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/features/changelog/src/changelog-misc.h b/xlators/features/changelog/src/changelog-misc.h index 257c1f34218..58b10961463 100644 --- a/xlators/features/changelog/src/changelog-misc.h +++ b/xlators/features/changelog/src/changelog-misc.h @@ -17,6 +17,7 @@ #define CHANGELOG_MAX_TYPE 3 #define CHANGELOG_FILE_NAME "CHANGELOG" #define HTIME_FILE_NAME "HTIME" +#define CSNAP_FILE_NAME "CHANGELOG.SNAP" #define HTIME_KEY "trusted.glusterfs.htime" #define HTIME_INITIAL_VALUE "0:0" @@ -71,6 +72,11 @@ strcpy (path, changelog_dir); \ strcat (path, "/htime"); \ } while(0) + +#define CHANGELOG_FILL_CSNAP_DIR(changelog_dir, path) do { \ + strcpy (path, changelog_dir); \ + strcat (path, "/csnap"); \ + } while(0) /** * everything after 'CHANGELOG_TYPE_ENTRY' are internal types * (ie. none of the fops trigger this type of event), hence |