From e0e96ae80d21c6b94e05fbf3af457001a005ce09 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 9 Jan 2007 04:04:26 +0000 Subject: r20624: added AIO read to pvfs backend (This used to be commit d6e20d6d8c5c207e7f04b0d0523224437b209917) --- source4/ntvfs/posix/vfs_posix.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/ntvfs/posix/vfs_posix.h') diff --git a/source4/ntvfs/posix/vfs_posix.h b/source4/ntvfs/posix/vfs_posix.h index 4a81088d1c..4fd4cb82d8 100644 --- a/source4/ntvfs/posix/vfs_posix.h +++ b/source4/ntvfs/posix/vfs_posix.h @@ -210,6 +210,7 @@ struct pvfs_search_state { #define PVFS_FLAG_STRICT_LOCKING (1<<6) #define PVFS_FLAG_XATTR_ENABLE (1<<7) #define PVFS_FLAG_FAKE_OPLOCKS (1<<8) +#define PVFS_FLAG_LINUX_AIO (1<<9) /* forward declare some anonymous structures */ struct pvfs_dir; @@ -224,6 +225,7 @@ enum pvfs_wait_notice {PVFS_WAIT_EVENT, PVFS_WAIT_TIMEOUT, PVFS_WAIT_CANCEL}; #define PVFS_ALLOCATION_ROUNDING "posix:allocationrounding" #define PVFS_SEARCH_INACTIVITY "posix:searchinactivity" #define PVFS_ACL "posix:acl" +#define PVFS_AIO "posix:aio" #define PVFS_XATTR_DEFAULT True #define PVFS_FAKE_OPLOCKS_DEFAULT False @@ -240,4 +242,7 @@ struct pvfs_acl_ops { #include "ntvfs/posix/vfs_posix_proto.h" +NTSTATUS pvfs_aio_pread(struct ntvfs_request *req, union smb_read *rd, + struct pvfs_file *f, uint32_t maxcnt); + #endif /* _VFS_POSIX_H_ */ -- cgit