Makefile: fix ceph_sbindir

From Denis Kaganovich <mahatma@eu.by>:

At least in some cases, scripts (ceph-disk*, ceph-create-keys)
installing into /usr/usr/sbin. This happened while
"ceph_sbindir = $(prefix)$(sbindir)" in src/Makefile.am and "
./configure --prefix=/usr ..." (Gentoo's default configure call).
I don't dig too deep, but IMHO it can be result of "prefix=" &
"exec_prefix=" disorder. Fixed for me by "ceph_sbindir = $(sbindir)"
(I don't try other configure behaviors, but looks universal).

Reported-by: Denis Kaganovich <mahatma@eu.by>
Fixes: #5492
Signed-off-by: Sage Weil <sage@inktank.com>
Merge pull request #389 from ceph/wip-5492

Makefile: fix ceph_sbindir

Reviewed-by: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
client: remove O_LAZY

The once-upon-a-time unique O_LAZY value I chose forever ago is now
O_NOATIME, which means that some clients are choosing relaxed
consistency without meaning to.

It is highly unlikely that a real O_LAZY will ever exist, and we can
select it in the ceph case with the ioctl or libcephfs call, so drop
any support for doing this via open(2) flags.

Update doc/lazy_posix.txt file re: lazy io.

Backport: cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
Merge pull request #403 from ceph/wip-olazy

merge: O_LAZY flag removal

Reviewed-by: Greg Farnum <greg@inktank.com
osd/osd_types: fix pg_stat_t::dump for last_epoch_clean

Backport: cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
Revert "Makefile: fix ceph_sbindir"

This reverts commit 352f362567bf270d0896fb7573df4ae5139a56fb.

Reverting this commit because it causes problems with the debian build, and
reopening #5492.   The root problem appears to be lack of support by GNU
autotools for installing into both /sbin and /usr/sbin using the standard
location variables.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
mon/PaxosService: prevent reads until initial service commit is done

Do not process reads (or, by PaxosService::dispatch() implication, writes)
until we have committed the initial service state.  This avoids things like
EPERM due to missing keys when we race with mon creation, triggered by
teuthology tests doing their health check after startup.

Fixes: #5515
Backport: cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
Merge remote-tracking branch 'gh/next'