summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorSteven Danneman <steven.danneman@isilon.com>2009-01-26 20:14:32 -0800
committerSteven Danneman <steven.danneman@isilon.com>2009-02-09 23:56:17 -0800
commit11f60a62a1d7633e9a8ec62da18ed9ababa694df (patch)
treecbf46c95dd109ef73e08ef2fba676268dbaa5943 /source3/include
parent6272f4c2f453c509b8a3893d4c2ac5fc356b348d (diff)
downloadsamba-11f60a62a1d7633e9a8ec62da18ed9ababa694df.tar.gz
samba-11f60a62a1d7633e9a8ec62da18ed9ababa694df.tar.bz2
samba-11f60a62a1d7633e9a8ec62da18ed9ababa694df.zip
s3: OneFS bulk directory enumeration support
OneFS provides the bulk directory enumeration syscall readdirplus(). This syscall has the same semantics as the NFSv3 READDIRPLUS command, returning a batch of directory entries with prefetched stat information via one syscall. This commit wraps the readdirplus() call in the existing POSIX readdir/seekdir VFS interface. By default a batch of 128 directory entries are optimistically read from the kernel into a global cache, and fed to iterative calls of VFS_OP_READDIR. The global buffers could be avoided in the future by hanging connection specific buffers off the conn struct. Added new parameter "onefs:use readdirplus" which toggles usage of this code on or off.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/vfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h
index 99af30b1c5..f944c899c6 100644
--- a/source3/include/vfs.h
+++ b/source3/include/vfs.h
@@ -252,7 +252,7 @@ typedef enum _vfs_op_type {
SMB_VFS_OP_SYS_ACL_FREE_TEXT,
SMB_VFS_OP_SYS_ACL_FREE_ACL,
SMB_VFS_OP_SYS_ACL_FREE_QUALIFIER,
-
+
/* EA operations. */
SMB_VFS_OP_GETXATTR,
SMB_VFS_OP_LGETXATTR,