Greyhole VFS module(s)
Holger Hetterich
hhetter at novell.com
Fri Nov 26 00:12:37 MST 2010
Am Donnerstag, den 25.11.2010, 22:54 -0500 schrieb simo:
> On Thu, 2010-11-25 at 23:25 +0100, Holger Hetterich wrote:
> > The sqlite3 C interface is relativly simple, and perfect for the
> > module,
> > as it could do anything (create the database... etc) on its own. You
> > would use sqlite3 >= 3.7.0 which allows WAL (Write Ahead Logging),
> > then
> > you can have multiple readers while a writer (the module) is accessing
> > the database.
>
> Holger,
> remember that samba spawns a process for each client, so you would need
> a multiple-writer database to be able to do insertions from the VFS
> module, or cope with locking.
Yes, right haven't taken that into the equation.
>
> Simo.
>
--
Holger Hetterich, hhetter at novell.com,
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
More information about the samba-technical
mailing list