1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/smbd
Tim Prouty c6f1f055fd s3 oplocks: Make the level2 oplock contention API more granular
This replaces release_level2_oplocks_on_change with
contend_level2_oplock_begin/end in order to contend level2 oplocks
throughout an operation rather than just at the begining.  This is
necessary for some kernel oplock implementations, and also lays the
groundwork for better correctness in Samba's standard level2 oplock
handling.  The next step for non-kernel oplocks is to add additional
state to the share mode lock struct that prevents any new opens from
granting oplocks while a contending operation is in progress.

All operations that contend level 2 oplocks are now correctly spanned
except for aio and synchronous writes.  The two write paths both have
non-trivial error paths that need extra care to get right.

RAW-OPLOCK and the rest of 'make test' are still passing with this
change.
2009-02-09 23:47:45 -08:00
..
aio.c s3 oplocks: Make the level2 oplock contention API more granular 2009-02-09 23:47:45 -08:00
blocking.c S3: New module interface for SMB message statistics gathering 2009-02-09 13:23:44 -08:00
change_trust_pw.c Refactoring: Change calling conventions for cli_rpc_pipe_open_noauth 2008-07-20 17:37:11 +02:00
chgpasswd.c s3:smbd: remove pointless static variables in chgpasswd.c 2009-01-08 12:22:18 +01:00
close.c Extend NTIMES to allow setting create_time 2009-01-23 21:05:38 -08:00
conn.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
connection.c Remove smb_np_struct 2008-10-13 20:59:33 +02:00
dfree.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
dir.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
dmapi.c s3:smbd: fix the build with dmapi support 2009-01-08 16:24:28 +01:00
dnsregister.c s3:smbd: make mdns registration event driven. 2009-01-27 15:28:11 +01:00
dosmode.c Extend NTIMES to allow setting create_time 2009-01-23 21:05:38 -08:00
error.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
fake_file.c s3:smbd: make fake_files[] static const 2009-01-08 12:22:17 +01:00
file_access.c Fix bug #6082 - smbd_gpfs_getacl failed: Windows client can´t rename or delete file 2009-02-02 17:10:27 -08:00
fileio.c s3 oplocks: Make the level2 oplock contention API more granular 2009-02-09 23:47:45 -08:00
filename.c Fix bug #Bug 6090 renaming or deleting a "not matching/resolving" symlink is failing. 2009-02-04 16:33:52 -08:00
files.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
globals.c s3:smbd: make kernel oplocks event driven 2009-01-27 15:28:10 +01:00
globals.h s3:smbd: make kernel oplocks event driven 2009-01-27 15:28:10 +01:00
ipc.c S3: New module interface for SMB message statistics gathering 2009-02-09 13:23:44 -08:00
lanman.c Convert api_RNetGroupEnum to use samr instead of pdb 2009-02-07 19:25:34 +01:00
mangle_hash2.c Just for fun: Move some bytes from bss to text 2009-02-01 14:34:22 +01:00
mangle_hash.c Just for fun: Move some bytes from bss to text 2009-02-01 14:34:22 +01:00
mangle.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
map_username.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
message.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
msdfs.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
negprot.c Add two new parameters to control how we verify kerberos tickets. Removes lp_use_kerberos_keytab parameter. 2009-02-01 20:23:31 -08:00
noquotas.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
notify_inotify.c use glibc sys/inotify.h header 2008-10-30 12:30:04 -07:00
notify_internal.c s3: use samba4 prototype for ndr_push/pull_struct_blob. 2008-09-23 09:37:23 +02:00
notify.c S3: New module interface for SMB message statistics gathering 2009-02-09 13:23:44 -08:00
ntquotas.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
nttrans.c S3: New module interface for SMB message statistics gathering 2009-02-09 13:23:44 -08:00
open.c Fix bug #Bug 6090 renaming or deleting a "not matching/resolving" symlink is failing. 2009-02-04 16:33:52 -08:00
oplock_irix.c s3 oplocks: Make the level2 oplock contention API more granular 2009-02-09 23:47:45 -08:00
oplock_linux.c s3 oplocks: Make the level2 oplock contention API more granular 2009-02-09 23:47:45 -08:00
oplock.c s3 oplocks: Make the level2 oplock contention API more granular 2009-02-09 23:47:45 -08:00
password.c "userdom_struct" does not need "full_name" anymore -- unused 2009-01-20 23:10:16 +01:00
perfcount.c S3: New module interface for SMB message statistics gathering 2009-02-09 13:23:44 -08:00
pipes.c S3: New module interface for SMB message statistics gathering 2009-02-09 13:23:44 -08:00
posix_acls.c Don't try and delete a default ACL from a file. 2009-02-05 18:57:41 -08:00
process.c S3: New module interface for SMB message statistics gathering 2009-02-09 13:23:44 -08:00
quotas.c s3:smbd: remove stupid static variables for the nfs quota code 2009-01-08 12:22:20 +01:00
reply.c s3 oplocks: Make the level2 oplock contention API more granular 2009-02-09 23:47:45 -08:00
seal.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
sec_ctx.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
server.c s3:smbd: make smbd_open_one_socket() static 2009-01-29 15:42:10 +01:00
service.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
session.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
sesssetup.c Add two new parameters to control how we verify kerberos tickets. Removes lp_use_kerberos_keytab parameter. 2009-02-01 20:23:31 -08:00
share_access.c Fix bug #1254 - write list not working under share-level security 2008-12-04 11:20:57 -08:00
srvstr.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
statcache.c Add a in-memory cache 2007-12-18 09:56:04 +01:00
statvfs.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
trans2.c S3: New module interface for SMB message statistics gathering 2009-02-09 13:23:44 -08:00
uid.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
utmp.c s3:smbd: make globals in utmp.c static const 2009-01-08 12:22:18 +01:00
vfs.c s3 oplocks: Make the level2 oplock contention API more granular 2009-02-09 23:47:45 -08:00