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.c | |
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.c')
-rw-r--r-- | source4/ntvfs/posix/vfs_posix.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c index ad47908b6e..c8d85b557c 100644 --- a/source4/ntvfs/posix/vfs_posix.c +++ b/source4/ntvfs/posix/vfs_posix.c @@ -55,9 +55,10 @@ static void pvfs_setup_options(struct pvfs_state *pvfs) pvfs->flags |= PVFS_FLAG_STRICT_LOCKING; if (share_bool_option(scfg, SHARE_CI_FILESYSTEM, SHARE_CI_FILESYSTEM_DEFAULT)) pvfs->flags |= PVFS_FLAG_CI_FILESYSTEM; - if (share_bool_option(scfg, PVFS_FAKE_OPLOCKS, PVFS_FAKE_OPLOCKS_DEFAULT)) { + if (share_bool_option(scfg, PVFS_FAKE_OPLOCKS, PVFS_FAKE_OPLOCKS_DEFAULT)) pvfs->flags |= PVFS_FLAG_FAKE_OPLOCKS; - } + if (share_bool_option(scfg, PVFS_AIO, False)) + pvfs->flags |= PVFS_FLAG_LINUX_AIO; /* this must be a power of 2 */ pvfs->alloc_size_rounding = share_int_option(scfg, |