1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/include
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
..
ads_dns.h
ads_protos.h Fix bug 5419: memory leak in ads_do_search_all_args() when enumerating 1000s of entries 2008-04-26 08:11:20 -07:00
ads.h s3: use pidl to pull a KRB5_EDATA_NTSTATUS. 2009-02-06 10:32:49 +01:00
adt_tree.h adt_tree: change pathtree_add to return WERR instead of bool. 2008-04-13 15:33:47 +02:00
async_smb.h Add the cli_wct_ofs routine to calculate the offset for write&x 2008-12-19 18:12:44 +01:00
auth.h Fix some nonempty blank lines 2009-01-20 23:10:16 +01:00
authdata.h Remove last reference to rpc_netlogon.h. 2008-03-27 22:18:04 +01:00
charset.h s3-charset: add smb_iconv_convenience. 2008-09-23 09:37:23 +02:00
client.h Abstract away the transport in cli_pipe.c 2009-01-22 22:59:54 +01:00
clitar.h
ctdbd_conn.h s3:cluster: fix ctdb ipv6 support 2009-01-16 15:16:59 +01:00
dbwrap.h s3:dbwrap: add dbwrap_delete(), dbwrap_store() and dbwrap_fetch() 2009-01-19 17:06:03 +01:00
debug.h Provide the same set of helper functions for DEBUG in Samba 3 and Samba 2008-10-11 20:44:19 +02:00
debugparse.h
dynconfig.h Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.c 2009-01-12 12:16:03 +01:00
event.h s3:events: register as tevent backend 2009-01-05 15:07:36 +01:00
eventlog.h s3-eventlog: move non rpc eventlog headers to own include file. 2008-11-20 17:15:29 +01:00
fake_file.h Add proxied named pipe support 2008-10-25 15:42:51 +02:00
gpo.h Add Group Policy extension infrastructure. 2008-02-29 17:07:57 +01:00
idmap.h s3:idmap: move IDMAP_VERSION to the idmap tdb backend, where it belogns. 2009-01-30 00:17:57 +01:00
includes.h S3: New module interface for SMB message statistics gathering 2009-02-09 13:23:44 -08:00
interfaces.h Make Samba 3 and Samba 4 both use the same single copy of libreplace. 2008-09-16 16:30:14 +02:00
intl.h
libsmb_internal.h [Bug 6022] smbc_urlencode and smbc_urldecode were not exported 2009-01-16 20:26:46 -05:00
libsmbclient.h Determine case sensitivity based on file system attributes. 2009-01-17 13:33:39 -05:00
local.h smbd: make it possible to change the write time delay for testing 2008-04-07 12:29:31 +02:00
localedir.h i18n/l10n pam_winbind 2008-11-13 12:43:58 +01:00
locking.h
MacExtensions.h Fix some typos. 2008-02-08 10:05:32 +01:00
mangle.h
mapping.h
memcache.h
messages.h s3:messages: finally make message_dispatch() static 2009-01-22 12:37:33 +01:00
module.h s3-build: fix init_samba_module missing proto warning. 2008-10-14 13:40:17 +02:00
msdfs.h Inline the once-used macro "init_dfsroot" 2008-10-19 11:36:32 +02:00
nameserv.h Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
nss_info.h s3:winbindd/nss_info: change nss_map_{to|from}_alias to take nss_domain_entry 2008-12-01 04:37:20 +01:00
nt_printing.h Make use of a talloc_destructor for free_printer_entry 2009-01-08 22:29:54 +01:00
ntdomain.h Make prs_struct->out_data.current_pdu dynamically allocated 2009-02-08 13:53:50 +01:00
ntioctl.h
ntlmssp.h remove the explicit mem_ctx from ntlmssp_state, use the state itself 2008-11-30 17:15:19 +01:00
ntquotas.h Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
packet.h packet.h API: The callback is now responsible to talloc_free() "buf" 2009-01-02 22:11:50 +01:00
passdb.h s3:passdb: add SAMU_BUFFER_V4 with no changes 2008-12-29 21:10:49 +01:00
popt_common.h popt: add a popt_common_debuglevel set of options providing -d|--debuglevel 2008-07-15 13:03:24 +02:00
printing.h printing: Rename new parameter "cups timeout" to "cups connection timeout". 2008-09-24 11:09:04 -07:00
privileges.h
proto.h s3 oplocks: Make the level2 oplock contention API more granular 2009-02-09 23:47:45 -08:00
rap.h
reg_db.h
reg_objects.h registry: remove the REGISTRY_HOOKS layer from the reghook cache. 2008-04-13 01:43:42 +02:00
regfio.h
rpc_client.h s3-spoolss: prepare to use generated spoolss. 2009-02-06 18:54:51 +01:00
rpc_dce.h Refactoring: Change calling conventions for cli_rpc_pipe_open_noauth 2008-07-20 17:37:11 +02:00
rpc_misc.h s3-parsing: remove a lot of unused structures and their hand marshalling. 2009-02-05 00:48:50 +01:00
rpc_perfcount_defs.h
rpc_perfcount.h
rpc_secdes.h s3-accessmask: re-run make samba3-idl and remove duplicate copies. 2008-11-01 01:41:21 +01:00
rpc_spoolss.h s3-spoolss: remove old spoolss_ScheduleJob. 2009-02-09 22:49:10 +01:00
safe_string.h Decouple clistr_pull from struct cli_state->inbuf 2009-01-26 05:39:34 +01:00
samba_linux_quota.h
secrets.h Store a local schannel key in secrets.tdb 2008-10-06 09:54:16 +02:00
services.h s3-svcctl: use pidl based struct SERVICE_STATUS. 2009-01-08 13:24:22 +01:00
session.h
smb_acls.h
smb_ldap.h
smb_macros.h Remove the global variable "chain_size" 2009-01-31 11:09:39 +01:00
smb_perfcount.h S3: New module interface for SMB message statistics gathering 2009-02-09 13:23:44 -08:00
smb_share_modes.h
smb.h s3 oplocks: Make the level2 oplock contention API more granular 2009-02-09 23:47:45 -08:00
smbldap.h Fix the non-LDAP, non-krb5 build, fix gcc -O3 warnings. 2008-06-26 19:46:18 -07:00
smbprofile.h s3: Add a new SMB_VFS_GET_ALLOC_SIZE vfs operation 2009-01-29 15:29:33 -08:00
spnego.h s3-asn1/spnego: use OIDs including dots. 2008-10-22 21:37:36 +02:00
srvstr.h Remove some direct inbuf references by adding smbreq_bufrem 2008-11-02 09:22:40 +01:00
stamp-h.in
sysquotas.h Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
trans2.h
transfer_file.h Move transfer_file and transfer_file_internal to a module of their own. 2008-01-10 14:31:25 +01:00
util_getent.h
util_tdb.h s3:util_tdb: remove duplicate prototypes (from ../lib/util/util_tdb.h) 2009-01-28 10:35:49 +01:00
vfs_macros.h s3: Add a new SMB_VFS_GET_ALLOC_SIZE vfs operation 2009-01-29 15:29:33 -08:00
vfs.h s3 vfs: Add a destructor to the fsp extension data API 2009-02-09 23:46:12 -08:00
wbc_async.h async_sock: Use unix errnos instead of NTSTATUS 2009-02-09 08:36:08 +01:00