osd: log when scrub,deep scrub, repair starts

So it can be matched, in the logs, with the log messages announcing it
is complete.

http://tracker.ceph.com/issues/9817 Fixes: #9817

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
osd/ReplicatedPG: flush snaps immediately

Snaps are immutable, so there is no point in delaying flush and hoping
to capture additional updates first.

Signed-off-by: Sage Weil <sage@redhat.com>
OSD: batch trim for pg_log

Signed-off-by: Xinze Chi <xmdxcxz@gmail.com>
AsyncMessenger: Eating up pipe buffer for waking up

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
AsyncMessenger: Release connection if stopped

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
AsyncMessenger: Normalise log informations

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
AsyncMessenger: Try send in queue bufferlist

If previous try_send failed to send all buffers, it will create write event
for next write. But if the message queue is empty and no need to send
in_seq_acked, handle_write will skip to send and in this condition buffers
in queue won't be send forever.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
AsyncMessenger: Fix large bufferlist send segment fault

If send long bufferlist exceed IOV_LEN(1024), try_send will stuck in looping
send the first IOV_LEN(1024) ptrs and raise segment fault.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Add myself to <contact@intel.com>

Signed-off-by: Chendi Xue <chendi.xue@intel.com>
osd: Check filter ops for pgls and pgnls

Fixes: #9439

Signed-off-by: David Zafman <dzafman@redhat.com>
mailmap: Federico Gimenez name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
mailmap: Derrick Schneider affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
mailmap: BJ Lougee affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
mailmap: Xan Peng affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
mailmap: Dan Mick name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
msg/simple: ms_die_on_skipped_message

Assert if we skip an incoming seq.  The SimpleMessenger never does this,
but the kernel messenger does.  Hopefully useful for tracking down bugs
like #10057.

Signed-off-by: Sage Weil <sage@redhat.com>
librados: Fix operator= null ptr references

Fixes: #10082

dzafman-2014-11-13_10:42:58-rgw-wip-10082-testing-basic-multi

Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: David Zafman <dzafman@redhat.com>
osd/ReplicatedPG: allow whiteout deletion with IGNORE_CACHE flag

If the client specifies IGNORE_CACHE, allow a regular DELETE to zap a
whiteout.  Expand test case to verify this works.

Signed-off-by: Sage Weil <sage@redhat.com>
ceph_test_rados_api_tier: fix cleanup of whiteouts

Doing a normal DELETE on a whiteout returns ENOENT.  Use the IGNORE_CACHE
flag to make sure it removes the whiteout, too.

Fixes: #10052
Signed-off-by: Sage Weil <sage@redhat.com>
librbd: Only public API symbols from the shared library

The librbd shared library was previously exporting all
symbols.  librbd public API methods are now explicitly
exported and all other symbols are hidden.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>