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
Sage Weil
12a0f96f07
Merge pull request #12524 from yuyuyu101/wip-bluestore-flush
...
os/bluestore: prevent lock for almost "flush" calls
Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-29 09:28:39 -06:00
Sage Weil
2bdb569267
Merge pull request #12528 from kylinstorage/wip-JournalingObjectStore-cleanup
...
os/filestore/JournalingObjectStore cleanup
Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-29 09:27:51 -06:00
Sage Weil
13c01a0350
Merge pull request #12670 from liewegas/wip-nits
...
mon: fix a few nits
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-12-29 09:27:32 -06:00
Sage Weil
5c1c3c0845
Merge pull request #12684 from xiexingguo/xxg-wip-fix-onodesizetracking
...
os/bluestore: fix OnodeSizeTracking testing
Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-29 09:26:21 -06:00
Michal Jarzabek
9d95c439e4
msg/Messenger.cc: add std::move
...
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-12-29 15:10:46 +00:00
Haomai Wang
020fd24d7e
Merge pull request #12707 from tchaikov/wip-dpdk-v16.07
...
builds with dpdk v16.07
Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-12-29 15:02:59 +08:00
Kefu Chai
3e559b2194
msg/async: bump dpdk to v16.07
...
as some distros include it already. so sync it up to avoid building
failures on them with dpdk-dev package(s) shipped by distro.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-12-29 14:09:20 +08:00
Kefu Chai
09b4978cfd
msg/async: be compatible with dpdk v16.07
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-12-29 14:06:41 +08:00
Kefu Chai
27d9cf8fd9
Merge pull request #12698 from yuyuyu101/wip-dpdk-fix
...
msg/async/dpdk: fix compile errors
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-12-29 14:06:00 +08:00
Kefu Chai
c54f568a1f
Merge pull request #12699 from wjwithagen/patch-15
...
qa/test_rados_tool.sh: POSIX dd only accepts 'k' as multiplier
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-12-29 12:04:23 +08:00
Brad Hubbard
06d6550328
test/librados/snapshots.cc: Fix memory leak
...
Fix for valgrind reported leak of librados::ObjectWriteOperation heap
object.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-12-29 13:14:56 +10:00
Brad Hubbard
9c48cad021
test/librados/tier.cc: Fix valgrind errors
...
Rectify memory leak and invalid reads.
Fixes: http://tracker.ceph.com/issues/18360
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-12-29 13:07:30 +10:00
runsisi
9ede01affd
osd/OpRequest: dump both name and addr for the client op
...
Signed-off-by: runsisi <runsisi@zte.com.cn>
2016-12-29 10:23:31 +08:00
huangjun
891c0992c5
osd/PrimaryLogPG: optimize pick_newest_available
...
we can get pg_missing_item from is_missing(), no need to find it again.
Signed-off-by: huangjun <hjwsm1989@gmail.com>
2016-12-29 09:13:46 +08:00
Sage Weil
380dbb4ae5
osdc/Objecter: remove internal oncommit_sync
...
We can use onfinish for the linger completions.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-28 17:08:42 -05:00
Sage Weil
540601c2b7
osdc/Objecter: onack + oncommit -> onfinish etc
...
And num_unack + num_unsafe -> num_in_flight.
l_osdc_op_ack + l_osdc_op_commit -> l_osdc_op_reply
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-28 17:08:42 -05:00
Sage Weil
bb7c7735c7
osdc/Objecter: remove onack from remaining mutate methods
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-28 17:08:42 -05:00
Sage Weil
7ea438cadc
osdc/Objecter: drop onack from _modify
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-28 17:06:03 -05:00
Sage Weil
a023af6e7a
osdc/Filer: go to single ack for update methods
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-28 17:06:03 -05:00
Sage Weil
16d0c85ff4
osdc/Objecter: go to single callback for mutate()
...
...and prepare_mutate_op().
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-28 17:04:30 -05:00
Sage Weil
af01db76f6
librados: eliminiate ack vs commit distinction
...
- paper over the distinction in the public interface
- consolidate internal completions and flags
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-28 17:01:26 -05:00
Sage Weil
d4c837da5a
client: remove special ack vs commit behavior
...
1) Do not submit a separate ack callback; just the
blocking cond one.
2) Do the sync write completion synchronously--much
simpler now!
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-28 17:01:26 -05:00
Sage Weil
c2535c1363
mon/OSDMonitor: remove workaround for dumpling-era bug
...
We will definitely have published (and stored) a new osdmap since then.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-28 14:10:08 -05:00