[Linux-cluster] Synchronous Locking Function for Kernel

renapte at vsnl.net renapte at vsnl.net
Mon Feb 20 13:12:23 UTC 2006

I'm trying to use the DLM independently to acquire locks in the ext2 code. I'm calling the functions that refresh the kernel data structures in the AST after taking the locks. I'd like to know how to find out when this AST has been called, ie when do I know the final result of the locking so as to proceed in the ext2 function. I can see a completion structure in the holder structure in the glock layer. Is that what performs this task in the gfs?

----- Original Message -----
From: Patrick Caulfield <pcaulfie at redhat.com>
Date: Monday, February 20, 2006 2:33 pm
Subject: Re: [Linux-cluster] Synchronous Locking Function for Kernel

> renapte at vsnl.net wrote:
> > Hi,
> > I'd like to know if there is any Synchronous Locking Function in 
> the DLM that can be used in the kernel.
> > Thanks in advance,
> No there isn't at the moment. It would be pretty easy to add but 
> this is the
> first time anyone has shown any interest. Most kernel activity is 
> asynchronousanyway.
> -- 
> patrick
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster

More information about the Linux-cluster mailing list