s3/vfs: add duration to vfs_aio_state
authorRalph Boehme <slow@samba.org>
Mon, 29 Feb 2016 11:17:18 +0000 (12:17 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 2 Mar 2016 00:22:13 +0000 (01:22 +0100)
This will be used in the aio backends to pass the competion time of the
async request in the backend.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/include/vfs.h

index a5ea8e6e1332f25c3f3e8e00d90043eec1802a76..9ea4e752fddfb61fde3ea5c04ec8ddb45924afe2 100644 (file)
@@ -523,6 +523,7 @@ enum vfs_fallocate_flags {
 
 struct vfs_aio_state {
        int error;
+       uint64_t duration;
 };
 
 /*