summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-04-02tsocket: remove DGRAM support from tsocket_contextStefan Metzmacher7-564/+0
metze
2009-04-02tsocket: optimize tdgram_bsd a lotStefan Metzmacher1-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-02tsocket: add tdgram_sendto_queue_send/recv()Stefan Metzmacher2-0/+143
metze
2009-04-02tsocket: split out a smaller tdgram_context abstractionStefan Metzmacher4-0/+1192
The idea is to have a tdgram and a tstream abstraction which only provide tevent_req based io functions. metze
2009-04-01lib/util: fallback to any id in idr_get_new_random()Stefan Metzmacher1-2/+6
metze
2009-03-31tdb: Remove unused variableTim Prouty1-1/+0
2009-03-31tsocket: try to fix the build on solaris FIONREAD was missingStefan Metzmacher1-0/+1
metze
2009-03-31up the version to 1.1.4 with the addition ofAndrew Tridgell1-1/+1
tdb_transaction_prepare_commit()
2009-03-31added basic testing of tdb_transaction_prepare_commit() in tdbtortureAndrew Tridgell1-0/+6
2009-03-31Add tdb_transaction_prepare_commit()Howard Chu3-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-28tsocket: more s/sun/un to make the build on solaris happyStefan Metzmacher1-6/+6
metze
2009-03-27tsocket: try to fix the build on solaris systemsStefan Metzmacher1-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-26Merge branch 'master' of git://git.samba.org/sambaJelmer Vernooij5-7/+66
2009-03-24Add tevent_req_simple_recv_ntstatus()Volker Lendecke2-0/+11
2009-03-23libreplace: use libreplace_SAVE_CPPFLAGS instead of SAVE_CPPFLAGSMichael Adam1-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-23socket_wrapper: fix connect() for dgram sockets, if the destination isn't ↵Stefan Metzmacher1-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-22talloc_array_length: talloc_get_size deals fine with NULLVolker Lendecke1-1/+1
2009-03-22Revert "socket_wrapper: fix connect() for dgram sockets, if the destination ↵Stefan Metzmacher1-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-22Revert "Add a basic Doxyfile for talloc"Volker Lendecke1-8/+0
This reverts commit f55e84e904173bed8dc9099ad523ca1e7be12355.
2009-03-22Revert "Convert the contents of talloc_guide.txt to doxygen-style talloc.h ↵Volker Lendecke1-1023/+1
comments" This reverts commit d21212c9192b41a3fdc7e96cb9bf0125a1dc6c2d.
2009-03-22Revert "Delete talloc_guide.txt"Volker Lendecke1-0/+694
This reverts commit 3f9c30022a53a37ad829f8882a9a5161fcadda8b.
2009-03-22Revert "Add a default "undocumented" module"Volker Lendecke1-9/+0
This reverts commit ba42320c7e9f5ccbd32eccbfb1f2d77e13b3a318.
2009-03-22Revert "Add some initial hook to the front page"Volker Lendecke1-3/+0
This reverts commit cfce2d3611f225244fadf3d27d76371827fd6422.
2009-03-22Revert "Reformatting"Volker Lendecke1-10/+5
This reverts commit db447d0c476699dbf7fa0567c67f5938674ec811.
2009-03-22Revert "Document talloc_pool()"Volker Lendecke1-35/+0
This reverts commit 27944ed7452207ef3c686ff6bcd9c4e1cb7f36d8.
2009-03-22Revert "Add a talloc_internal "module""Volker Lendecke1-9/+0
This reverts commit 02662d56c64f367bffa2febba9a396c15454cfdb.
2009-03-22Revert "Document _talloc"Volker Lendecke1-10/+1
This reverts commit 2ce70d4f5a30973b4cc083dbbb38b519007a31bd.
2009-03-22Revert "Document TALLOC_FREE()"Volker Lendecke1-10/+0
This reverts commit 3f81649b8dcadb3bd424f41d803dbd59f770b9ba.
2009-03-22Revert "Document talloc_parent, talloc_parent_name and talloc_is_parent"Volker Lendecke1-29/+0
This reverts commit 986c2e01cca0be993f1e52d3a27819f4044bfe4b.
2009-03-22Revert "Document talloc_zero_array()"Volker Lendecke1-16/+0
This reverts commit 59dff5745528a3efe585cdeb03e2bedd6b2e404a.
2009-03-21Document talloc_zero_array()Volker Lendecke1-0/+16
2009-03-21Document talloc_parent, talloc_parent_name and talloc_is_parentVolker Lendecke1-0/+29
2009-03-21Document TALLOC_FREE()Volker Lendecke1-0/+10
2009-03-21Document _tallocVolker Lendecke1-1/+10
2009-03-21Add a talloc_internal "module"Volker Lendecke1-0/+9
2009-03-21Document talloc_pool()Volker Lendecke1-0/+35
2009-03-21ReformattingVolker Lendecke1-5/+10
2009-03-21Add some initial hook to the front pageVolker Lendecke1-0/+3
2009-03-21Add a default "undocumented" moduleVolker Lendecke1-0/+9
2009-03-21Delete talloc_guide.txtVolker Lendecke1-694/+0
2009-03-21Convert the contents of talloc_guide.txt to doxygen-style talloc.h commentsVolker Lendecke1-1/+1023
talloc_guide.txt was partly outdated, and as going through talloc.h now shows it was incomplete.
2009-03-21Add a basic Doxyfile for tallocVolker Lendecke1-0/+8
2009-03-21socket_wrapper: fix connect() for dgram sockets, if the destination isn't ↵Stefan Metzmacher1-3/+7
there yet metze
2009-03-20Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysecJelmer Vernooij30-292/+4029
2009-03-19lib/util: build tevent_unix.o and tevent_ntstatus.o as UTIL_TEVENT subsystemStefan Metzmacher1-1/+8
metze
2009-03-19lib/tsocket: add tsocket_guide.txt section with specific details about bsd ↵Stefan Metzmacher1-0/+79
style sockets metze
2009-03-19lib/tsocket: add a fast path to tsocket_writev_send/recv()Stefan Metzmacher1-0/+10
This is similar to the tsocket_sendto_send/recv() fast path. metze
2009-03-19lib/tsocket: add a fast path to tsocket_sendto_send/recv()Stefan Metzmacher1-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-19lib/tsocket: add tsocket_guide.txt section about the async _send/recv() ↵Stefan Metzmacher1-0/+142
helper functions metze
2009-03-19lib/tsocket: add tsocket_readv_send/recv()Stefan Metzmacher3-1/+235
metze