summaryrefslogtreecommitdiff
path: root/source3/modules/onefs_streams.c
AgeCommit message (Collapse)AuthorFilesLines
2009-03-03s3 OneFS: Add parameter to ignore streamsTim Prouty1-1/+6
2009-03-01s3 OneFS: Refactor config code and cleanup includesTim Prouty1-0/+3
2009-02-25s3 OneFS: Add .snapshot directory configuration handlingTim Prouty1-1/+1
2009-02-24S3: Add in profile counters for new vfs and syscall entries.todd stecher1-3/+13
2009-02-18s3: Fix streams enumeration bug in OneFS implementationAravind Srinivasan1-0/+13
Previously, we didn’t call SMB_VFS_OPEN_DIR from the streams module, instead we called fdopendir(). As a result we failed to populate the dir_state list in the readdirplus module. So when we tried to view the stream data, we will always returned NULL. To solve this I separated onefs_opendir() and the initialization of the dir_state list. This is done by introducing a new utility function “onefs_rdp_add_dir_state()”, which initializes the dir_state structure and adds it to the dir_state list. This function is called from the streams module before calling readdir().
2009-02-09Add an optional SMB_STRUCT_SMB parameter to VFS_OP_READDIRSteven Danneman1-1/+1
* this allows VFS implementations that prefetch stat information on readdir to return it through one VFS call * backwards compatibility is maintained by passing in NULL * if the system readdir doesn't return stat info, the stat struct is set to invalid
2009-02-09s3 OneFS: Fake Timestampstodd stecher1-14/+70
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: Add a new SMB_VFS_GET_ALLOC_SIZE vfs operationTim Prouty1-4/+4
This allows module implementors to customize what allocation size is returned to the client.
2009-01-23Modify OneFS module to support new NTIMES interfacestodd stecher1-42/+86
2009-01-11s3: Fix uninitialized variable in OneFS streamsTim Prouty1-2/+5
2009-01-11s3: Add OneFS alternate data streams implementationTim Prouty1-0/+580