trans_logger: fix emergency mode (cease_logging)
infra: better optimization of memory allocations
marsadm: fix primary checks
marsadm: fix and unify readlink() usage
marsadm: fix distinction _get_{designated,actual}_primary