[ ssic-linux-Feature Requests-1213029 ] clusterwide flock

"SourceForge.net" <[email protected]> Fri, 29 May 2009 02:49:33 +0000
Newsgroups gmane.linux.cluster.ssic.devel
Message-ID <[email protected]>
Feature Requests item #1213029, was opened at 2005-06-01 16:33
Message generated for change (Comment added) made by rogertsang
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=405837&aid=1213029&group_id=32541

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Filesystem
Group: 1.9
Status: Open
Resolution: Accepted
Priority: 3
Private: No
Submitted By: Jakob Goldbach (goldbach)
Assigned to: Roger Tsang (rogertsang)
Summary: clusterwide flock

Initial Comment:
I would like that BSD style flock is made clusterwide.

Many webapps in php is using flock.

Also, php itself is using flock for locking session
files. (although, you can use somthing else than files
for session data).






----------------------------------------------------------------------

>Comment By: Roger Tsang (rogertsang)
Date: 2009-05-28 22:49

Message:
Try attached patch.  Apply against CVS.

----------------------------------------------------------------------

Comment By: Roger Tsang (rogertsang)
Date: 2009-05-24 18:35

Message:
clusterwide flock() in CVS still needs a bit of work, but should be ready
by 1.9.6 release.

----------------------------------------------------------------------

Comment By: Roger Tsang (rogertsang)
Date: 2009-03-24 01:08

Message:
checked-in

----------------------------------------------------------------------

Comment By: Roger Tsang (rogertsang)
Date: 2009-03-22 17:50

Message:
Adding new CFS code to convert flock to POSIX style lock.

----------------------------------------------------------------------

Comment By: Roger Tsang (rogertsang)
Date: 2007-04-24 23:27

Message:
Logged In: YES 
user_id=1246761
Originator: NO

Take that back flock is not clusterwide in SSI-1.9.  flock needs to be
converted to posix style lock to be clusterwide.  For now use fcntl or
another PHP session.save_handler.

----------------------------------------------------------------------

Comment By: Roger Tsang (rogertsang)
Date: 2007-04-24 02:13

Message:
Logged In: YES 
user_id=1246761
Originator: NO

Supported in SSI-1.9

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2005-08-25 07:49

Message:
Logged In: NO 

OpenSSI-1.9 may already have this, not sure yet.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=405837&aid=1213029&group_id=32541

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com