Files
versitygw/rdma
Jihyeon GimandBen McClelland c281008632 rdma: add the Go binding for the RC session server
Bind the RC session server archive through cgo: Init opens the
verbs device with the resource limits, and the RCSvc wrapper
carries the admission gate handlers use around every session
call (TryEnter/Leave), a service-lifetime context that Close
cancels so in-flight handler I/O unblocks during shutdown, and
an idempotent Close that marks every session for reaping, waits
for admitted calls to drain, and destroys the server.

The rest of the surface maps the C ABI one-to-one: prepare,
ready (with the transfer outcome returned atomically in the
reply), staging borrow/finish, the put-view handoff, session
introspection, and cancel. Non-linux or non-cgo builds compile
against a stub so the package is portable.

Nothing imports the package yet; the gateway integration that
links and exercises it follows.

Signed-off-by: Jihyeon Gim <potatogim@potatogim.net>
2026-08-31 13:22:35 -07:00
..
2026-08-07 08:30:37 -07:00