summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_onefs.c
AgeCommit message (Collapse)AuthorFilesLines
2009-02-09s3: OneFS bulk directory enumeration supportSteven Danneman1-4/+20
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.
2009-02-09s3 OneFS: Fake Timestampstodd stecher1-0/+114
This checkin enables setting arbitrary timestamps on files matching the pattern stored in smb.conf. This was a customer request for a specific workflow. Changes include: 1) configuration state machine to avoid tons of string comparisons on each and every stat. 2) Code to adjust post-stat() times to match time now, or sloptime + time now.
2009-01-29s3 onefs: Add the OneFS implementation of SMB_VFS_GET_ALLOC_SIZETim Prouty1-0/+27
2009-01-23Modify OneFS module to support new NTIMES interfacestodd stecher1-0/+35
2009-01-11s3: Add OneFS alternate data streams implementationTim Prouty1-0/+23
2009-01-11s3: General cleanup of the open path in the OneFS vfs moduleTim Prouty1-2/+4
2008-12-17s3: Add statvfs implementation to the onefs vfs moduleAravind Srinivasan1-0/+28
2008-12-09s3: Add the OneFS SMB_VFS_CREATE_FILE implementationTim Prouty1-7/+20
This is the first pass at extending the onefs vfs module to support the CIFS-specific enhancements available on OneFS. Most of this patch is massaging the sama open path to work with ifs_createfile. ifs_createfile is a CIFS-specific syscall for opening/files and directories. It adds support for: - Full in-kernel access checks using a windows access_mask - Cluster-coherent share mode locks - Cluster-coherent oplocks - Streams - Setting security descriptors at create time - Setting dos_attributes at create time This patch does not implement the samba side of the streams support or oplocks support. Tests that expect oplocks to be granted or streams to be supported will fail. This will be remedied in upcoming patches.
2008-12-02Add support for OneFS ACLsSteven Danneman1-0/+15
Add to the OneFS VFS module, support for NTFS ACLs through the calls: SMB_VFS_FGET_NT_ACL() SMB_VFS_GET_NT_ACL() SMB_VFS_FSET_NT_ACL() Also create several new onefs specific smb.conf parameters in onefs.h
2008-12-02Add OneFS VFS module skeleton.Tim Prouty1-0/+33
Also set configure to autodetect OneFS OS and build this VFS module.