Commit Graph

80134 Commits

Author SHA1 Message Date
Andrew Schoen
1d083a2191 ceph-volume: zap logical volumes
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-10-27 11:15:42 -05:00
Andrew Schoen
cf98b6971c ceph-volume: adds a remove_lv command to the lvm api
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-10-27 11:15:42 -05:00
Andrew Schoen
2e64b797ef ceph-volume: stubs out the ceph-volume lvm zap command
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-10-27 11:15:42 -05:00
Casey Bodley
f9f76e9aef Merge pull request #18402 from cbodley/wip-21831
rgw: fix for pause in beast frontend

Reviewed-by: Adam Emerson <aemerson@redhat.com>
2017-10-27 11:22:28 -04:00
Yuri Weinstein
77ea42afd9 Merge pull request #18328 from PCzhangPC/cplostmeta
librbd: cannot copy all image-metas if we have more than 64 key/value pairs

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-27 08:17:27 -07:00
Yuri Weinstein
dca707a06f Merge pull request #18419 from majianpeng/librbd-bug-fix
librbd misc cleanup.

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-27 08:17:03 -07:00
Yuri Weinstein
20cc43f3fa Merge pull request #18542 from trociny/wip-metadata-open
librbd: don't read metadata twice on image open

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-27 08:16:47 -07:00
Yuri Weinstein
89742b3ef0 Merge pull request #18561 from dillaman/wip-librbd-test-notify
test/librbd: added update_features RPC message to test_notify

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-10-27 08:16:19 -07:00
Jason Dillaman
c2b45a9db8 Merge pull request #18583 from idryomov/wip-qa-xfstests-except
qa/tasks/rbd: run all xfstests runs to completion

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-27 11:12:18 -04:00
Jason Dillaman
900f1c024a Merge pull request #18557 from tchaikov/wip-cmake-cleanup
cmake: check for aligned_alloc() instead of checking tcmalloc version

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-27 10:06:08 -04:00
Sage Weil
03a670a2f5 include/ceph_features: deprecated OSD_ERASURE_CODES
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:07 -05:00
Sage Weil
5f147f15b6 mon/OSDMOnitor: ignore PRIMARY_AFFINITY
Luminous has it.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:07 -05:00
Sage Weil
17bf9c896d mon: ignore PRIMARY_AFFINITY for purposes of complaning about missing features
This was a weird proxy for old mons.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:07 -05:00
Sage Weil
26c9b660ce osd/OSDMap: ignore OSD_ERASURE_CODES for get_min_compat_client
The other feature bits are enough to identify a release, so we can drop
this one.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:07 -05:00
Sage Weil
c1fbf350bc osd: ignore OSD_ERASURE_CODES
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:07 -05:00
Sage Weil
513d3a0be4 mon: ignore OSD_ERASURE_CODES
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:07 -05:00
Sage Weil
875d7add77 include/ceph_features: drop dup and unused TMAP2OMAP feature
This overlaps with OSD_ERASURE_CODES, which we're deprecating at the same
time, so let's just drop this.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:06 -05:00
Sage Weil
681860e8a1 include/ceph_features: deprecated MON_ROUTE_OSDMAP
We won't really get it back until we also deprecate the other overlapping
bits, though!

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:06 -05:00
Sage Weil
ceb31ee68d mon/OSDMonitor: assume peer handles osdmap forward requests
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:06 -05:00
Sage Weil
bd13340696 include/ceph_features: drop OSDSUBOP_NO_SNAPCONTEXT
This overlap other definitions and is not used.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:06 -05:00
Sage Weil
afa11a2812 include/ceph_features: deprecate OSD_PROXY_WRITE_FEATURES
Already stopped paying attention to this in the post-luminous cleanup.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:06 -05:00
Sage Weil
2d435af766 include/ceph_features: deprecate OSD_BITWISE_HOBJ_SORT
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:06 -05:00
Sage Weil
3dddc02d71 osd/OSDMap: unconditionally warn on !sortbitwise
This shouldn't even be possible.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:06 -05:00
Sage Weil
81ea0c705b mon/OSDMonitor: drop feature check for set sortbitwise
Present in luminous.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:06 -05:00
Sage Weil
3fb152389e mon/OSDMonitor: drop OSD_BITWISE_HOBJ_SORT check
This is present in luminous.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:06 -05:00
Sage Weil
0bc9e374f6 include/ceph_features: deprecate OSD_PROXY_WRITE_FEATURES
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:06 -05:00
Sage Weil
8053f9c86d osd/PrimaryLogPG: ignore PROXY_WRITE_FEATURES feature
Present in luminous.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:05 -05:00
Sage Weil
75ffebb9b9 include/ceph_features: deprecate ERASURE_CODE_PLUGINGS_V[23]
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:05 -05:00
Sage Weil
d3b8ef1102 mon,osd: ignore ERASURE_CODE_PLUGINS_V[23]
These are all present in luminous, so we don't care anymore.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:05 -05:00
Sage Weil
54ff6677cd include/ceph_features: deprecated OSD_HITSET_GMT
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:31:03 -05:00
Sage Weil
86c55216fe mon/OSDMonitor: drop various other use_gmt_hitset checks
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:30:44 -05:00
Sage Weil
a18406b5e0 mon/OSDMonitor: drop --force for use_gmt_hitset
This is supported by all >= luminous OSDs, so this guard is not needed.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:30:44 -05:00
Sage Weil
b10f5d4388 include/ceph_features: deprecate HAMMER_0_94_4
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:30:40 -05:00
Sage Weil
748068fff3 Merge pull request #18551 from liewegas/wip-object-stat-decode
osd/osd_types: fix object_stat_sum_t decode

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-10-27 08:23:02 -05:00
Sage Weil
2cc8cc2db8 Merge pull request #18565 from liewegas/wip-prime-fixes
ceph-bluestore-tool: prime-osd-dir: update symlinks instead of bailing

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-10-27 08:19:11 -05:00
Sage Weil
c1e652a454 osd/PG: handle slow Remote*Preempted events
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:13:07 -05:00
Sage Weil
df783919fe osd/PG: allow preemption of remote recovery reservation too
We did backfill but not recovery.  This one is easier because we already
have a DeferRecovery event we can queue that does everything.

Condition on the RECOVERY_RESERVATION_2 feature.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:07:08 -05:00
Sage Weil
4054c5f6e7 osd/PG: condition remote backfill preemption on RECOVERY_RESERVATION_2
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:07:08 -05:00
Sage Weil
5c0c5b4927 include/ceph_features: define RECOVERY_RESERVATION_2
This will allow us to backport support for reservation preemption and
cancellations on the wire.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-27 08:07:08 -05:00
Andrew Schoen
6e3180874c Merge pull request #18518 from ceph/wip-cv-fix-default-flags
ceph-volume: ensure correct --filestore/--bluestore behavior

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-10-27 08:01:54 -05:00
Jianpeng Ma
73a8562acf msg/async: remove useless pararmeter in DelayedDelivery.
Now DelayedDelivery is a timer rather than a thread. So there is no case
be called ahead.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-10-27 19:11:36 +08:00
Jianpeng Ma
f9a975de5e msg/async:remove redudant judgement for msg-header-crc.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-10-27 18:39:50 +08:00
Jianpeng Ma
d2fb255512 msg/async: remove unused parameter:msgvec.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-10-27 18:39:04 +08:00
Pan Liu
2358a8bfca Merge pull request #18502 from optimistyzy/1024_yzy
bluestore/NVMEDevice: convert the legacy config opt related with SPDK
2017-10-27 17:41:33 +08:00
Kefu Chai
78116c3b21 Merge pull request #18576 from tchaikov/wip-cmake-no-rados_a
cmake: do not link against librados.a

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-10-27 16:19:04 +08:00
Ilya Dryomov
c702fdc33a doc/cephfs/experimental-features: kernel client snapshots limit
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-10-27 09:35:11 +02:00
Ilya Dryomov
37142e9c29 doc/cephfs/experimental-features: fix Mantle section header
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-10-27 09:35:11 +02:00
Kefu Chai
d5c9933350 cmake: remove rados_a target
rados_a is librados.a, which is not neeeded anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-27 13:58:53 +08:00
Kefu Chai
11f8770b34 cmake: link librbd against librados not rados_a
link librados.so in hope to reduce the size of librdb, also the size of
debug-info.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-27 13:58:15 +08:00
Kefu Chai
082876f4c7 cmake: link librados tests against librados.so
* in hope to shrink the test, and the debug-info rpm package
* also add librados to radostest's target_link_libraries(),  otherwise we might
   run into linker order issue, like

Undefined reference in
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/librados/test.cc:61
to `rados_application_enable'

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-27 13:58:15 +08:00