s3 OneFS: Fake Timestamps
authortodd stecher <todd.stecher@gmail.com>
Thu, 29 Jan 2009 16:08:35 +0000 (08:08 -0800)
committerTim Prouty <tprouty@samba.org>
Mon, 9 Feb 2009 08:36:39 +0000 (00:36 -0800)
commit5d070483acf527ca20910c83d4735e1f99c32e24
tree490c00e1a342825c26d55af55c6e12475dc39527
parentc7377b2c4d31b293a47d1cae85304fd7668a82f2
s3 OneFS: Fake Timestamps

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.
source3/modules/onefs.h
source3/modules/onefs_streams.c
source3/modules/vfs_onefs.c