summaryrefslogtreecommitdiffstats
path: root/source/locking
Commit message (Collapse)AuthorAgeFilesLines
* Fix some "set but never used" warningsVolker Lendecke2008-01-201-5/+0
|
* Merge CTDB-related fixes from samba-ctdb 3.0 branch ↵Alexander Bokovoy2008-01-161-14/+15
| | | | | (http://samba.org/~tridge/3_0-ctdb) Signed-off-by: Alexander Bokovoy <ab@samba.org>
* Don't early delete the share mode tdb dataVolker Lendecke2008-01-121-2/+0
| | | | We now refer directly to the file name in the tdb data, so don't delete it.
* Trivial simplificationVolker Lendecke2008-01-121-5/+1
|
* Some more talloc_tos()Volker Lendecke2008-01-101-7/+7
|
* use talloc_tos in a few more placesVolker Lendecke2008-01-101-2/+2
|
* Remove redundant parameter fd from SMB_VFS_GETLOCK().Michael Adam2008-01-071-2/+2
| | | | Michael
* Do not talloc_strdup filename and servicepathVolker Lendecke2008-01-071-16/+8
|
* Remove redundant parameter fd from SMB_VFS_LOCK().Michael Adam2008-01-071-2/+2
| | | | Michael
* allocate share_mode_str only when neededVolker Lendecke2008-01-041-1/+4
|
* Remove redundant connection_struct from fd_close_posix() parameter list.Michael Adam2007-12-221-2/+2
| | | | Michael
* Convert the posix_pending_close_db to dbwrap_rbtVolker Lendecke2007-12-111-126/+130
|
* Tiny simplificationsVolker Lendecke2007-12-103-16/+17
| | | | | | locking.c:open_read_only was unused don't export the silly boolean flag locking_init(bool read_only)
* Remove a staticVolker Lendecke2007-12-101-11/+9
|
* Remove two staticsVolker Lendecke2007-12-101-39/+17
|
* Add a commentVolker Lendecke2007-11-181-1/+7
|
* Fix a valgrind errorVolker Lendecke2007-11-181-3/+4
|
* Add MAX_DNS_NAME_LENGTH, remove more pstrings.Jeremy Allison2007-11-152-11/+14
| | | | Jeremy.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-183-69/+69
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* r25055: Add file_id_string_tosVolker Lendecke2007-10-102-3/+3
| | | | This removes file_id_string_static and file_id_string_static2
* r24571: Only look at errno if the close call actually failedVolker Lendecke2007-10-101-1/+4
| | | | Patch from Ofir Azoulay <Ofir.Azoulay@expand.com> -- thanks
* r24266: Remove the "open files database hash size" parameterVolker Lendecke2007-10-102-4/+2
| | | | This has been superseded by the "tdb_hashsize:<tdbname>" parameter
* r24117: use locking_key() instead of forming the TDB_DATA keyStefan Metzmacher2007-10-101-4/+1
| | | | | | by hand metze
* r24034: Print the full cluster pid in print_lock_structVolker Lendecke2007-10-101-2/+2
|
* r23956: merge from 3_2-ctdb-tridge:Stefan Metzmacher2007-10-101-0/+8
| | | | | | | | fixed a bug with dead share mode entries jra: please tell me if it's ok to merge this to 3_2_0. metze
* r23908: Fix bug with interaction of optimization withJeremy Allison2007-10-101-8/+24
| | | | | | POSIX locking. We can't do lock counts with POSIX, so stop counting if we get a POSIX lock request. Jeremy.
* r23885: Fix make test on opi.Volker Lendecke2007-10-101-0/+1
|
* r23882: Fix Coverity id 389 -- finally (I hope)Volker Lendecke2007-10-101-7/+11
|
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-103-6/+3
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-103-3/+3
| | | | Jeremy.
* r23759: Fix make test -- sorryVolker Lendecke2007-10-101-2/+2
|
* r23755: Fix Coverity id 384Volker Lendecke2007-10-101-1/+7
|
* r23516: Fix bug found & fixed by Doug Rudoff (doug_rudoff@isilon.com)Jeremy Allison2007-10-101-0/+6
| | | | | | | - when cleaning up invalid locks make sure we mark the lck struct as modified so it'll get saved back correctly (that was the original intent). Jeremy.
* r23510: Tidy calls to smb_panic by removing trailing newlines. Print theJames Peach2007-10-103-28/+28
| | | | failed expression in SMB_ASSERT.
* r23486: Ok, this time with a hopefully successful make test in the right place:Volker Lendecke2007-10-101-4/+0
| | | | Remove two local variables
* r23316: Ouch... This would not have run in production without cluster codeVolker Lendecke2007-10-101-2/+2
| | | | anyway.
* r23222: share_mode_forall() is only for counting and status display stuff, soVolker Lendecke2007-10-101-1/+1
| | | | traverse_read is enough here
* r23204: Add MSG_SMB_BRL_VALIDATE. Tridge, this is a bit different from your bzrVolker Lendecke2007-10-101-0/+106
| | | | | | | | | | branch, please check if it fulfils your needs. Two changes: The validation is not done inside the brlock.c traverse_fn, it's done as a separate routine. Secondly, this patch does not call the checker routines in smbcontrol directly but depends on a running smbd.
* r23195: Add void *private_data to brl_forallVolker Lendecke2007-10-101-10/+28
|
* r23183: Check in a change made by Tridge:Volker Lendecke2007-10-103-80/+52
| | | | | | | | | | | | | 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
* r23169: Merge 535 of Tridge's bzr tree:Volker Lendecke2007-10-101-2/+5
| | | | | store the right data after cleaning lock records. This fixes RAW-BENCH-LOCK after a recovery on a cluster
* r23165: Convert brlock.tdb to dbwrapVolker Lendecke2007-10-101-38/+51
|
* r23164: Minor cosmetic checkinVolker Lendecke2007-10-101-2/+2
|
* r23163: Convert locking.tdb to dbwrapVolker Lendecke2007-10-101-91/+109
|
* r23162: Make use of messaging_send_bufVolker Lendecke2007-10-101-4/+2
|
* r23100: Implement the delete on close semantics I've just tested forJeremy Allison2007-10-101-1/+45
| | | | | | in Samba4 smbtorture. Fix rename on an open file handle. Needed for 3.0.25a. Jeremy.
* r23096: Make the lock failure message prettier.James Peach2007-10-101-4/+4
|
* r23014: For all branches, ensure that if we're blocked on a POSIXJeremy Allison2007-10-102-5/+26
| | | | | | | | lock we know nothing about that we retry the lock every 10 seconds instead of waiting for the standard select timeout. This is how we used to (and are supposed to) work. Jeremy.
* r22846: Chunk one to replace message_send_pid with messaging_send: Deep insideVolker Lendecke2007-10-102-32/+45
| | | | | | locking/locking.c we have to send retry messages to timed lock holders. The majority of this patch passes a "struct messaging_context" down there. No functional change, survives make test.
* r22736: Start to merge the low-hanging fruit from the now 7000-line cluster ↵Volker Lendecke2007-10-101-6/+6
| | | | | | | | | patch. This changes "struct process_id" to "struct server_id", keeping both is just too much hassle. No functional change (I hope ;-)) Volker