Age | Commit message (Collapse) | Author | Files | Lines |
|
pipe() on all platforms, not socket pairs (stdin/out are not sockets)
also show the output while its happening, so the tests become useful
again for non-automated usage.
I still really dislike running tests like the TALLOC one as child
processes
(This used to be commit b621999c59fc56a32ff574523204355c5e0382c0)
|
|
a pty in the piped_child() code
Jelmer, if you want to fix this on platforms that support it, see the
forkpty() call, or see
http://junkcode.samba.org/ftp/unpacked/junkcode/rline/
(This used to be commit 35908a29922b93d133b19881dc8205a7116cae8e)
|
|
Failures on some platforms of the WINSREPLICATION test have been
bugging us for months. I finally traced it down to this one record, at
least on the SerNet-solaris8 machine. Disabling this one record allows
the test to pass. I have no idea why, but I'll leave that to Metze :)
(This used to be commit 94cdfd5458e5c8bc6451d3eb776cbfc0c1d590a7)
|
|
doing them before.
(This used to be commit 42171cbf4959ba36114762a09a747a3c7c87d135)
|
|
tdbutil.c is Samba specific, so should not be part of the generic tdb
library
(This used to be commit 979dd24f5e44605fc1603b690913b8c31be7478f)
|
|
metze
(This used to be commit 0fcdc8c243f50da5a1203370740ac8d022a5cfdc)
|
|
(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)
|
|
(This used to be commit 802ede34e83014fe216a5b7bcdf18586327a8a09)
|
|
With ldbbrowse, you can issue searches or browse the database in tree format.
To try it, ensure that "make installswat" is done (it's run by "make install"
so you shouldn't have to do anything special). Run smbd and connect with your
browser to http://localhost:901/apps/samba/utils/ldbbrowse.html
(It looks great in firefox. There's some problem with the layout in IE.
Maybe if I get really really motivated one of these days, I'll look into that.)
There's lots more that could be done with it, but as an example of using
qooxdoo and JSON-RPC, I think it accomplishes its task.
Enjoy!
Derrell
(This used to be commit 0888c7098daefc23738dd47fe1c072516ba55feb)
|
|
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 0b3e83814bdf015064d7dd1f26cf9ec3ddadc7f4)
|
|
(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)
|
|
rafal
(This used to be commit 2ed463e3cd36434c25833a0905e432b5b7f14e25)
|
|
only 'sam.ldb')
(This used to be commit 023c3b02b9990eed90904d3ba7e506dfe3d28345)
|
|
create a socket for stderr.
(This used to be commit 16b6dbd713e306c88b5251e5092b8731749c5263)
|
|
(This used to be commit b79303f25180c777d9d09b2cdf852bf0a5eda70d)
|
|
(This used to be commit 448a3ecc0184bfa063db1eb3ae6dc16b8b792792)
|
|
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
|
|
tests as
known failing.
(This used to be commit 3855ec9dcaa694fffa1f2a24205d490708d12750)
|
|
(This used to be commit bfa0fbfe94759bb120a4610f333c0beb940e3d76)
|
|
(This used to be commit b4fc06aeafa3ed8460759409a72b4de43a534d62)
|
|
Issues left for the enterprising developers:
- Selection of the ldb file to open. This version always browses sam.ldb.
- When issuing a search which returns a huge amount of data, firefox times
out while adding the data to the page. The ldb functions on the server
should be upgraded to allow providing a starting offset in the result set,
and a limit of how many results to return. The application can then issue
multiple requests if necessary, to limit the amount of processing needed
to handle any single result set.
Next step for me is to make it look more like a Samba application and less
like a qooxdoo example application. Per Tridge's request, I'll leave the
debug console on the page.
Derrell
(This used to be commit 41ed250e020a0860d1769a3144ec7a153f138b57)
|
|
server to prepend path where it's located (private_dir)
(This used to be commit 5a21c97b73a896dbba0d814c2226e17a67034802)
|
|
(This used to be commit 7789ad2372ce5f6cca287bf31d9d08979112a8c4)
|
|
Support listing known failures as a list of wildcards in the file
`KNOWN_FAILURES'.
(This used to be commit 23f66efd564d1ad549fc0cd60348f54808f5cafa)
|
|
rafal
(This used to be commit 732c22071e78f16fd0731635ca4b3e093d49078a)
|
|
rafal
(This used to be commit 4dfd1d50274bc1ff539782e9bfdb2b7b20275d06)
|
|
(This used to be commit 77d13056bf437de77bfc94e21e9c945928e7f521)
|
|
(This used to be commit 0061f3c47e95f07461837c4051cf129b18961b56)
|
|
(This used to be commit 88c589940dfbc04c747cea4f97c84142ea139050)
|
|
(This used to be commit b4c8bf7398cd8a9a2132dd4b04a0ea8004e7f1b0)
|
|
standalone program that speaks subunit.
(This used to be commit 48d316e7594dfc29b8e6a710e32bb5a6a036b7cf)
|
|
(This used to be commit 0eef6dabc6b6a4e883654c78a0b88cebb6b3d7cd)
|
|
(This used to be commit 05134a90e3ff0e4039dbd34c52f824bc666feb11)
|
|
otherwise BASE-DELETE will run all tests
- call ldb_global_init() directly after torture_init()
this isn't strictly needed but looks better
metze
(This used to be commit 0c26c2aefdb603c5ffc87e9c0db0e9b2b34ec0ab)
|
|
(This used to be commit e2866ce78851a84c937408c0781fcc1e7107f663)
|
|
(This used to be commit 9389ca13a38b9a3ba6f3533293ab0d0c8c06a30a)
|
|
(This used to be commit d7e07685164141f8fb2c2a6258e1fcb46ff9d06c)
|
|
(This used to be commit 916413097d2ca7b71c06cd701f09bc3b9fc06cfc)
|
|
(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)
|