aboutsummaryrefslogtreecommitdiffstats
path: root/common/dlm-protocol.c
AgeCommit message (Collapse)AuthorFilesLines
2021-04-06Move lease fd send/receive to dlm-protocolDamian Hobson-Garcia1-0/+83
Collect all protocol related functionality in the same place instead of spreading it around across different modules. Bug-AGL: SPEC-3862 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp> Change-Id: I169a200401e4feaa289d53240a7f5467d6a88bd3
2021-04-06Add lease request and release protocolDamian Hobson-Garcia1-0/+66
Explicitly request / release leases instead of implicitly by opening and closing the connection. This will allow the lease manager to take different action when a client shuts down gracefully vs when it crashes, holding a lease. Bug-AGL: SPEC-3862 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp> Change-Id: Ibc68bee855ce18e56eb6f57e5ad1743248320013