Add DBUS defines for rhel6.

(cherry picked from commit b59ad6bf1ed422a621e8ab9ea5f758097ab94c66)
Signed-off-by: Jim Lieb <jlieb@panasas.com>
Missing ifdef block around 9p function.

(cherry picked from commit 8e0953c242de53ef1fff6dbc01f2846a1a280cf0)
Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix log manager returns

Turns out there are yet more layers of this turducken to peel.
Make return values pure python types...

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Add log settings dialog to ganeshactl

You can now set log properties (mainly component log levels)
via a dialog box under Manage->Log Settings

Caveats: ganeshactl does segfault on File->Exit if you have
used the log settings dialog. The dialog uses a combobox which
is a little clunky.

This is a reference implementation of the low level classes, not a
polished GUI app.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix reload.py to import from Ganesha.admin

Signed-off-by: Jim Lieb <jlieb@panasas.com>
MT-SAFE iteration over LRU L1 (lru_thread).

The unique instance of itertion over any qlane's L1 queue
can be made MT-safe by ensuring that invalidating operations
(only delete, due to queue semantics) also update the
the iteration.

Mark qlanes as active when iteration is in progress, and
update lane iterators iif active.

Fix an apparent reference accounting problem--lru refcnt was
not elevated over lru_thread migration of entries to L2.

Remove redundant while loop checking qlength and per-lane work,
as these are checked in the iteration.

Reorder operations in L1->L2.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Make sure directory is updated correctly.
ganesha leaves dangling FSAL locks when file locked via NFSv3 and NFSv4

Signed-off-by: Rick Mesta <rmesta@us.ibm.com>
Add reindent script and readme

This is for the great reformatting.  The reindenture script will
reindent everything under a given directory.

Jim Lieb also wants us to follow kernel practice and clean things up as
per checkpatch, so there are directions for how to invoke it in the
README.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Update ntirpc submodule.

Take FreeBSD/portability fixes from Sachin Bhamare.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Merge branch 'dbus_dev' into merge_next
Merge remote-tracking branch 'tfb-bull/next' into merge_next

More Coverity fixes
Merge remote-tracking branch 'marc/dev-45' into merge_next
Merge remote-tracking branch 'rmesta/dev_44' into merge_next
Merge remote-tracking branch 'linuxbox2/next' into merge_next
Fixup iteration when lru->q == glistn, not glist.

If the node being dequeued is the one currently being processed
by lru_thread, then the value of glistn is stable and is the next
queue entry as desired.

However if the node being dequeued is that pointed to by glistn,
then lru_thread will proximately fault, so glistn must be updated
to point to the next entry in the queue.

Also it is useless to update glist, since it already points to the
entry before glistn (obviously).

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Merge remote-tracking branch 'linuxbox2/next' into merge_next