Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-04-05 | Use recv instead of read in read_packet_handler | Volker Lendecke | 1 | -1/+2 | |
This way the socket wrapper pcap file also sees the replies :-) | |||||
2009-04-02 | tsocket: remove DGRAM support from tsocket_context | Stefan Metzmacher | 7 | -564/+0 | |
metze | |||||
2009-04-02 | tsocket: optimize tdgram_bsd a lot | Stefan Metzmacher | 1 | -27/+54 | |
The desire is to do as less syscalls during the tdgram_sendto_send/recv() and tdgram_recvfrom_send/recv() operations. 1. we first try the sendto()/recvfrom() syscall and only use a fd event if we got EAGAIN. 2. we cache the fd event and only change it's flags if really needed. For the highload case we do almost no epoll_ctl() and epoll_wait()/select() syscalls anymore. This speeds up the LDAP-BENCH-CLDAP test by more than 20%. (With a modified version of this test which let the server skip any ldb calls and just return success I'm getting about 8000 requests per second, while I'm getting just about 6000 requests per second without optimization) metze | |||||
2009-04-02 | tsocket: add tdgram_sendto_queue_send/recv() | Stefan Metzmacher | 2 | -0/+143 | |
metze | |||||
2009-04-02 | tsocket: split out a smaller tdgram_context abstraction | Stefan Metzmacher | 4 | -0/+1192 | |
The idea is to have a tdgram and a tstream abstraction which only provide tevent_req based io functions. metze | |||||
2009-04-01 | lib/util: fallback to any id in idr_get_new_random() | Stefan Metzmacher | 1 | -2/+6 | |
metze | |||||
2009-03-31 | tdb: Remove unused variable | Tim Prouty | 1 | -1/+0 | |
2009-03-31 | tsocket: try to fix the build on solaris FIONREAD was missing | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2009-03-31 | up the version to 1.1.4 with the addition of | Andrew Tridgell | 1 | -1/+1 | |
tdb_transaction_prepare_commit() | |||||
2009-03-31 | added basic testing of tdb_transaction_prepare_commit() in tdbtorture | Andrew Tridgell | 1 | -0/+6 | |
2009-03-31 | Add tdb_transaction_prepare_commit() | Howard Chu | 3 | -52/+133 | |
Using tdb_transaction_prepare_commit() gives us 2-phase commits. This allows us to safely commit across multiple tdb databases at once, with reasonable transaction semantics Signed-off-by: tridge@samba.org | |||||
2009-03-28 | tsocket: more s/sun/un to make the build on solaris happy | Stefan Metzmacher | 1 | -6/+6 | |
metze | |||||
2009-03-27 | tsocket: try to fix the build on solaris systems | Stefan Metzmacher | 1 | -18/+18 | |
It seems that 'sun' is somewhere defined and we can use it as name for variables or struct/union members. metze | |||||
2009-03-26 | Merge branch 'master' of git://git.samba.org/samba | Jelmer Vernooij | 5 | -7/+66 | |
2009-03-24 | Add tevent_req_simple_recv_ntstatus() | Volker Lendecke | 2 | -0/+11 | |
2009-03-23 | libreplace: use libreplace_SAVE_CPPFLAGS instead of SAVE_CPPFLAGS | Michael Adam | 1 | -2/+2 | |
This fixes Samba3's double listing of -I options in CFLAGS, since samba3's configure wraps the call to AC_LIBREPLACE_NETWORK_CHECKS into a SAVE_CPPFLAGS="${CPPFLAGS}" .. CPPFLAGS="${SAVE_CPPFLAGS}" sequence... :-) Michael | |||||
2009-03-23 | socket_wrapper: fix connect() for dgram sockets, if the destination isn't ↵ | Stefan Metzmacher | 1 | -4/+52 | |
there yet Now we defer the real_connect() for dgram sockets to the first send()/sendto() call, as the destination might not be there at connect time. Commit 66dc53ee017d74a6f610bbe04337f064901fe2a1 was an incomplete fix for this problem. metze | |||||
2009-03-22 | talloc_array_length: talloc_get_size deals fine with NULL | Volker Lendecke | 1 | -1/+1 | |
2009-03-22 | Revert "socket_wrapper: fix connect() for dgram sockets, if the destination ↵ | Stefan Metzmacher | 1 | -7/+3 | |
isn't there yet" This reverts commit 66dc53ee017d74a6f610bbe04337f064901fe2a1. Somehow this leads to timeouts in some tests, samba4.ldb.ldapi and samba4.rpc.schannel. I need to look at it more closely later... metze | |||||
2009-03-22 | Revert "Add a basic Doxyfile for talloc" | Volker Lendecke | 1 | -8/+0 | |
This reverts commit f55e84e904173bed8dc9099ad523ca1e7be12355. | |||||
2009-03-22 | Revert "Convert the contents of talloc_guide.txt to doxygen-style talloc.h ↵ | Volker Lendecke | 1 | -1023/+1 | |
comments" This reverts commit d21212c9192b41a3fdc7e96cb9bf0125a1dc6c2d. | |||||
2009-03-22 | Revert "Delete talloc_guide.txt" | Volker Lendecke | 1 | -0/+694 | |
This reverts commit 3f9c30022a53a37ad829f8882a9a5161fcadda8b. | |||||
2009-03-22 | Revert "Add a default "undocumented" module" | Volker Lendecke | 1 | -9/+0 | |
This reverts commit ba42320c7e9f5ccbd32eccbfb1f2d77e13b3a318. | |||||
2009-03-22 | Revert "Add some initial hook to the front page" | Volker Lendecke | 1 | -3/+0 | |
This reverts commit cfce2d3611f225244fadf3d27d76371827fd6422. | |||||
2009-03-22 | Revert "Reformatting" | Volker Lendecke | 1 | -10/+5 | |
This reverts commit db447d0c476699dbf7fa0567c67f5938674ec811. | |||||
2009-03-22 | Revert "Document talloc_pool()" | Volker Lendecke | 1 | -35/+0 | |
This reverts commit 27944ed7452207ef3c686ff6bcd9c4e1cb7f36d8. | |||||
2009-03-22 | Revert "Add a talloc_internal "module"" | Volker Lendecke | 1 | -9/+0 | |
This reverts commit 02662d56c64f367bffa2febba9a396c15454cfdb. | |||||
2009-03-22 | Revert "Document _talloc" | Volker Lendecke | 1 | -10/+1 | |
This reverts commit 2ce70d4f5a30973b4cc083dbbb38b519007a31bd. | |||||
2009-03-22 | Revert "Document TALLOC_FREE()" | Volker Lendecke | 1 | -10/+0 | |
This reverts commit 3f81649b8dcadb3bd424f41d803dbd59f770b9ba. | |||||
2009-03-22 | Revert "Document talloc_parent, talloc_parent_name and talloc_is_parent" | Volker Lendecke | 1 | -29/+0 | |
This reverts commit 986c2e01cca0be993f1e52d3a27819f4044bfe4b. | |||||
2009-03-22 | Revert "Document talloc_zero_array()" | Volker Lendecke | 1 | -16/+0 | |
This reverts commit 59dff5745528a3efe585cdeb03e2bedd6b2e404a. | |||||
2009-03-21 | Document talloc_zero_array() | Volker Lendecke | 1 | -0/+16 | |
2009-03-21 | Document talloc_parent, talloc_parent_name and talloc_is_parent | Volker Lendecke | 1 | -0/+29 | |
2009-03-21 | Document TALLOC_FREE() | Volker Lendecke | 1 | -0/+10 | |
2009-03-21 | Document _talloc | Volker Lendecke | 1 | -1/+10 | |
2009-03-21 | Add a talloc_internal "module" | Volker Lendecke | 1 | -0/+9 | |
2009-03-21 | Document talloc_pool() | Volker Lendecke | 1 | -0/+35 | |
2009-03-21 | Reformatting | Volker Lendecke | 1 | -5/+10 | |
2009-03-21 | Add some initial hook to the front page | Volker Lendecke | 1 | -0/+3 | |
2009-03-21 | Add a default "undocumented" module | Volker Lendecke | 1 | -0/+9 | |
2009-03-21 | Delete talloc_guide.txt | Volker Lendecke | 1 | -694/+0 | |
2009-03-21 | Convert the contents of talloc_guide.txt to doxygen-style talloc.h comments | Volker Lendecke | 1 | -1/+1023 | |
talloc_guide.txt was partly outdated, and as going through talloc.h now shows it was incomplete. | |||||
2009-03-21 | Add a basic Doxyfile for talloc | Volker Lendecke | 1 | -0/+8 | |
2009-03-21 | socket_wrapper: fix connect() for dgram sockets, if the destination isn't ↵ | Stefan Metzmacher | 1 | -3/+7 | |
there yet metze | |||||
2009-03-20 | Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec | Jelmer Vernooij | 30 | -292/+4029 | |
2009-03-19 | lib/util: build tevent_unix.o and tevent_ntstatus.o as UTIL_TEVENT subsystem | Stefan Metzmacher | 1 | -1/+8 | |
metze | |||||
2009-03-19 | lib/tsocket: add tsocket_guide.txt section with specific details about bsd ↵ | Stefan Metzmacher | 1 | -0/+79 | |
style sockets metze | |||||
2009-03-19 | lib/tsocket: add a fast path to tsocket_writev_send/recv() | Stefan Metzmacher | 1 | -0/+10 | |
This is similar to the tsocket_sendto_send/recv() fast path. metze | |||||
2009-03-19 | lib/tsocket: add a fast path to tsocket_sendto_send/recv() | Stefan Metzmacher | 1 | -0/+10 | |
By first trying to send data without waiting for the socket to become writeable we gain about 10-20% performance in the LDAP-BENCH-CLDAP test. metze | |||||
2009-03-19 | lib/tsocket: add tsocket_guide.txt section about the async _send/recv() ↵ | Stefan Metzmacher | 1 | -0/+142 | |
helper functions metze |