Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-02-26 | s3:net rpc registry: use regsubkey_ctr_init() instead of using talloc directly. | Michael Adam | 1 | -2/+5 | |
Michael | |||||
2009-02-26 | s3:registry: hash the list of subkeys in the regsubkey_ctr | Michael Adam | 3 | -27/+108 | |
This removes many loops over all the arrays (from regsubkey_ctr_key_exists) and thus reduces "net conf drop" from 1m55 to 48seconds and "net conf import" from 1m55 to 58 seconds for 2000 shares on my box. Michael | |||||
2009-02-26 | s3:registry: remove definition of regsubkey_ctr from the surface. | Michael Adam | 2 | -5/+7 | |
All access is now through accessor functions in reg_objects.c This allows for performance tuning under the hood in the next step. Michael | |||||
2009-02-26 | s3:profiles: use regsubkey_ctr_init() instead of using talloc directly. | Michael Adam | 1 | -1/+3 | |
Michael | |||||
2009-02-26 | s3:registry: use regsubkey_ctr_init() in reg_eventlog.c | Michael Adam | 1 | -4/+10 | |
Michael | |||||
2009-02-26 | s3:services_db: use regsubkey_ctr_init() instead of using talloc directly | Michael Adam | 1 | -2/+4 | |
Michael | |||||
2009-02-26 | s3:registry: use regsubkey_ctr_get_seqnum() in reg_backend_db.c | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-02-26 | s3:registry: use regsubkey_ctr_set_seqnum() in reg_backend_db.c | Michael Adam | 1 | -1/+4 | |
Michael | |||||
2009-02-26 | s3:registry: use regsubkey_ctr_init() in reg_backend_db.c | Michael Adam | 1 | -8/+14 | |
instead of using talloc directly. Michael | |||||
2009-02-26 | s3:registry: use regsubkey_ctr_init() in reg_api.c | Michael Adam | 1 | -13/+10 | |
instead of using talloc on struct regsubkey_ctr. Michael | |||||
2009-02-26 | s3:registry: add regsubkey_ctr_get_seqnum() to hide implementation | Michael Adam | 2 | -0/+10 | |
Michael | |||||
2009-02-26 | s3:registry: add regsubkey_ctr_set_seqnum to hide implementation from caller. | Michael Adam | 2 | -0/+12 | |
Michael | |||||
2009-02-26 | s3:registry: add a regsubkey_ctr_init function for allocating a regsubkey_ctr | Michael Adam | 2 | -1/+16 | |
Michael | |||||
2009-02-26 | s3:registry: fix a comment | Michael Adam | 1 | -3/+3 | |
Michael | |||||
2009-02-26 | s3:registry: don't directly access key->subkeys->subkeys[] in reg_backend_db.c | Michael Adam | 1 | -3/+5 | |
Use the reg_objects accessor regsubkey_ctr_specific_key() instead. Michael | |||||
2009-02-26 | s3:registry: don't directly access key->subkeys->subkeys[] in reg_api.c | Michael Adam | 1 | -2/+5 | |
Use the reg_objects accessor regsubkey_ctr_specific_key() instead. Michael | |||||
2009-02-26 | s3:registry: don't directly access key->subkeys->num_subkeys in reg_backend_db. | Michael Adam | 1 | -12/+16 | |
Use the reg_objects api instead. Michael | |||||
2009-02-26 | s3:registry: don't directly access key->subkeys->num_subkeys in reg_api.c | Michael Adam | 1 | -5/+5 | |
Use the reg_objects api instead. Michael | |||||
2009-02-26 | s3:registry: replace typedef "REGSUBKEY_CTR" by "struct regsubkey_ctr" | Michael Adam | 21 | -85/+85 | |
This paves the way for hiding the typedef and the implementation from the surface. Michael | |||||
2009-02-26 | Revert "Fix a O(n^2) algorithm in regdb_fetch_keys()" | Michael Adam | 1 | -27/+5 | |
This reverts commit a13f065bad0f4d21a67e68b743f17f45bf0a4691. This fix is reverted, because the speedup is going to move further down into reg_objects.c. The unsorted list of subkey names is going to be indexed: This O(n^2) search bites us in more places. This re-establishes the abstraction of reg_objects.c. Michael | |||||
2009-02-26 | Remove a temporary debug message -- sorry | Volker Lendecke | 1 | -1/+0 | |
2009-02-26 | s3-spoolss: fix search_notify(). sorry... | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-02-26 | s3: re-run make samba3-idl. | Günther Deschner | 3 | -3/+54 | |
Guenther | |||||
2009-02-26 | s3-spoolss: job status defines moved to IDL. | Günther Deschner | 2 | -16/+1 | |
Guenther | |||||
2009-02-26 | spoolss: add spoolss_JobStatus. | Günther Deschner | 1 | -1/+22 | |
Guenther | |||||
2009-02-26 | s3-spoolss: remove some unused defines and structs. | Günther Deschner | 2 | -27/+1 | |
Guenther | |||||
2009-02-26 | s4:heimdal_build: correrctly switch closefrom() and get/setprogname() ↵ | Stefan Metzmacher | 1 | -4/+6 | |
replacements on and off metze | |||||
2009-02-26 | Convert open_socket_out to tevent_req | Volker Lendecke | 2 | -47/+47 | |
2009-02-26 | Add tevent_req helpers to includes.h | Volker Lendecke | 1 | -0/+2 | |
2009-02-26 | Add tevent_ntstatus | Volker Lendecke | 3 | -1/+84 | |
2009-02-26 | s3:net: wrap net conf import into one big transaction | Michael Adam | 1 | -6/+27 | |
This speeds up "net conf import" of a file with 2000 shares from 11 minutest to 1m50s on my box. Michael | |||||
2009-02-26 | s3:libsmbconf: add transactions to the libsmbconf api | Michael Adam | 5 | -0/+57 | |
This is useful for wrapping higher level aggregate operations in transactions. The text backend implementations just return WERR_OK, the registry backend implementatoins use the regdb_transaction_start|commit|cancel routines just added. Michael | |||||
2009-02-26 | s3:registry: wrap deletekey_recursive in one big transaction. | Michael Adam | 1 | -2/+38 | |
This speeds up "net conf drop" with 2000 shares on my box from 4m40s to 1m50s, leaving virtually only cpu load. Michael | |||||
2009-02-26 | s3:registry: provide transaction_start|commit|cancel fns for the registry tdb | Michael Adam | 2 | -0/+21 | |
Michael | |||||
2009-02-26 | Wrap creating the sorted subkey cache in a transaction | Volker Lendecke | 1 | -3/+31 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-02-26 | Add a comment describing the sorted subkeys | Volker Lendecke | 1 | -0/+23 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-02-26 | Add sorted subkey cache | Volker Lendecke | 2 | -19/+175 | |
On my box this gets net conf list for 1000 records down to .1 seconds Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-02-26 | Add db_tdb_parse | Volker Lendecke | 1 | -0/+12 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-02-26 | Add dbwrap->parse_record | Volker Lendecke | 2 | -0/+30 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-02-26 | Speed up "net conf list" | Volker Lendecke | 1 | -115/+41 | |
For 1000 shares this speeds up net conf list from .6 to .25 seconds on my box Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-02-26 | Speed up "net conf list" | Volker Lendecke | 2 | -4/+3 | |
With 1000 shares in the registry, this changed the time of "net conf list" from 1.1 seconds to .6 seconds. Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-02-26 | s4:Makefile: try to fix 'make installheaders' on *BSD systems | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-02-26 | s4:heimdal_build: don't always build setprogname.o | Stefan Metzmacher | 2 | -17/+34 | |
This hopefully fixes the build on Mac OS 10, where setprogname() is available via libc. asn1_compile and compile_et use only .ho files again and don't use socket_wrapper anymore. metze | |||||
2009-02-26 | libreplace: make it possible to disable socket_wrapper via ↵ | Stefan Metzmacher | 1 | -2/+4 | |
-DSOCKET_WRAPPER_DISABLE=1 metze | |||||
2009-02-26 | s4:ldb_map: include ldb_includes.h first to get replace.h as first header | Stefan Metzmacher | 3 | -0/+3 | |
This should bring the build on AIX one step further. metze | |||||
2009-02-26 | s4:VERSION: mark as 4.0.0-alpha8 gitsnapshot | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2009-02-26 | Mark as the Samba 4.0 alpha7 release | Andrew Bartlett | 1 | -1/+1 | |
2009-02-26 | A simple hack to avoid the segfault in #6138 | Andrew Bartlett | 1 | -1/+1 | |
Thanks to Andrew Kroeger <andrew@id10ts.net> for reporting this. This fix just for the release. A better fix will make it into the master branch soon. Andrew Bartlett | |||||
2009-02-25 | Fix more POSIX path lstat calls. Fix bug where close can return | Jeremy Allison | 1 | -5/+17 | |
failure if we have a pending modtime and the containing directory of the file has been renamed (there is no POSIX "update time by fd" call). This can't happen on Windows as the rename will fail if there are open files beneath it. Will add a torture test for this. Jeremy. | |||||
2009-02-25 | Use fsp->posix_open in preference if we have it. | Jeremy Allison | 2 | -7/+7 | |
Jeremy. |