svn commit: samba r22072 - in branches/SAMBA_4_0/source/cluster/ctdb/include: .

Alexander Bokovoy ab at
Wed Apr 4 06:21:21 GMT 2007

tridge at пишет:
> Author: tridge
> Date: 2007-04-04 06:06:52 +0000 (Wed, 04 Apr 2007)
> New Revision: 22072
> WebSVN:
> Log:
> in order to implement the opendb ctdb backend, I've found that the
> existing ctdb_call() mechanism isn't sufficient. The main problem is
> that the operations on the record need to be done with a lock held
> while a local posix file operation is happening. We can't use a
> ctdb_call callback function to do the actual file opens, renames,
> unlinks etc as the callback would run on the wrong node.
> So this commit adds the prototypes for two new ctdb API functions
> which will make a opendb backend easier. Volker will probably
> recognise these functions as they are basically the same as what he
> did in his earlier Samba clustering code :-)
This is what we argued with Aleksey last year. :-)

/ Alexander Bokovoy

More information about the samba-technical mailing list