r3507: - added deferred replies on sharing violation in pvfs open. The
authorAndrew Tridgell <tridge@samba.org>
Wed, 3 Nov 2004 10:09:48 +0000 (10:09 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:05:23 +0000 (13:05 -0500)
commitdde07058075d357cfdc63624c8dcaa67ebd40add
treec3f29090e37f1bc103a3d6051e708d1ebbe305a5
parent90a8c4acc7e673e6439197776d19cc4b095ac322
r3507: - added deferred replies on sharing violation in pvfs open. The
  deferred reply is short-circuited immediately when the file is
  closed by another user, allowing it to be opened by the waiting user.

- added a sane set of timeval manipulation routines

- converted all the events code and code that uses it to use struct
  timeval instead of time_t, which allows for microsecond resolution
  instead of 1 second resolution. This was needed for doing the pvfs
  deferred open code, and is why the patch is so big.
(This used to be commit 0d51511d408d91eb5f68a35e980e0875299b1831)
36 files changed:
source4/include/events.h
source4/include/messages.h
source4/ldap_server/ldap_server.c
source4/lib/basic.mk
source4/lib/events.c
source4/lib/messaging/messaging.c
source4/lib/time.c
source4/lib/unix_privs.c [new file with mode: 0644]
source4/libcli/raw/clitransport.c
source4/libcli/raw/libcliraw.h
source4/librpc/rpc/dcerpc_sock.c
source4/ntvfs/cifs/vfs_cifs.c
source4/ntvfs/common/brlock.c
source4/ntvfs/common/opendb.c
source4/ntvfs/posix/pvfs_lock.c
source4/ntvfs/posix/pvfs_open.c
source4/ntvfs/posix/pvfs_wait.c
source4/ntvfs/posix/vfs_posix.h
source4/rpc_server/dcerpc_server.c
source4/rpc_server/dcerpc_sock.c
source4/smb_server/smb_server.c
source4/smbd/process_model.h
source4/smbd/process_single.c
source4/smbd/process_standard.c
source4/smbd/service.c
source4/smbd/service.h
source4/torture/basic/dir.c
source4/torture/gentest.c
source4/torture/local/messaging.c
source4/torture/local/talloc.c
source4/torture/nbench/nbench.c
source4/torture/nbench/nbio.c
source4/torture/raw/mux.c
source4/torture/raw/open.c
source4/torture/torture.c
source4/torture/torture_util.c