RE: [Opendlm-devel] Orphan lock requirements for using OpenDLM with OpenGFS

Stanley Wang <[email protected]> Thu, 08 Apr 2004 08:54:07 +0800
Newsgroups gmane.comp.file-systems.opengfs.devel
Organization Intel
Message-ID <[email protected]>
On Thu, 2004-04-08 at 03:59, Cahill, Ben M wrote:
> > >One other question ... For user-space clients, how does a 
> > pid identify a given client *beyond the scope of a 
> > >single node*, i.e. across the cluster?  Can a client on one 
> > node ask to purge locks from a client on another 
> > >node?  How does it know which pid to purge?

BKM: 

I added a new return value (DLM_BLOCKED_ORPHAN) to dlmlock() for
supportting SAF AIS lock api. When your lock request is blocked by a
orphan lock, DLM_BLOCKED_ORPHAN will be returned instead of putting your
lock request to waitting/converting queue, and the site id and pid of
the holder of the orphan lock will also be returned from LKSB. Is that
what you want?

Best Regards,
Stan 

> > 
> > >-- Ben --
> > 
> > You would use site id combined with process id.  Yes I 
> > believe one node can kill a client on another node.
> 
> So, how would the client on one node know the pid of the client on the
> other node?  Any way to do that through OpenDLM?  Or must it be some
> other means of communicating? 
> 
> -- Ben --
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id70&alloc_id638&opk
> _______________________________________________
> Opendlm-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opendlm-devel
-- 
Opinions expressed are those of the author and do not represent Intel
Corporation
"gpg --recv-keys --keyserver wwwkeys.pgp.net E1390A7F"
{E1390A7F:3AD1 1B0C 2019 E183 0CFF  55E8 369A 8B75 E139 0A7F}



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click