summaryrefslogtreecommitdiff
path: root/source3/modules/onefs_streams.c
AgeCommit message (Collapse)AuthorFilesLines
2009-07-20s3: Finish plumbing the fsp->fsp_name smb_fname conversion through the modules.Tim Prouty1-3/+7
2009-07-08s3: Remove is_ntfs_stream_name() and split_ntfs_stream_name()Tim Prouty1-48/+0
Actually I moved split_ntfs_stream_name into torture.c which is the one consumer of it. This could probably be changed at some point.
2009-07-07s3 onefs: Fix a few bugs from the smb_filename migrationTim Prouty1-8/+2
2009-07-06s3: Update streaminfo implementations now that only base names are passed ↵Tim Prouty1-7/+0
through the vfs
2009-07-06s3: Plumb smb_filename through SMB_VFS_NTIMESTim Prouty1-10/+27
2009-07-06s3: Plumb smb_filename around SMB_VFS_CHFLAGSTim Prouty1-20/+0
SMB_VFS_CHFLAGS isn't actually getting the smb_filename struct for now since it only operates on the basefile. This is the strategy for all path-based operations that will never actually operate on a stream. By clarifying the meaning of path based operations that don't take an smb_filename struct, modules that implement streams such as vfs_onefs no longer need to implement SMB_VFS_CHFLAGS to ensure it's only called on the base_name.
2009-07-06s3: Plumb smb_filename through SMB_VFS_UNLINKTim Prouty1-12/+23
2009-07-06s3: Plumb smb_filename through SMB_VFS_RENAMETim Prouty1-33/+45
2009-06-25s3 onefs: Plumb smb_filename through onefs createfile pathTim Prouty1-31/+106
2009-05-28s3 onefs: update the onefs module to be compliant with stat_exTim Prouty1-40/+43
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