Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-09-06 | smbd: Slightly simplify do_break_to_none | Volker Lendecke | 1 | -2/+1 | |
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> | |||||
2013-09-06 | smbd: Apply some const to message_to_share_mode_entry | Volker Lendecke | 1 | -1/+1 | |
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> | |||||
2013-09-06 | smbd: Remove unused should_notify_deferred_opens | Volker Lendecke | 1 | -10/+0 | |
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> | |||||
2013-09-06 | smbd: Remove FORCE_OPLOCK_BREAK_TO_NONE | Volker Lendecke | 1 | -1/+0 | |
This flag existed to break an exclusive or batch oplock in just one instead of two steps down to "no oplock" when we did an allocation or file size change. Running raw.oplock against W2k12 differs in this respect from W2k3: W2k12 takes two steps (via level2) to break to none. This removes the special flag that we only had for compatibility with systems older than W2k12... Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Sep 6 00:47:07 CEST 2013 on sn-devel-104 | |||||
2013-09-04 | smbd: Add a paranoia check to oplock_timeout_handler | Volker Lendecke | 1 | -0/+2 | |
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Sep 4 22:36:24 CEST 2013 on sn-devel-104 | |||||
2013-09-04 | smbd: Fix an ancient oplock bug | Volker Lendecke | 1 | -0/+2 | |
If we get an oplock break response, we forgot to remove the oplock break timeout. Found by stopping raw.oplock.exclusive5 after the 2nd open and watching a debug level 10 log. This amends 08a9de89 from 2007. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> | |||||
2013-08-20 | smbd: Simplify new_break_message_smb1 | Volker Lendecke | 1 | -18/+7 | |
There's no point in allocating a fixed length array that we throw away immediately after use. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Aug 20 14:35:21 CEST 2013 on sn-devel-104 | |||||
2013-08-20 | smbd: Replace a 0-timeout wakeup_send | Volker Lendecke | 1 | -17/+13 | |
A tevent_immediate is simpler and is what we want here. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> | |||||
2013-08-16 | smbd: Do not wait unnecessarily | Volker Lendecke | 1 | -1/+1 | |
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Aug 16 18:46:36 CEST 2013 on sn-devel-104 | |||||
2013-08-16 | smbd: Make break_level2_to_none_async static | Volker Lendecke | 1 | -1/+1 | |
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> | |||||
2013-04-26 | smbd: Obsolete MSG_SMB_OPEN_RETRY | Volker Lendecke | 1 | -36/+0 | |
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> | |||||
2013-04-26 | smbd: Remove the unused fsp->pending_break_messages array | Volker Lendecke | 1 | -11/+3 | |
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> | |||||
2013-04-26 | smbd: Remove unused reply_to_oplock_break_requests | Volker Lendecke | 1 | -21/+0 | |
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> | |||||
2013-04-26 | smbd: Obsolete MSG_SMB_BREAK_RESPONSE | Volker Lendecke | 1 | -62/+1 | |
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> | |||||
2013-04-26 | smbd: Ignore OPEN_RETRY and BREAK_RESPONSE | Volker Lendecke | 1 | -0/+4 | |
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> | |||||
2013-02-28 | s3:smbd: fix missing space in debug message in initial_break_processing() | Michael Adam | 1 | -1/+1 | |
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> | |||||
2013-02-19 | s3:smbd: s/struct timed_event/struct tevent_timer | Stefan Metzmacher | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> | |||||
2013-02-19 | s3:smbd: s/struct event_context/struct tevent_context | Stefan Metzmacher | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> | |||||
2012-06-21 | s3:util: rename procid_equal() to serverid_equal() | Michael Adam | 1 | -2/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-15 | s3:smbd: change oplock.c to use fsp_fnum_dbg() for fsp->fnum logging. | Michael Adam | 1 | -5/+5 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-08 | s3:smbd: change set_file_oplock() to return NTSTATUS | Michael Adam | 1 | -5/+6 | |
Pair-Programmed-With: Volker Lendecke <vl@samba.org> Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Jun 8 23:20:20 CEST 2012 on sn-devel-104 | |||||
2012-06-03 | s3:smbd/oplock: avoid procid_is_me() | Stefan Metzmacher | 1 | -2/+4 | |
metze | |||||
2012-05-25 | s3:smbd: move global koplocks to smbd_server_connection | Stefan Metzmacher | 1 | -0/+19 | |
metze | |||||
2012-05-25 | s3:smbd: pass smbd_server_connection to should_notify_deferred_opens() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-05-25 | s3:smbd: move global oplocks vars to smbd_server_connection | Stefan Metzmacher | 1 | -10/+15 | |
metze | |||||
2012-05-25 | s3:smbd: remove unused get_number_of_exclusive_open_oplocks() | Stefan Metzmacher | 1 | -9/+0 | |
metze | |||||
2012-05-16 | s3:onefs: remove all onefs related code as it not maintained anymore | Stefan Metzmacher | 1 | -3/+0 | |
See https://lists.samba.org/archive/samba-technical/2012-May/083631.html for the discussion. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed May 16 11:23:05 CEST 2012 on sn-devel-104 | |||||
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 | |