[CRIU] [PATCH 0/5] add session(multirequest) mode to rpc

Ruslan Kuprieiev kupruser at gmail.com
Tue Dec 3 08:20:34 PST 2013


Session mode will allow as to connect one time and send multiple requests.
This also allows criu to process requests asynchronously (because of the clean-up
mess I decided to fork subworkers in session-mode). It is up to user - send
one request and wait for response or send several requests and then
process all responses(set id field in request, so response will have the same id).
In session mode service is able to write information about requests to the
separate log -- session_log, which is seems useful, as you won't need to dig
in the deamon log or collect pieces in request logs.


Ruslan Kuprieiev (5):
  rpc: add self_dump field
  service: recv_criu_msg() return the number of msgs read
  rpc: add criu_ctrl message
  service: add support for session-mode
  rpc: add request/response id

 cr-service.c       | 97 ++++++++++++++++++++++++++++++++++++++++++++++--------
 protobuf/rpc.proto | 12 ++++++-
 2 files changed, 94 insertions(+), 15 deletions(-)

-- 
1.8.1.2



More information about the CRIU mailing list