Age | Commit message (Collapse) | Author | Files | Lines |
|
Michael
(This used to be commit b97acdc67b1a55529e69bb7b2b78a317a34b1eba)
|
|
error condition to write. This is in tdb_new_database.
Fix one call to tdb_new_database in tdb_open_ex to not
overwrite the newly propagated errno (typically ENOSPC).
Michael
(This used to be commit eb524df0a52783de6c94a11b44f268e0f26fbb2c)
|
|
Add TDB_VOLATILE as open_flag to activate the per-hashchain dead record
optimization.
(This used to be commit 868cdb1781fe94afbc1658e72bf06de20193bcd7)
|
|
* prevent infinite loops due to 0 bytes written:
try once more. if we still get 0 as return,
set errno to ENOSPC and return -1 (error)
* replace int by correct types (ssize_t and size_t).
* print a warning log message in case "written < requested to write"
usually this means, that the next call to pwrite will fail
with return value -1 and set errno accordingly.
Note that the former error condition "written != requested to write"
is not a correct error condition of write/pwrite. If this is due
to an error, a subsequent call to (p)write will reveal the cause
(typically "no space left on device" - ENOSPC).
Michael
(This used to be commit 7f415d12239fc67eb2c7894c6359b9507fe122c6)
|
|
The proper error condition is (ret == -1) instead of
(ret != number_of_byte_told_to_write).
Michael
(This used to be commit 4c3c6363f860ec01d3c789ef8ee2aa3eb77000dc)
|
|
Michael
(This used to be commit dc0104be9acfcd97f95388029a421204723b641a)
|
|
(This used to be commit bf7774360bbcf557e3cbc4ef0c45f750b4ba89c3)
|
|
Michael
(This used to be commit 1685057927e0ae37ed6be780ee0fb4b3bbefc00f)
|
|
(This used to be commit 5c9b19271e0e3ad897499707003ce4703ffa4870)
|
|
(This used to be commit db92b76a0034899f5f0dc2d012ee7709ff9a6132)
|
|
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
|
|
(This used to be commit 76c6bfdeb51b5673bbabe0ca3d8bff3b74a327ee)
|
|
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
|
|
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
|
|
Jeremy.
(This used to be commit 59ba128cb61e77a830ddd8b8e1d5d0fd00f99736)
|
|
say "locks chain and returned record", not
"and returns record"
Jeremy.
(This used to be commit fa880e6cc16024f14d10cdc8120ce67bfd1d2eb6)
|
|
travlocks.lock_rw for lock read/write types, it
was sometimes using it (tdb_next_lock) and
sometimes explicitly using F_WRLCK instead.
Change this to consistently use travlocks.lock_rw
only.
I'm pretty sure about this fix (else I woudn't
be checking this in :-) but tridge and Volker
please review.
Jeremy.
(This used to be commit fa548ad75e945ae4d167baffb87140c90cba268c)
|
|
this ensures that having the global lock also implies the transaction
lock
(This used to be commit 9dbb2633d7781fcc5d15b175ef36bfda5eb199bb)
|
|
(This used to be commit a88ab4fa3a07c31bc45c612043f9e096f384eda4)
|
|
(This used to be commit 8197cb975ec8ed92f10782cef20ff4373d6d6965)
|
|
support of system versions of tdb, talloc.
(This used to be commit 9b991ce9ca28b3d88c778305ec5f681506162637)
|
|
(This used to be commit e72cec408e832e0f6ce05c38febdd56de501dbf7)
|
|
This should make it easier to allow use of system tdb or talloc libs using
pkg-config.
(This used to be commit a3ec90a2635d47e5c073e873c15daab4a8ef5400)
|
|
(This used to be commit 54cc097e0f8ca880c6c370e712ce427cefb16f08)
|
|
(This used to be commit d0f8d46813ea0b633cb40c9a77b90f34307cb2ab)
|
|
packaged independent of Samba for Debian).
(This used to be commit 846cfcf44df07457d228c9a5afab743e071ab7aa)
|
|
(This used to be commit bffb8f88006fd2530cad270df642d9a23a01b34b)
|
|
(This used to be commit a0ff739bcab32065d9d3957eb1d93f7791f84f04)
|
|
metze
(This used to be commit 8f24f6b38e967075589529a08c68a1a56f9f0499)
|
|
(This used to be commit ff78be0be4ef67ed25bfb837bd8a7bf4105367fb)
|
|
thanks to Ted T'so for pointing this out
(This used to be commit 6921f2f7093bbb6c236f16947072026303e58439)
|
|
should I merge this to SAMBA_3_0? as it's also totally
broken there, as the connection_struct definition is completely
different
metze
(This used to be commit 5677b01d1dc63276a36daac400d5b0d935034ce6)
|
|
metze
(This used to be commit f471e752161e392ef7324df30517af1818a27d1d)
|
|
metze
(This used to be commit 902a76ca705f07c61f86a9ef1346583ba9d3157d)
|
|
samba-technical@samba.org. If
you do a tdb_set_max_dead(tdb, n), then for this tdb a delete operation will
only mark a record as dead and re-use it if a new record is created. The
parameter n allows for at most n dead records per hash chain. If this number
is exceeded, all dead records are put on the central freelist.
Volker
(This used to be commit 98a27ab28a3cd554e370a9a0e3652f4dea8749e9)
|
|
(This used to be commit afe7d7855841066b88859976ac748cbf438a9a9f)
|
|
Not as bad
as not doing it at all, but needs fixing. Also simplify the logic, I had
missed the "goto out" at the end of the function.
Volker
(This used to be commit ed30a0ff602d0a1d4409bee4faf12b6979b5f4b8)
|
|
succeeded. Found while testing the brlock seqnum patch.
Tridge, please check!
Volker
(This used to be commit e518c68fc5446304611d096ac2e3cab744734fc3)
|
|
in-memory
mirrors of the hash chain locks to a dynamically allocated one.
Jeremy, I count on you to revert it if the build farm freaks out, it's after
midnight here :-)
Volker
(This used to be commit 7b5db2e472c7e27231fa432d3930789e708abd09)
|
|
separately specifying CPPFLAGS and LDFLAGS.
(This used to be commit 41c775efde85cb1115c40488dd3ab49cd77e356d)
|
|
Should help us validate tdb's against corruption.
Jeremy.
(This used to be commit bd0710fa09799cb496b1f9f365c57c3b542445f3)
|
|
(This used to be commit 1b046698521f77b843f4a2fcf91230ee2917b569)
|
|
tdbutil.c is Samba specific, so should not be part of the generic tdb
library
(This used to be commit 979dd24f5e44605fc1603b690913b8c31be7478f)
|
|
(This used to be commit c9d9d79c34e8a36a6f684b173b1cc861330adc5c)
|
|
this is in preparation of a merge in the other direction
(This used to be commit db3211079fd594aa03c3b9bb3eb6ad86bdd32837)
|
|
call which does a read lock on all chains. These will be used to make
ldb searches more efficient
(This used to be commit de664ec1f8cf179f1d650563272c0de3f7636e2b)
|
|
metze
(This used to be commit bd4cd24a9dc370552a90f267bdcabf4cb45c8507)
|
|
(This used to be commit 61104953c82442b9ef0817c077f4b91741fa3aa8)
|
|
- add library test for libpopt
(This used to be commit 13878b7e7ec65b21df954f83afc0e9ceb73e44a0)
|
|
talloc or libreplace
(This used to be commit 9f45f970f71ee5585bf3c924b9c77188405fa246)
|