Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-26 | s3: Remove code TALLOC_FREE already does | Volker Lendecke | 1 | -5/+1 | |
2012-04-11 | s3:smbd only care about missing level2 support if kernel oplocks are enabled | Christian Ambach | 1 | -4/+10 | |
if kernel oplocks are not enabled for that share, we can grant level2 oplocks Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 11 22:45:21 CEST 2012 on sn-devel-104 | |||||
2012-04-11 | s3:smbd add seperate function to initialize kernel oplocks | Christian Ambach | 1 | -3/+7 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-04-11 | s3:param convert kernel oplocks to share parameter | Christian Ambach | 1 | -1/+1 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-02-19 | s3: get_share_mode_lock->get_existing_share_mode_lock | Volker Lendecke | 1 | -3/+3 | |
2012-01-18 | s3: Change locking order between brlock and locking | Volker Lendecke | 1 | -8/+58 | |
But 8175 was fixed in a way that brlock.tdb was always locked before locking.tdb. This patch fixes the bug in a different way. locking.tdb is the central tdb for files and should always be locked first. This patch solves the problem by postponing the level2 break messages, which are async anyway. | |||||
2012-01-12 | s3: Put an indirection layer into share_mode_lock | Volker Lendecke | 1 | -3/+3 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-01-12 | s3: Introduce get_share_mode_lock_fresh() | Volker Lendecke | 1 | -6/+3 | |
This slightly simplifies the code path for all callers which assume that a share mode exists already. Only the callers in open_file_ntcreate and open_directory will ever create new share modes. Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-12-14 | s3:smbd/oplock: make process_oplock_async_level2_break_message() static | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-12-14 | s3:smbd/oplock: use talloc_get_type_abort() as private_data can't be NULL | Stefan Metzmacher | 1 | -25/+5 | |
metze | |||||
2011-12-13 | s3:smbd/oplock: pass smbd_server_connection to onefs_init_kernel_oplocks() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-12-13 | s3:smbd/oplock: pass smbd_server_connection to linux_init_kernel_oplocks() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-12-13 | s3:smbd/oplock: pass smbd_server_connection to irix_init_kernel_oplocks() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-12-13 | s3:smbd/oplock: pass sconn as private_data to process_open_retry_message() | Stefan Metzmacher | 1 | -6/+9 | |
metze | |||||
2011-12-13 | s3:smbd/oplock: pass sconn as private_data to process_kernel_oplock_break() | Stefan Metzmacher | 1 | -8/+8 | |
metze | |||||
2011-12-13 | s3:smbd/oplock: pass sconn as private_data to process_oplock_break_response() | Stefan Metzmacher | 1 | -6/+9 | |
metze | |||||
2011-12-13 | s3:smbd/oplock: pass sconn as private_data to ↵ | Stefan Metzmacher | 1 | -7/+7 | |
process_oplock_async_level2_break_message() metze | |||||
2011-12-13 | s3:smbd/oplock: pass sconn as private_data to process_oplock_break_message() | Stefan Metzmacher | 1 | -7/+7 | |
metze | |||||
2011-12-13 | s3:smbd/oplock: pass smbd_server_connection to init_oplocks() | Stefan Metzmacher | 1 | -6/+6 | |
metze | |||||
2011-12-12 | s3:smbd/oplock: avoid using server_event_context() in ↵ | Stefan Metzmacher | 1 | -3/+3 | |
add_oplock_timeout_handler() metze | |||||
2011-12-08 | s3: Fix some 64-bit warnings | Volker Lendecke | 1 | -8/+12 | |
2011-12-02 | s3: Use autogenerated open_files.idl | Volker Lendecke | 1 | -0/+1 | |
2011-08-02 | s3: Pass sconn explicitly to schedule_deferred_open_message_smb | Volker Lendecke | 1 | -2/+10 | |
2011-08-02 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -4/+4 | |
2011-06-21 | s3-build: Provide a run-time shim to work around duplicate symbols | Andrew Bartlett | 1 | -2/+2 | |
The become_root() and similar 'smbd' functions that are used widely in Samba libraries had 'dummy' copies in dummysmbd.c and dummyroot.c. These have been replaced by a runtime plugin mechanim, which ensures that standlone binaries still do nothing, while in smbd the correct function is used. This avoids having these as duplicate symbols in the smbd binary, which can cause unpredictable behaviour. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-06-09 | lib/util Bring procid_str() into lib/util as server_id_string() | Andrew Bartlett | 1 | -5/+5 | |
This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett | |||||
2011-06-09 | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | |||||
2011-05-31 | s3-globals Remove smbd_event_context() (use server_event_context()) | Andrew Bartlett | 1 | -1/+1 | |
This has been a wrapper around server_event_context() for some time now, and removing this from dummmysmbd.c assists with library dependencies. Andrew Bartlett | |||||
2011-03-30 | s3-messages: make ndr_messaging.h part of messages.h. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2011-03-30 | s3-messages: only include messages.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3: include smbd/smbd.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-02-17 | s3-cluster Always fill in the clustering vnn element | Andrew Bartlett | 1 | -4/+0 | |
This avoids this structure being partially uninitialised. Adnrew Bartlett | |||||
2011-02-05 | Move the "oplock file with byte range locks" check to the correct place, ↵ | Jeremy Allison | 1 | -17/+0 | |
where we're making oplock decisions. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Feb 5 01:18:14 CET 2011 on sn-devel-104 | |||||
2011-02-01 | Ensure we send the direct levelII oplock break to the correct fid. | Pavel Shilovsky | 1 | -1/+10 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Feb 1 00:39:56 CET 2011 on sn-devel-104 | |||||
2011-01-31 | Fix bug #7928 - Samba problems with kernel oplocks option set to "no" | Pavel Shilovsky | 1 | -7/+28 | |
We should not grant levelII oplocks on a file with existing byte range locks. | |||||
2011-01-25 | Add name_hash into the share mode entry struct (as yet only use for renames ↵ | Jeremy Allison | 1 | -0/+2 | |
to identify a specific path). | |||||
2010-10-08 | s3: Hang the isilon kernel oplocks off the NULL context | Volker Lendecke | 1 | -1/+2 | |
All I see is a fd_event that does not need a special destructor. Tim, Steven, I've added the #error as well for you to remove after review. Thanks, Volker Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Oct 8 20:48:11 UTC 2010 on sn-devel-104 | |||||
2010-10-08 | s3: Hang the irix kernel oplocks off the NULL ctx | Volker Lendecke | 1 | -1/+1 | |
Just a fd_event to be cleaned up. The pipe is closed implicitly. | |||||
2010-10-08 | s3: Hang the linux kernel oplocks off the NULL ctx | Volker Lendecke | 1 | -1/+1 | |
The destructor that is called removes the signal handler. But at process exit the signal handling is lost anyway. | |||||
2010-10-05 | s3: Stop using the write cache after an oplock break | Volker Lendecke | 1 | -0/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Oct 5 10:09:38 UTC 2010 on sn-devel-104 | |||||
2010-10-03 | s3: Remove smbd_server_conn from process_kernel_oplock_break | Volker Lendecke | 1 | -2/+8 | |
2010-10-03 | s3: Remove smbd_server_conn from process_oplock_break_message | Volker Lendecke | 1 | -3/+8 | |
2010-10-03 | s3: Remove smbd_server_conn from process_oplock_async_level2_break_message | Volker Lendecke | 1 | -2/+8 | |
2010-10-03 | s3: Lift smbd_server_conn from initial_break_processing | Volker Lendecke | 1 | -5/+9 | |
2010-09-28 | s3: Lift smbd_server_conn from file_find_dif | Volker Lendecke | 1 | -1/+1 | |
2010-08-24 | s3: Make srv_send_smb take an sconn instead of a sock fd | Volker Lendecke | 1 | -1/+1 | |
2010-08-16 | s3: Remove smbd_server_fd from send_break_message_smb1 | Volker Lendecke | 1 | -1/+1 | |
2010-07-05 | s3: Remove smbd_messaging_context() from contend_level2_oplocks_begin_default() | Volker Lendecke | 1 | -1/+1 | |
2010-07-05 | s3: Remove smbd_messaging_context() from reply_to_oplock_break_requests() | Volker Lendecke | 1 | -1/+1 | |
2010-07-05 | s3: Remove procid_self() from break_kernel_oplock() | Volker Lendecke | 1 | -1/+1 | |