diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-04-04 06:06:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:49:47 -0500 |
commit | b03d49bced3435f708a42ed809e56bd174dd466e (patch) | |
tree | aa544a6cb2ce950ab9bfc82e1d71a1c9cb86f7d7 /source4/smbd | |
parent | a78be2150ba06738f4c7e85ca2980200d4a3c533 (diff) | |
download | samba-b03d49bced3435f708a42ed809e56bd174dd466e.tar.gz samba-b03d49bced3435f708a42ed809e56bd174dd466e.tar.bz2 samba-b03d49bced3435f708a42ed809e56bd174dd466e.zip |
r22072: 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 used to be commit d9a997fd390e4162c015435d1c703fb3a4978f2f)
Diffstat (limited to 'source4/smbd')
0 files changed, 0 insertions, 0 deletions