Since 6244755a70 and
12e508313d, the original check added in
ae0d6eb1c0 (perhaps by a bad
rebase/merge?) is duplicated and doubles the warning messages.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
This forces users upgrading past jewel to first set
'sortbitwise', which in turn means that post-jewel OSDs
do not need to support nibblewise sort.
Signed-off-by: Sage Weil <sage@redhat.com>
This fix was proposed on ceph-devel and acked by Sage Weil.
The corresponding change in in the later print is obvious
from context.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
The SharedBlobSet may not yet be empty at split time because previous
transactions may not have been reaped, leaving some Blobs still alive
even after the cache refs are cleared. Drop them explicitly here (they
will go away shortly).
Signed-off-by: Sage Weil <sage@redhat.com>
Because below here we haven't called mempool_thread.init() yet,
and call to mempool_thread.shutdown() will therefore raise an assert instead.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Shrinking a clone which has snapshots and does not share
majority of objects with its parent (i.e., there are less
objects to be copied up) involves huge number of object
map updates -- two (pre, post) per object. This results
in lots of requests to be send to OSDs especially when
trimming a gigantus image. This situation can be optimized
by sending batch ObjectMap updates for an object range
thereby significantly cutting down OSD traffic resulting
in faster trim times.
Fixes: http://tracker.ceph.com/issues/17356
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Adds three new options:
--feature-list will list monmap features, as well as available
features.
--feature-set sets a feature on the monmap
--feature-unset unsets a feature on the monmap
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Purpose: allow a dev to test certain portions of the monitors on-the-fly
that would otherwise be nearly impossible without requiring shutting
them off.
Description:
Currently we are adding support to debug monitors on-the-fly via the
ceph tool cli, via the admin socket.
An initial attempt was made to make this interface available via
over-the-network ceph cli, but that would require a quorum to exist,
or significant changes to be made to the handling of commands to allow
this interface to be an exception to the rule.
Therefore, this interface will live on the admin sockets for the time
being; potentially forever, because the jury is still out on whether
there's added value making this available via any other medium that's
not the admin socket.
The work means to test the newly added monmap features. This new
interface will allow one to set, unset and list supported features.
This will make it easier to implement functional tests for the
features themselves, for quorum features that are expected to be set
on-quorum, as well as to test upgrade paths from version A to version
B.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>