summaryrefslogtreecommitdiff
path: root/source4/lib/messaging/irpc.h
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r15049: for really efficient oplock handling with thousands of open files weAndrew Tridgell1-3/+7
will need a separate messaging endpoint per open file. To make this efficient extend the messaging layer to have a new registration function for temporary message types that maps via an idtree. I have updated the LOCAL-MESSAGING test to use the new function. (This used to be commit 4b976851d8b7ccd2c40010be095cef7fecf9e722)
2007-10-10r13317: Create a new function messaging_client_init() which can be used whenAndrew Bartlett1-0/+2
we don't have a server messaging context. We should replace the datagram messages with stream sockets in this case, so we don't have to create a unique socket. Andrew Bartlett (This used to be commit fd974fb64792f8f6c532b01d2a2e012be18eef7e)
2007-10-10r10490: - allow deferred irpc replies to set the statusAndrew Tridgell1-1/+2
- add an example of deferred reply for echodata in LOCAL-IRPC (This used to be commit 858a757a6d0a614b8f13bfb6217034e8a8b69554)
2007-10-10r10489: added the ability for irpc server to defer replies instead of replyingAndrew Tridgell1-0/+10
immediately. They set m->defer_reply = True; (This used to be commit 3dcd800a5d3340d0f4855f9f08e73896ad8c3d83)
2007-10-10r8923: put the IRPC default timeout back to 10s (I didn't mean to commit ↵Andrew Tridgell1-1/+1
this, it was changed just for deugging) (This used to be commit a7c260e61feec210bcb5cad0f8f759544dc9dd1e)
2007-10-10r8887: fixed the irpc error that caused ia64 to fail the LOCAL-IRPC testAndrew Tridgell1-7/+8
(This used to be commit ce9a262d379b946717d0d4be4731c837e6f7373d)
2007-10-10r8277: filled in the code for finding irpc server ids by name, storing theAndrew Tridgell1-1/+4
names in a tdb (This used to be commit b603a52f27bf90e71d605440d44267dcd94c6939)
2007-10-10r8272: added the hooks for adding a name to a messaging context, so we willAndrew Tridgell1-0/+1
be able to send a message to the "ldap_server" task without having to know its task ID. (This used to be commit 8f69867867857e0c9a9246c2dec9612ccc234724)
2007-10-10r7320: added support for a private pointer in irpc registered handlersAndrew Tridgell1-3/+4
(This used to be commit eec521dffd4ca9efa7f6e31c50cf1ff365aae209)
2007-10-10r7298: ensure messages are sent in order even when under extreme load. ThisAndrew Tridgell1-1/+1
fixes a IO_TIMEOUT problem in the messaging benchmarks (This used to be commit c8b220b65de00418d19347cf298cc80d86e8accb)
2007-10-10r7295: added an irpc benchmark. It gets about 16k messages/sec on my laptop,Andrew Tridgell1-1/+4
compared to about 20k messages/sec for the raw messaging layer. I think that is quite acceptable given the extra functionality. (This used to be commit a05d38d1d91f1f54d3e3794a596b468992594852)
2007-10-10r7294: implemented the irpc messaging system. This is the core of theAndrew Tridgell1-0/+94
management system I proposed on samba-technical a couple of days ago. Essentially it is a very lightweight way for any code in Samba to make IDL based rpc calls to anywhere else in the code, without the client or server having to go to the trouble of setting up a full rpc service. It can be used with any of our existing IDL, but I expect it will mostly be used for a new set of Samba specific management calls. The LOCAL-IRPC torture test demonstrates how it can be used by calling the echo_AddOne() call over this transport. (This used to be commit 3d589a09954eb8b318f567e1150b0c27412fb942)