Sage Weil
98405376ad
Merge pull request #12676 from chendave/master
...
common/ceph_context: Show clear message if all features are enabled
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-12-30 12:58:20 -06:00
Sage Weil
eef842e48d
Merge pull request #12633 from liewegas/wip-15784
...
msg/simple: call clear_pipe in wait() shutdown path
Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-12-30 12:57:02 -06:00
Sage Weil
3b0cb4e9b8
Merge pull request #12692 from XinzeChi/wip-bluestore-statfs
...
os/bluestore: _txc_release_alloc when do wal cleaning
Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-30 12:55:20 -06:00
Sage Weil
0260de99fe
Merge pull request #12691 from runsisi/wip-dump-osdop
...
osd/OpRequest: dump both name and addr for the client op
Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-30 12:52:27 -06:00
Sage Weil
1a3fc9cf64
Merge pull request #12363 from wjwithagen/wip-wjw-freebsd-strerror
...
common/module.c: do not use strerror_r the GNU way.
Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-30 12:51:45 -06:00
Sage Weil
882ad33b52
os/bluestore/BlueFS: fix reclaim_blocks
...
We need to return all extents to the caller. The current code
fails to assign *offset so it appears like a single extent from
the start of the device, which is very wrong.
Fixes: http://tracker.ceph.com/issues/18368
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-30 12:22:42 -05:00
Sage Weil
8e313a2496
os/bluestore/bluestore_types: operator<< for AllocExtent
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-30 12:20:31 -05:00
Li Wang
83a384de9e
osd/OSD.h: fix uninitialized member
...
Silence Coverity 1398203
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2016-12-30 14:55:21 +00:00
Li Wang
b1620057ba
osd/PrimaryLogPG.cc: fix uninitialized member
...
Silence Coverity 1398201
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2016-12-30 14:53:17 +00:00
Li Wang
df961dd338
os/bluestor/BitAllocator.h: fix uninitialized member
...
Silence Coverity 1398206
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2016-12-30 14:15:15 +00:00
Li Wang
a7b610acf5
os/bluestore/BitmapFreelistManager.cc: fix uninitialized member
...
Silence Coverity 1398205
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2016-12-30 14:10:06 +00:00
Li Wang
387ad76b5e
os/bluestore/BitAllocator.cc: fix uninitialized member
...
Silence Coverity 1398204
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2016-12-30 14:01:17 +00:00
Li Wang
9939a6550f
os/bluestore/BlueStore.h: fix uninitialized member
...
Silence Coverity 1398202
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2016-12-30 13:57:51 +00:00
Li Wang
7f2f216cd0
os/kstore/KStore.h: fix uninitialized member
...
Silence Coverity 1398200
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2016-12-30 13:57:21 +00:00
Jianpeng Ma
00533e43c0
common/Finisher: Using queue(list<context*>) instead queue(context*).
...
Avoid call many time queue(context*).
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2016-12-30 20:11:19 +08:00
Gaurav Kumar Garg
98a802ab7a
rbd: remove unused condition
...
Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
2016-12-30 11:33:42 +01:00
Dave Chen
3953db2b5a
cephx: Let's not use the deprecated option
...
Enable cephx by setting the option of "auth supported" has been
deprecated for a long time, it's better to use the recommended
options instead.
Signed-off-by: Dave Chen <wei.d.chen@intel.com>
2016-12-30 17:04:28 +08:00
Li Wang
68bf649dd2
Merge pull request #12718 from kylinstorage/wip-orig
...
organizationmap: add Xianxia Xiao to Kylin Cloud team
2016-12-30 14:50:06 +08:00
Yunchuan Wen
f3ab967df1
organizationmap: add Xianxia Xiao to Kylin Cloud team
...
Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
2016-12-30 14:01:50 +08:00
Xianxia Xiao
fed8aaa37d
src/tools/rbd_mirror/Replayer.h : fix typos
...
Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
2016-12-30 02:48:04 +00:00
Xianxia Xiao
12160b8a23
src/messages/MMDSSlaveRequest.h : fix typos
...
Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
2016-12-30 02:47:44 +00:00
Xianxia Xiao
673c277366
src/tools/rbd_recover_tool/epoch_h : fix typos
...
Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
2016-12-30 02:47:17 +00:00
Xianxia Xiao
e54057e827
src/librados/IoCtxImpl.h : fix typos
...
Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
2016-12-30 02:47:03 +00:00
Xianxia Xiao
da98eaaefc
src/journal/JournalTrimmer.h : fix typos
...
Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
2016-12-30 02:46:45 +00:00
Xianxia Xiao
27e2dac93c
src/common/hobject.h : fix typos
...
Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
2016-12-30 02:46:26 +00:00
Brad Hubbard
874aed67a4
Merge pull request #12652 from badone/wip-coverity-TracepointProvider
...
tracing: Fix handle leak in TracepointProvider
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-12-30 12:24:28 +10:00
Brad Hubbard
756c2011e4
tracing: Fix handle leak in TracepointProvider
...
Silences Coverity 1397733
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-12-30 10:04:11 +10:00
Brad Hubbard
08be44aec8
test_rados_watch_notify: Fix trivial memory leaks
...
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-12-30 08:56:36 +10:00
Sage Weil
9088f47ee4
Merge pull request #12711 from yuyuyu101/wip-fix-rdma
...
msg/async/rdma: fix ceph_clock_now calls
Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-29 14:35:57 -06:00
Sage Weil
bc197d75cc
Merge pull request #12451 from liewegas/wip-osd-on-applied
...
osd: never send rados ack (only commit)
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-12-29 12:43:01 -06:00
Kefu Chai
bc81c1ba4c
Merge pull request #12480 from dx9/wip-boost-python
...
cmake: fix hard coded boost python lib
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-12-30 01:29:00 +08:00
Sage Weil
4ec3164f26
Merge pull request #12406 from songbaisen/s5
...
tool: add some ceph relate processes to ps-ceph.pl
Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-29 11:22:28 -06:00
Sage Weil
f518679a8c
Merge pull request #12621 from fiskn/master
...
doc: Update disk thread section to reflect that scrubbing is no longe…
2016-12-29 11:17:57 -06:00
Sage Weil
08c3618771
mon/OSDMonitor: set last_force_op_resend on overlay pool too
...
We currently set the last_force_op_resend field on the
base pool when we set or clear the overlay. Set it on
the cache/overlay pool too. The Objecter should resend
even with a change only to the base pool, but the OSD
needs to see the change on the overlay pool to correctly
discard the op.
Fixes: http://tracker.ceph.com/issues/18366
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-29 12:08:28 -05:00
liuchang0812
96f5c92dbf
test: update test_rados_tool.sh, use POOL and OBJ var
...
* replace hard-code pool name with $POOL
* replace hard-code object name with $OBJ
* introduce a new variable called $POOL_EC
* clean up pool
* simplify test case
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2016-12-29 16:05:37 +00:00
Haomai Wang
09a49861e6
msg/async/rdma: fix ceph_clock_now calls
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-12-29 23:50:31 +08:00
Sage Weil
f706819d6a
Merge pull request #12403 from liewegas/wip-mon-mgr-cleanups
...
mon: clean up some osdmon/pgmon interactions
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-12-29 09:38:59 -06:00
Sage Weil
265c2ff446
qa/workunits: remove crash_replay_interval tests
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-29 10:30:39 -05:00
Sage Weil
63bb2b7d45
doc: remove crash_replay_interval mentions
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-29 10:30:08 -05:00
Sage Weil
b6fdff4904
mon/MDSMonitor: no need to set crash_replay_interval on data pools
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-29 10:30:08 -05:00
Sage Weil
0cb51ab40b
osd/PG: remove waiting_for_ack
...
No longer used.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-29 10:30:08 -05:00
Sage Weil
abb29b35b0
osd: simplify dup/resent logic
...
No need to special ack path.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-29 10:30:08 -05:00
Sage Weil
3269c52128
osd: remove replay_queue
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-29 10:30:07 -05:00
Sage Weil
5aca4ebce6
osd/PG: do not go into replay state
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-29 10:30:07 -05:00
Sage Weil
845f432dc1
osd/PG: do not queue ops for replay
...
We no longer send ACKs, so this can't happen anyway.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-29 10:30:07 -05:00
Sage Weil
1addadc40a
osd: we can discard "replay" ops
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-29 10:30:07 -05:00
Sage Weil
b9a3698e4c
osd/ReplicatedPG: do not send ACK separate from COMMIT
...
This never comes before COMMIT, making it useless to clients. And it's
just unnecessary overhead.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-29 10:30:07 -05:00
Sage Weil
e94521638b
osd: remove 'rlat' read latency metrics
...
These are measuring how long of a delay we see before ops are readable.
They are calculated in the on_applied path, which we'd like to remove,
and weren't reliably calculated anyway.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-29 10:30:07 -05:00
Sage Weil
46cdcf8229
osd/ReplicatedPG: kill hit_set_flushing
...
This was added before we started taking the ondisk lock in order to allow
reading a just-written hitset. Since this is a rare path anyway, just
take the ondisk lock.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-29 10:30:07 -05:00
Sage Weil
2c05a968fe
Merge pull request #12522 from hjwsm1989/ecwrite
...
osd/ECBackend: Send write message to peers first, then do local write
Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-29 09:29:24 -06:00