Witness service - s3 asynchronous RPC server

Samuel Cabrero scabrero at suse.de
Fri Jun 22 07:27:41 UTC 2018


Hi,

I have started to work in the witness service implementation, and the
first thing to address is the RPC server. This protocol requires an
asynchronous server and there are currently two implementations, the
"s4", which is asynchronous, and the "s3" which is not.

As this is intended to be used in clustered environments with CTDB and
AFAIK CTDB doesn't work with "s4", the first option would be to make
the "s3" RPC server async as it looks like the merge of both RPC
servers won't happen in a near future.

There is already a patchset to make the "s3" RPC server asynchronous by
David Disseldorp, which I rebased on master and started to work on top
of it.

Before going further, I think the "s3" RPC server patch has to be
reviewed and pushed, so I send it here requesting for comments.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-rpc-convert-process_complete_pdu-and-callers-asyn.patch
Type: text/x-patch
Size: 8348 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180622/83af77fa/0001-s3-rpc-convert-process_complete_pdu-and-callers-asyn-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-s3-rpc-make-process_request_pdu_send-async.patch
Type: text/x-patch
Size: 5986 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180622/83af77fa/0002-s3-rpc-make-process_request_pdu_send-async-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-s3-rpc-make-api_pipe_request-async.patch
Type: text/x-patch
Size: 7038 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180622/83af77fa/0003-s3-rpc-make-api_pipe_request-async-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-s3-rpc-make-api_rpcTNP-async.patch
Type: text/x-patch
Size: 6125 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180622/83af77fa/0004-s3-rpc-make-api_rpcTNP-async-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-s3-rpc-make-rpcint_dispatch-async.patch
Type: text/x-patch
Size: 5006 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180622/83af77fa/0005-s3-rpc-make-rpcint_dispatch-async-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-pidl-s3-rpc-make-pidl-rpc-server-api-calls-async.patch
Type: text/x-patch
Size: 67031 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180622/83af77fa/0006-pidl-s3-rpc-make-pidl-rpc-server-api-calls-async-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-pidl-s3-rpc-add-async-function-property.patch
Type: text/x-patch
Size: 6647 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180622/83af77fa/0007-pidl-s3-rpc-add-async-function-property-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-s3-winbind-add-conditional-child-dispatch-type.patch
Type: text/x-patch
Size: 6585 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180622/83af77fa/0008-s3-winbind-add-conditional-child-dispatch-type-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-s3-winbind-avoid-talloc_tos-in-fork_domain_child.patch
Type: text/x-patch
Size: 3568 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180622/83af77fa/0009-s3-winbind-avoid-talloc_tos-in-fork_domain_child-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-s3-winbind-talloc-winbindd-request-and-response-stru.patch
Type: text/x-patch
Size: 4286 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180622/83af77fa/0010-s3-winbind-talloc-winbindd-request-and-response-stru-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-s3-winbind-make-child_process_request-async.patch
Type: text/x-patch
Size: 4557 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180622/83af77fa/0011-s3-winbind-make-child_process_request-async-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-s3-winbind-handle-async-child-dispatch-table-entries.patch
Type: text/x-patch
Size: 3406 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180622/83af77fa/0012-s3-winbind-handle-async-child-dispatch-table-entries-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-s3-winbind-dispatch-winbindd_dual_ndrcmd-async.patch
Type: text/x-patch
Size: 7837 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180622/83af77fa/0013-s3-winbind-dispatch-winbindd_dual_ndrcmd-async-0001.bin>


More information about the samba-technical mailing list