]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-fs: Added FS_PROPERTY_FASTCOPY_CHANGED_METADATA
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 12 May 2016 19:10:47 +0000 (15:10 -0400)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 12 May 2016 19:32:17 +0000 (15:32 -0400)
src/lib-fs/fs-api.h

index c21080386c2d845d0ccde710a43fce9ab65d1a08..486e7fdf17677f99e90382e12badd378d766f308 100644 (file)
@@ -36,7 +36,9 @@ enum fs_properties {
        /* 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 {