Brad Hubbard
1e8e754007
config: Improve warning for unobserved value
...
When a variable is not being observed we currently mark it
"unchangable". This can be misleading so try something hopefully a
little more informative.
Fixes: http://tracker.ceph.com/issues/18424
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-01-10 15:35:19 +10:00
Haomai Wang
0bf9c6242e
Merge pull request #12854 from liupan1111/wip-fix-async-dpdk-issue
...
async: fixed coredump when enable dpdk.
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-01-10 13:09:40 +08:00
Pan Liu
96046f53e9
async: fixed coredump when enable dpdk.
...
Signed-off-by: Pan Liu <pan.liu@istuary.com>
2017-01-10 11:58:23 +08:00
xie xingguo
01ff6bf51a
os/bluestore: kill orphan declaration of do_write_check_depth()
...
The gc logic is gone and this is not relevant anymore.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-10 11:47:36 +08:00
Yan, Zheng
80dae314ee
mds: finish clientreplay requests before requesting active state
...
All clientreplay requests' finish contexts should be executed
before MDCache::export_remaining_imported_caps(). Otherwise
MDCache::try_reconnect_cap() may fail to reconnect client caps.
Fixes: http://tracker.ceph.com/issues/18461
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2017-01-10 11:37:14 +08:00
Mingxin Liu
57274488c0
mon: do not send duplicated osdmap msg to not sync'ed osd
...
prior to this change:
a peon may forward the pgstats to leader, and record it locally, but leader will
check if osd has the latest map before process, if not, will use a route op to
indicate peon to send it, then poen will delete routed op when fininaly send
out which make peon cannot send pgstatack when leader has processed the
pgstat update. so osd will always track it util reach a threshold block pgstats
sending, at worst, reopen mon session.
also, both leader and peon will send out the osdmap message to the osd.
after this change:
only the peon will send out the osdmap message. and the pgstatack message
will be routed to the osd as expected. so the osd will not keep track of the
"acked" pg stats in its queue forever before times out.
Fixes: http://tracker.ceph.com/issues/18458
Signed-off-by: Mingxin Liu <mingxin@xsky.com>
2017-01-10 11:14:02 +08:00
Samuel Just
dd48b972af
PrimaryLogPG::failed_push: update missing as well
...
This way, pick_newest_available should do the right thing.
Fixes: http://tracker.ceph.com/issues/18165
Signed-off-by: Samuel Just <sjust@redhat.com>
2017-01-09 18:48:31 -08:00
Jason Dillaman
59c0108241
Merge pull request #12849 from xiexingguo/xxg-wip-fix-compile-crash
...
librados: fix compile errors from simplified aio completions
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-01-09 21:45:41 -05:00
Mingxin Liu
ecb967a8ac
mon: we may track a self-initiated message, recv_stamp remain unset
...
so using ceph_clock_now() instead to make optracker happy
Signed-off-by: Mingxin Liu <mingxin@xsky.com>
2017-01-10 10:39:07 +08:00
Kefu Chai
327791feac
Merge pull request #9032 from tchaikov/wip-15786
...
doc: document repair/scrub features
Reviewed-by: David Zafman <dzafman@redhat.com>
2017-01-10 10:23:39 +08:00
xie xingguo
8b64515d1c
librados: fix building crash
...
See https://github.com/ceph/ceph/pull/12607
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-10 10:01:54 +08:00
Vasu Kulkarni
127e29e1be
Remove debug overrides
...
the high level of debug for mon/osd is causing remoto to hang during get key
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-01-09 17:59:20 -08:00
David Zafman
1e26f4e511
ceph-objectstore-tool: Handle object names that are also valid json
...
Treat an argument that happens to be json but doesn't conform to our requirements
as an object name.
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-01-09 17:34:12 -08:00
Vasu Kulkarni
2d6c3fa8b2
Add ceph-create-keys to explicitly create admin/bootstrap keys
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-01-09 17:14:33 -08:00
Yan, Zheng
4cdeeaac10
qa/tasks/cephfs: fix kernel force umount
...
Fixes: http://tracker.ceph.com/issues/18396
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2017-01-10 08:31:25 +08:00
Jason Dillaman
e66c1faa04
librbd: potential nullptr dereference in ManagedLock
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-09 17:40:42 -05:00
Sage Weil
d4f033c687
Merge pull request #12726 from liewegas/wip-18372
...
osd: _exit() intead of exit() for failure injection
Reviewed-by: Samuel Just <sjust@redhat.com>
2017-01-09 16:24:22 -06:00
Sage Weil
25c9910503
Merge pull request #12607 from liewegas/wip-librados-killack
...
librados,osdc: kill ack vs commit distinction
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-01-09 16:17:43 -06:00
Sage Weil
4ca7757e4a
Merge pull request #12695 from hjwsm1989/mark-unfound-lost
...
osd/PrimaryLogPG: optimal pick_newest_available
Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-09 16:17:07 -06:00
Sage Weil
0a3a8cd58a
Merge pull request #12724 from kylinstorage/wip-fix-coverity-warning-for-uninitialized-members
...
osd: fix coverity warning for uninitialized members
Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-09 16:14:52 -06:00
Sage Weil
93d7a21e42
Merge pull request #12725 from liewegas/wip-bluestore-bluefs-reclaim
...
os/bluestore/BlueFS: fix reclaim_blocks
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
2017-01-09 16:07:15 -06:00
Sage Weil
cc6d926d3c
Merge pull request #12727 from liewegas/wip-18369
...
osd/PG: publish PG stats when backfill-related states change
Reviewed-by: Samuel Just <sjust@redhat.com>
2017-01-09 16:05:30 -06:00
Jason Dillaman
c253b88713
librbd: rewatch complete callback should be invoked w/o lock
...
It's currently being incorrectly invoked twice -- but the direct
callback is holding the Watcher lock. This results in a recursive
lock when ManagedLock attempts to retrieve the watch id from the
Watcher.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-09 12:56:00 -05:00
Mykola Golub
27465b5916
librbd: metadata_set API operation should not change global config setting
...
Fixes: http://tracker.ceph.com/issues/18465
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-01-09 18:53:49 +01:00
Casey Bodley
1d586f76a1
rgw: RGWAsyncRadosRequest drops notifier ref on cancel
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-01-09 11:30:50 -05:00
Casey Bodley
7a4975adba
rgw: release RGWAioCompletionNotifier refs on destruction
...
Fixes: http://tracker.ceph.com/issues/18407
Fixes: http://tracker.ceph.com/issues/18414
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-01-09 11:28:17 -05:00
Mykola Golub
006138e2d8
test/librbd: add break_lock test
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-01-09 18:25:57 +02:00
Casey Bodley
e0acce4953
Merge pull request #12731 from oritwas/wip-rgw-realm-set
...
rgw realm set fixes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-01-09 10:54:15 -05:00
Ricardo Dias
69f8146299
rbd: fix template specialization of PromoteRequest class
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2017-01-09 15:22:30 +00:00
Jason Dillaman
778e1126a0
librbd: delay mirror registration when creating clones
...
Fixes: http://tracker.ceph.com/issues/17993
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-09 09:21:41 -05:00
Mykola Golub
5fc5a8ac89
rbd-mirror: check image mirroring state when bootstrapping
...
Fixes: http://tracker.ceph.com/issues/18447
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-01-09 15:20:45 +01:00
Mykola Golub
0a1cb35caa
rbd-mirror: async request to test if image is primary
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-01-09 15:20:45 +01:00
Jason Dillaman
b95f92a557
librbd: possible deadlock with flush if refresh in-progress
...
Fixes: http://tracker.ceph.com/issues/18419
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-09 09:06:36 -05:00
Jason Dillaman
d30873b269
rbd-mirror: avoid processing new events after stop requested
...
Fixes: http://tracker.ceph.com/issues/18441
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-09 09:05:34 -05:00
Mykola Golub
82aa89668d
rbd-mirror: hold owner lock when testing if lock owner
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-01-09 15:05:05 +01:00
John Spray
30cfc81bdc
Merge pull request #12274 from ukernel/wip-multimds-misc
...
mds: misc multimds fixes
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-09 13:05:51 +00:00
Jason Dillaman
1b2b637bb5
librbd: merge managed lock refactor
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-09 08:01:22 -05:00
Wei Jin
2b9d50d144
msg/async: clean Processor constructor
...
Signed-off-by: Wei Jin <wjin.cn@gmail.com>
2017-01-09 19:12:41 +08:00
Wei Jin
23daf45c8d
msg/async: clean idx
...
the initial value is misleading as event center's id was changed to
the index in the worker vector.
Signed-off-by: Wei Jin <wjin.cn@gmail.com>
2017-01-09 19:10:07 +08:00
John Spray
6542a2e0d0
Merge pull request #12588 from jcsp/wip-18311
...
mds: check for errors decoding backtraces
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-09 11:02:32 +00:00
John Spray
96375cd7bb
Merge pull request #12580 from Liuchang0812/fix-clang-warn-client
...
client: fix clang warn of "argument is an uninitialized value"
Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-09 11:02:02 +00:00
John Spray
a1c8e510a8
libcephfs: fix cct refcount constructing from rados
...
This get() made sense before ceph_mount_info did its
own reference acquisition on the context object.
Follow up to:
a567fa66
libcephfs.cc: fix memory leak
Signed-off-by: John Spray <john.spray@redhat.com>
2017-01-09 10:45:44 +00:00
John Spray
572a09cbe3
Merge pull request #12557 from stiopaa1/libcephfs_memoryLeakCephContext
...
libcephfs.cc: fix memory leak
Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-09 10:36:39 +00:00
John Spray
8a7ad3d9ee
Merge pull request #12161 from jcsp/wip-remove-cap
...
client: simplify remove_cap interface
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-01-09 10:30:27 +00:00
John Spray
411bd53555
Merge pull request #12515 from kylinstorage/wip-safe-trace
...
client: fix potential buffer overflow
Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-09 10:29:47 +00:00
Kefu Chai
637ec53e48
Merge pull request #12560 from wjwithagen/wip-wjw-rocksdb-NO-FAIL
...
src/CMakeLists.txt: disable -Werror on rocksdb
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-09 18:16:29 +08:00
Kefu Chai
70307c1d6a
Merge pull request #12799 from tchaikov/wip-sepia-bt
...
script/sepia_bt.sh: download packages from shaman not gitbuilder
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-01-09 10:59:47 +08:00
Nathan Cutler
4f4f35e37c
tests: drop rbd_cli_tests.pl and RbdLib.pm
...
The rbd_cli_tests Perl script is not maintained and currently serves no
purpose. The RbdLib.pm module was only used by rbd_functional_tests.pl (which
was dropped by 276ffb4631
) and rbd_cli_tests.pl
so drop it as well.
Fixes: http://tracker.ceph.com/issues/14825
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-08 16:17:08 +01:00
Jason Dillaman
0fb99b79b3
Merge pull request #12816 from SUSE/wip-18440
...
tests: subst repo and branch in git.ceph.com URL in qa/tasks/cram.py and qa/tasks/qemu.py
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-08 09:57:36 -05:00
Jason Dillaman
43f401365c
Merge pull request #12818 from SUSE/wip-drop-rbd_functional_tests
...
tests: drop unused rbd_functional_tests.pl script
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-08 09:56:59 -05:00