lkml.org 
[lkml]   [2006]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: waiting for MNT_DETACH
Date
Hi Ian,

On Sunday, 2. July 2006 20:51, Ian Turner wrote:
> I administer a two-node high-availability cluster using DRBD and heartbeat.
>
> So, here's the question: Is there a way to check if a call to umount2(...,
> MNT_DETACH) has completed or not?

Check the usage count (refcount) of the DRBD module. It should be as low as
you would expect with a normal umount.

"cat /sys/module/drbd/refcnt" should be the right command.


Regards

Ingo Oeser
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-04 00:45    [W:0.040 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site