[PATCH] Manpage fix
by Jakub Hrozek
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marko noticed an inconsistency between what sssd.conf manpage says
(bigger than) and what the code enforces (>=).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkuE8IwACgkQHsardTLnvCWnSgCgpdoj8R55C7R4I+Vm2xDMhvqs
BFQAoJH1zCgOK6rD+w+jYRj79o3FF0Ix
=/3TI
-----END PGP SIGNATURE-----
14 years, 1 month
[PATCH] change alignment safe macros
by Simo Sorce
The main reason for this patch is to allow George to use them also
where we don't actually need to increase a counter (just set the
pointer to the counter to NULL).
I also decided to change the naming of both the macros and their
variables to make them, hopefully, more clearear.
The "safealign" prefix in particular should hint the causal reader
about the reason we use them instead of a using normal cast like we
were doing before.
Simo.
--
Simo Sorce * Red Hat, Inc * New York
14 years, 1 month
conversion of sysdb to a synchronous interface
by Simo Sorce
Ticket #365 has been filed because we realized we ended up never using
the sysdb interface to query remote sources. Because ldb is inherently
synchronous when accessing local data we decided it was a good idea to
give up the more complex asynchronous interface.
The last weekend I started playing with the idea and wanted to find out
if a slow conversion was possible. It turns out it can be done, so I
started converting one function after another and doing a make check
before each commit. And a real test on a live system every few commits.
Well I got sucked up for several hours and I am keeping playing with
one function at a time on idle time (evenings or lunch time :).
In my personal git tree there is the initial work on it which I will
keep working on until it is completed. Feedback is welcome especially
on how we should push this stuff into master.
http://fedorapeople.org/gitweb?p=simo/public_git/sssd.git;a=shortlog
Relevant commits are denoted by the prefix "sysdb".
Simo.
--
Simo Sorce * Red Hat, Inc * New York
14 years, 1 month
Speed hacks for testers
by Simo Sorce
I hadn't run make check in a while while and today I discovered it was
horrendously slow. The problem lies almost entirely in the fact that we
use fsync a lot in all tests, this is because we want a "safe" behavior
for our DB, so that a system crash will not also crash the db
consistency and, at most, loose the current transaction.
This is all and well in production (and we may later want to discuss
which databases we really want to preserve at all costs), but to
perform functional test it sucks badly.
Attached find a patch that I am NOT proposing for inclusion, but that
will help all poor souls that need to do just tests.
If someone have a good idea on how to do that same thing but only
conditionally for tests (or maybe through a sssd.conf option) please
let me know.
Simo.
--
Simo Sorce * Red Hat, Inc * New York
14 years, 1 month