summaryrefslogtreecommitdiffstats
path: root/source/smbd/oplock.c
Commit message (Collapse)AuthorAgeFilesLines
* r25055: Add file_id_string_tosVolker Lendecke2007-09-101-12/+12
| | | | This removes file_id_string_static and file_id_string_static2
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-07-101-2/+1
|
* r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison2007-07-091-1/+1
| | | | Jeremy.
* r23589: Ensure we will always release any timeout handlerJeremy Allison2007-06-221-6/+4
| | | | | | on fsp close or removal of oplock. Mulitple removals are safe. Jeremy.
* r23410: Merge the core of the cluster code.Volker Lendecke2007-06-101-0/+6
| | | | | | | | | | | | | | | | I'm 100% certain I've forgotten to merge something, but the main code should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and messages_ctdbd.c. There should be no changes to the non-cluster case, it does survive make test on my laptop. It survives some very basic tests with ctdbd enables, I did not do the full test suite for clusters yet. Phew... Volker
* r23183: Check in a change made by Tridge:Volker Lendecke2007-05-291-56/+38
| | | | | | | | | | | | | This replaces the internal explicit dev/ino file id representation by a "struct file_id". This is necessary as cluster file systems and NFS don't necessarily assign the same device number to the shared file system. With this structure in place we can now easily add different schemes to map a file to a unique 64-bit device node. Jeremy, you might note that I did not change the external interface of smb_share_modes.c. Volker
* r22868: Replace some message_send_pid calls with messaging_send_pid calls. MoreVolker Lendecke2007-05-141-65/+77
| | | | tomorrow.
* r22736: Start to merge the low-hanging fruit from the now 7000-line cluster ↵Volker Lendecke2007-05-071-5/+5
| | | | | | | | | patch. This changes "struct process_id" to "struct server_id", keeping both is just too much hassle. No functional change (I hope ;-)) Volker
* r21322: No feedback means consent :-)Volker Lendecke2007-02-131-12/+23
| | | | | | | | | | | It does not matter if I screw up 3.0.25 or 3.0.26 with this, so do it rather sooner than later. Add the notify support that already exists in 3_0 to 3_0_25. If you want to see this patch dissected into digestable parts, look at 3_0, revisions at about 20800 and following. Volker
* r21209: Add in the POSIX extensions.Jeremy Allison2007-02-071-0/+2
| | | | Jeremy.
* r20238: svn merge -r 20236:20237 branches/SAMBA_3_0/source .James Peach2006-12-181-3/+3
| | | | | | Replace exit_server with exit_server_cleanly where appropriate. All send_smb failures should be clean exits. All times when we exit as a matter of policy should also be clean exits.
* r19801: grabbing minor changes (some missing pieces from jmcd's SAMR work as ↵Gerald Carter2006-11-201-17/+12
| | | | well)
* r16472: final pass for 3.0.23rc3 I think. Current with SAMBA_3_0 r16471Gerald Carter2006-06-221-0/+2
|
* r16104: Set version to 3.0.23rc2Gerald Carter2006-06-081-0/+1
| | | | | Bring release tree up to current 3.0 tree (svn merge -r15845:16103 $SVNURL/branches/SAMBA_3_0)
* r15837: starting sync up for 3.0.23rc1 (in sync with SAMBA_3_0 r15822)Gerald Carter2006-05-231-20/+24
|
* r15088: Remove all time() and gettimeofday() calls out of the mainlineJeremy Allison2006-04-151-15/+3
| | | | | | packet processing code. Only do these when needed (ie. in the idle timeout code). We drop an unneccessary global here too. Jeremy.
* r13916: Fix Coverity bug #29. Looks like my code. I wonder how much there is ↵Volker Lendecke2006-03-071-0/+1
| | | | | | | | still lurking... Volker
* r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()Gerald Carter2006-02-201-8/+8
| | | | macro which sets the freed pointer to NULL.
* r13498: Fix the kernel oplocks code for IRIX. Should fix #3515.Jeremy Allison2006-02-141-16/+7
| | | | Jeremy.
* r13482: Push the FAM notification file descriptor into the selectJames Peach2006-02-131-10/+5
| | | | set to avoid unnecessary polling.
* r13233: build fixes for smbmnt; remove unused variable; ready to ship ↵Gerald Carter2006-01-301-1/+0
| | | | 3.0.21b now
* r13198: Fix issues exposed by Jerry's testing on 64-bit SolarisJeremy Allison2006-01-271-55/+138
| | | | | (I hope). Separate 3.0.21b patch sent to Jerry. Jeremy.
* r13192: Fix up alignment issues when printing share modeJeremy Allison2006-01-271-0/+9
| | | | | | entries. Add paranioa to debug so we know when an entry is unused. Jeremy.
* r12877: Stop passing structs around in smb messages, insteadJeremy Allison2006-01-121-55/+133
| | | | | | | | | always linearize into little-endian. Should fix all Solaris issues with this, plus provide a cleaner base moving forward for cluster-aware Samba where smbd's can communicate across different compilers/architectures (eventually these message will have to go cross-machine). Jeremy.
* r12713: Remove use of uint8_t -> uint8.Jeremy Allison2006-01-041-1/+1
| | | | Jeremy.
* r12460: Fixes for bug 3349Volker Lendecke2005-12-241-0/+8
|
* r12203: Add the share path into the sharemode db. This involvesJeremy Allison2005-12-121-3/+3
| | | | | | | | | | revving the minor version number for libsmbsharemodes (we now have a new _ex interface that takes the share path as well as the filename). Needed for #3303. Some code written by SATOH Fumiyasu <fumiya@samba.gr.jp> included in the changes to locking/locking.c. The smbstatus output is a bit of a mess and needs overhauling... Jeremy.
* r10656: BIG merge from trunk. Features not copied overGerald Carter2005-09-301-1010/+321
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r9126: Fix valgrind bug Volker found in interaction with new aio bufferJeremy Allison2005-08-051-5/+7
| | | | | flipping and oplocks. Jeremy.
* r8545: Fix oplock bug introduced by oplock code "simplification" :-).Jeremy Allison2005-07-181-5/+5
| | | | | | We *always* reply to an exclusive oplock break message even if we have no record of the oplock (and we always did before 3.0.20pre2). Jeremy.
* r8521: Another micro-step: Don't pass down a flag where not necessary.Volker Lendecke2005-07-171-14/+16
| | | | Volker
* r8508: Rename EXCLUSIVE_BREAK_SENT to BREAK_TO_NONE_SENT.Volker Lendecke2005-07-151-2/+2
| | | | Volker
* r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the tortureJeremy Allison2005-07-081-29/+38
| | | | | | | | | tests on this as it's very late NY time (just wanted to get this work into the tree). I'll test this over the weekend.... Jerry - in looking at the difference between the two trees there seem to be some printing/ntprinting.c and registry changes we might want to examine to try keep in sync. Jeremy.
* r7963: Add aio support to 3.0.Jeremy Allison2005-06-271-6/+20
| | | | Jeremy.
* r6252: Re-order position of become_root() to allow directory to beJeremy Allison2005-04-081-3/+4
| | | | | read first. Jeremy.
* r6234: Fix for possible root squash nfs bugs from psz@maths.usyd.edu.auJeremy Allison2005-04-071-0/+6
| | | | Jeremy.
* r6225: get rid of warnings from my compiler about nested externsHerb Lewis2005-04-061-5/+3
|
* r6172: Tidy up error processing significantly. Remove unix_ERR_XXX global ↵Jeremy Allison2005-04-011-0/+3
| | | | | | nastyness. Jeremy.
* r5014: Split out the request to send an async level II oplock break into aJeremy Allison2005-01-261-17/+58
| | | | | | | new function to make it clear when it's called. Remove async parameter that had been overloaded into request_oplock_break. Inspired by work from Nadav Danieli <nadavd@exanet.com>. Jeremy.
* r5002: Ensure we can't remove a level II oplock without having theJeremy Allison2005-01-261-17/+19
| | | | | | shared memory area locked. This need to be in 3.0.11. Pointed out by Nadav Danieli <nadavd@exanet.com>. Jeremy.
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2004-12-071-2/+2
| | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy.
* r1117: Doh ! Remember to turn off signing when sending a "break to level II" ↵Jeremy Allison2004-06-111-1/+9
| | | | | | | | | | | | oplock message, or we mess up the signing sequence number.... Also improve sign error reporting. Also when deferring an open that had been deferred due to an oplock break, don't re-add the mid to the pending sign queue or we increment the sequence number twice and mess up signing again... I can now bounce between 2 WinXP/Win2003 boxes opening Excel spreadsheets with signing turned on and get correct "file in use" messages. Jeremy.
* r1089: Removed spurious oplock message in deferred open processing.Jeremy Allison2004-06-081-1/+1
| | | | | Fix smb signing sequence counts. Jeremy.
* r1085: Now it's had some proper user testing, merge in the deferred open ↵Jeremy Allison2004-06-081-1/+69
| | | | | | | | fix. I'm still doing more testing, but it fixes a behaviour that we've been wrong on ever since the start of Samba. Jeremy.
* r2: import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunkCVS Import User2004-04-041-0/+1260
metze