Age | Commit message (Collapse) | Author | Files | Lines |
|
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)
|
|
in the talloc benchmark. These changes were driven by some cachegrind
profiles, with the biggest improvements coming from inlining some
functions.
I don't think it would be a good idea to start spreading inline and
likely()/unlikely() in other parts of Samba, as the benefit in most
code will be very small, but talloc() is such a speed critical part of
Samba that I think these changes are worthwhile
(This used to be commit 8644708c3f42d249b5d1fd2bde37aeb35288da13)
|
|
build farm
(This used to be commit be43b8c5692f6bb6f1cc74d07f24376b43593256)
|
|
- close the sockets after the socketpair test
(This used to be commit e679163ac26dccee028ca501e4ef6229a3c761ee)
|
|
depend on namespace pollution)
(This used to be commit 5052d2d10693e67f1b7c6c71277c8d1bc9c8b612)
|
|
(This used to be commit d01bdf1f2dcdf77043a5ad162ee336d3c6f2e944)
|
|
cost of talloc versus malloc. The size parameter in the test suite was
constantly increasing, leading to a worst case for malloc. It is far
more common to have talloc calls of 100 bytes or lower, so change the
benchmark to reflect this.
This makes talloc look much worse - on my laptop I now get:
talloc: 5615164 ops/sec
malloc: 14337130 ops/sec
I'm working on improving that.
(This used to be commit db273ef4dd6ab58da57bb4b59fb1fd5568585ed8)
|
|
(This used to be commit c4e1d2c5ae11acac7dd2cedca411b9b6be84962f)
|
|
by avoiding chain locks on each tdb_fetch() within the search
- use the tdb_get_seqnum() call to avoid re-reading the @BASEINFO
record when it hasn't changed.
These speed up the LOCAL-DBSPEED test for ldb from 7k ops/sec to a bit
over 11k ops/sec
(This used to be commit 1347ad254eb8cd12ce22a5a2a37bec0a0ac8dbf1)
|
|
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)
|
|
used after closedir(), which invalidates the name)
(This used to be commit d8af519c2d2fcab3baa822c5fd4c1079dcbd1de3)
|
|
(This used to be commit b79303f25180c777d9d09b2cdf852bf0a5eda70d)
|
|
(This used to be commit 448a3ecc0184bfa063db1eb3ae6dc16b8b792792)
|
|
Support listing known failures as a list of wildcards in the file
`KNOWN_FAILURES'.
(This used to be commit 23f66efd564d1ad549fc0cd60348f54808f5cafa)
|
|
(This used to be commit b4c8bf7398cd8a9a2132dd4b04a0ea8004e7f1b0)
|
|
standalone program that speaks subunit.
(This used to be commit 48d316e7594dfc29b8e6a710e32bb5a6a036b7cf)
|
|
(This used to be commit 05134a90e3ff0e4039dbd34c52f824bc666feb11)
|
|
(This used to be commit e2866ce78851a84c937408c0781fcc1e7107f663)
|
|
(This used to be commit d7e07685164141f8fb2c2a6258e1fcb46ff9d06c)
|
|
(This used to be commit 8c091bcdece5c17073838ad2367f3f4e22e97c31)
|
|
- set better names on talloc structures in ldb modules, making leaks
easier to track down
(This used to be commit 3bf76db42dc6dde5d71083216dba819869b31c75)
|
|
(This used to be commit 1581babfb5a5bbbfc2706dbec9b37b03fe9a5af6)
|
|
of blocks used at connect time (which depends on how many modules are
loaded)
(This used to be commit e3aa03bf1f7c7b770606f5e860fce11b4402fc84)
|
|
Support directories for subcategories in tests.
Several small other fixes.
(This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
|
|
(This used to be commit 8a8e974d2150d00855ccafef02b7ef2607921ea0)
|
|
'subunit' protocol. This allows us to easily plug EJS scripts or binaries that
can't depend on -ltorture into smbtorture. The protocol is very simple:
- write "comments" to stderr
Example output on stdout:
test: foo
success: foo
test: bar
success: bar
test: blah
failure: blah [
dummy.c:30: Expression 1 != 2 failed!
]
test: blie
skip: blie [
Iconv support not built in
]
I've already converted the talloc testsuite.
(This used to be commit e1742c14a247fabba969f8698108e73997d3f420)
|
|
output in the testsuite rather than just True or False for a
set of tests.
The aim is to use this for:
* known failure lists (run all tests and detect tests that
started working or started failing). This
would allow us to get rid of the RPC-SAMBA3-* tests
* nicer torture output
* simplification of the testsuite system
* compatibility with other unit testing systems
* easier usage of smbtorture (being able to run one test
and automatically set up the environment for that)
This is still a work-in-progress; expect more updates over the next couple of
days.
(This used to be commit 0eb6097305776325c75081356309115f445a7218)
|
|
(This used to be commit 326389afed0521133ac07339bd5e2bfbf8d80d0a)
|
|
(This used to be commit 3e0e2787c1da1c3831e21b163e1370001d725a3d)
|
|
(This used to be commit 5cc92d915b7442d2eebc4b66ab89bbd15b96a493)
|
|
(This used to be commit 0824b3b8c1003064b0f2c5a3f084f3e711155e8c)
|
|
(This used to be commit 06387e1cf2d12a74e15a6cdf19e83a28c75cb5fd)
|
|
(This used to be commit e03ed5822a690e2d151107f2edb9b4f1d3a1e1b9)
|
|
when the code has been changed to be async.
With the other committed fixes now this works.
(This used to be commit 49fc640b5c0398516ac3a9e3f7c55205cd60b1de)
|
|
the results where used.
Seem that el is hanging out of a request, and the target is put on the final results.
Still one to catch and fix, but this seem to cure most of them
(This used to be commit bfeaa08fde805439dbda974be6fcb692957b00f1)
|
|
Cope with there being no attributes to skip in the ad2oLscheam tool
Andrew Bartlett
(This used to be commit 942d7ad0c3534770ad05977b180e1c8111a5b6a6)
|
|
(This used to be commit c989dfbe18a2f700e952f478e258bd626c9eb2f5)
|
|
(This used to be commit fe20ac404d654abe31729664584391f3b3cd0214)
|
|
ldb context for sam.ldb
(This used to be commit 5861ff69cc929c553e2c828ff42761cec6647d79)
|
|
(This used to be commit 6fad80bb09113a60689061a2de67711c9924708b)
|
|
this makes 'make test' _very_ noisy, apologies for that, but nearly
all the noise is real memory leaks, so if you don't like it then jump
in and help fix the leaks :)
(This used to be commit d791fd7b7b7a0a2674a70afe6cbbf0e3bd014544)
|
|
(This used to be commit 669aa1424c7a931f57856af0cd4a6f6f4a60b823)
|
|
metze
(This used to be commit bd4cd24a9dc370552a90f267bdcabf4cb45c8507)
|
|
fails
(This used to be commit 330a722f1330059cbba19f99210a1a5a7c773a36)
|
|
- propogate errors to the ldbadd command line tool
- use the rdn_name module when testing the tdb backend to allow the
same test code to correctly test the ldap and non-ldap backends
(This used to be commit dd82c474a123d90329bda653a4cb73c93e087b15)
|
|
information when modules fail to load.
Andrew Bartlett
(This used to be commit 512ef62f4a63fd90b67757b2c7b2e8ec83969204)
|
|
add AC_REMOVE_INCLUDE(), AC_REMOVE_DEFINE() macros
metze
(This used to be commit dc65a6625295a7316c2e9982ee09eb9607dbed70)
|
|
handle NO_CONFIG_H in libreplace
metze
(This used to be commit 909d736a4bf5a7adfcd64eecf6bb2a92211c6f96)
|