[lvm-devel] [PATCH] check for running cluster log daemon, not just log module

Alasdair G Kergon agk at redhat.com
Fri Jul 16 16:16:56 UTC 2010


On Fri, Jul 16, 2010 at 09:39:47AM -0500, Jon Brassow wrote:
> +int dm_daemon_is_running(const char* lockfile)

> +	/* Should we also read and check pid? */

Yes - check /proc/<pid>/fd/*  if available?

(cf. _get_filename in tools/lvmcmdline.c)

Alasdair




More information about the lvm-devel mailing list