changeset 20169:e9dd4bfa2c8c

lib-fs: Added FS_PROPERTY_FASTCOPY_CHANGED_METADATA
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 12 May 2016 15:10:47 -0400
parents 977034dd5969
children 058f5c828ab5
files src/lib-fs/fs-api.h
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-fs/fs-api.h	Thu Apr 28 12:45:01 2016 +0300
+++ b/src/lib-fs/fs-api.h	Thu May 12 15:10:47 2016 -0400
@@ -36,7 +36,9 @@
 	/* Backend support asynchronous file operations. */
 	FS_PROPERTY_ASYNC		= 0x800,
 	/* Backend supports FS_ITER_FLAG_OBJECTIDS. */
-	FS_PROPERTY_OBJECTIDS		= 0x1000
+	FS_PROPERTY_OBJECTIDS		= 0x1000,
+	/* fs_copy() is fast even when file's metadata is changed */
+	FS_PROPERTY_FASTCOPY_CHANGED_METADATA = 0x2000,
 };
 
 enum fs_open_mode {