CEPH: Check return code of create before calling close

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Lock tracing in cih.

Probably not for upstream.  Useful if there's still an issue
that looks like a leaked latch.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Lock tracing for LRU lane locks.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Bump TI-RPC Commit.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Add missing isDebug wrapper around DisplayOwner for display
of re-used state owner debug tracing.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Merge remote-tracking branch 'linuxbox2/next' into merge_next
Fix 9P stats connection with USE_9P=OFF

Don't take stats if we don't have it...

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'linuxbox2/next' into merge_next
Add USE_DBUS_STATS to "everything" build

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix typo in v4.1 dbus stats error message

Cut and paste got me again.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Re-organize cmake infrastructure for creating 'gos' library.

This commit consolidates cmake infrastructure for creating 'gos' library in a
single CMakeLists.txt file.

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
Implement platform independent wrapper APIs for setting user/group ids for file
system access.

FreeBSD platform doesn't support file system user ids. Consequently, we can't
use APIs like setfsid() on FreeBSD platform.

This commit implements wrappers for setting file system user/groups ids. On
Linux, we continue to call setfsuid()/setfsgid() under the hood while on FreeBSD
we use system calls SYS_seteuid/SYS_setegid.

On FreeBSD, we use above mentioned syscalls instead of libc APIs due the fact
that libc APIs implement posix symantics which are process wide as opposed to
thread specific.

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>