diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-01-09 04:04:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:37:16 -0500 |
commit | e0e96ae80d21c6b94e05fbf3af457001a005ce09 (patch) | |
tree | f5c50ceb4dd0cb464cab8ab848e46ba19ff0a976 /source4/ntvfs/posix/vfs_posix.h | |
parent | 2ed11961292c928be5166b1774e05676bbfabce8 (diff) | |
download | samba-e0e96ae80d21c6b94e05fbf3af457001a005ce09.tar.gz samba-e0e96ae80d21c6b94e05fbf3af457001a005ce09.tar.bz2 samba-e0e96ae80d21c6b94e05fbf3af457001a005ce09.zip |
r20624: added AIO read to pvfs backend
(This used to be commit d6e20d6d8c5c207e7f04b0d0523224437b209917)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.h')
-rw-r--r-- | source4/ntvfs/posix/vfs_posix.h | 5 |
1 files changed, 5 insertions, 0 deletions
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_ */ |