Greyhole VFS module(s)
simo
idra at samba.org
Thu Nov 25 20:54:05 MST 2010
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.
Simo.
--
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>
More information about the samba-technical
mailing list