Kefu Chai
9f8a311ced
cmake: move ContextCompletion.cc into rbd_internal
...
- ContextCompletion.cc is used by TrimRequest.cc which is included by
rbd_internal, it's more natural to put ContextCompletion.cc into
rbd_internal also. as rbd_internal is the only consumer of this
translation unit.
- librbd/internal.cc is not referencing any symbols from util.cc, so
remove this include. and also, do not add
$<TARGET_OBJECTS:common_util_obj> to librbd.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-11-14 18:38:55 +08:00
Kefu Chai
89d6091535
cmake: let rbd_internal depend on librbd-tp
...
as librbd/AioCompletion.cc includes "tracing/librbd.h", which is offered
by librbd-tp.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-11-14 18:38:55 +08:00
Kefu Chai
ddcb4a945a
Merge pull request #11844 from liupan1111/master
...
os/bluestore: speedup the performance of multi-replication flow by switc…
Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-14 09:42:50 +08:00
Kefu Chai
7d6fa8d5c5
Merge pull request #11799 from KerLiu/fixdupassignment
...
osd/OSDMap.cc: fix duplicated assignment for new_blacklist_entries
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-14 09:40:58 +08:00
Kefu Chai
473ae1d539
Merge pull request #11378 from ryneli/watch_notify_add_timeout
...
librados: add timeout to watch/notify
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-14 09:36:14 +08:00
Ryne Li
e3ca1e607e
librados: add timeout parameter to rados_watch
...
Signed-off-by: Ryne Li <lizhenqiangsnake@gmail.com>
2016-11-13 07:21:54 -05:00
Kefu Chai
961a309532
Merge pull request #10221 from Yan-waller/yj-wip-testrados-0709
...
test/rados: remove unused bufferlist variable
Reviewed-by: xiexingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-13 16:24:05 +08:00
Kefu Chai
6aad9ea173
Merge pull request #11941 from liewegas/wip-envlibrados
...
qa/workunits/rados/test_envlibrados_for_rocksdb: force librados-dev install
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-13 14:53:29 +08:00
Kefu Chai
c4624271ed
Merge pull request #9357 from Aran85/wip-assert-build-push
...
osd/PGBackend: build_push_op segment fault
Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-11-13 14:41:14 +08:00
Kefu Chai
18d27b19d3
Merge pull request #11800 from bassamtabbara/wip-make-leveldb-optional
...
mon: support for building without leveldb + mon mkfs bug fix
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-13 14:39:11 +08:00
Kefu Chai
6638babd6e
Merge pull request #11664 from sysnote/wip-17719
...
mon: fix "OSDs marked OUT wrongly after monitor failover"
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-13 14:38:10 +08:00
Kefu Chai
a87a092038
Merge pull request #10196 from xiaoxichen/fix_16609
...
log/LogClient: fill seq & who for syslog and graylog
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-13 14:34:24 +08:00
Pan Liu
0cb01c4f4b
BlueStore: speedup the performance of multi-replication flow by
...
switching the callback order in bluestore.
In Bluestore ack callback and commit callback are queued one by one in
the function "BlueStore;:_txc_finish_kv". Therefore, just only one callback
is needed to call, in order to improve performance. We do this by switching
the callback order in bluestore, and the callback work can be done in
sub_op_modify_commit and doesn't need to do it again in sub_op_modify_applied.
Signed-off-by: Pan Liu <pan.liu@istuary.com>
2016-11-12 23:22:30 +08:00
Sage Weil
1fdbf4cc99
Merge pull request #11805 from tchaikov/wip-deprecate-readdir-r
...
deprecate readdir_r() with readdir()
Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-12 07:35:58 -06:00
Sage Weil
97c389dff4
Merge pull request #11824 from xiexingguo/xxg-wip-kill-pg-splitting
...
osd: kill PG_STATE_SPLITTING
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-11-12 07:35:46 -06:00
Sage Weil
9100d3362a
Merge pull request #11874 from wido/osd-no-scrub-recovery
...
osd: Add config option to disable new scrubs during recovery
Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-12 07:35:13 -06:00
Sage Weil
fe35d21f3b
Merge pull request #11880 from cbodley/wip-ms-type-random
...
msg: seed random engine used for ms_type="random"
Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-12 07:35:00 -06:00
Sage Weil
2eaa9faaa7
Merge pull request #11898 from liewegas/wip-filestore-hashindex
...
os/filestore/HashIndex: fix list_by_hash_* termination on reaching end
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-11-12 07:34:41 -06:00
Sage Weil
f9882f4abe
qa/workunits/rados/test_envlibrados_for_rocksdb: force librados-dev install
...
On trusty we see
WARNING: The following packages cannot be authenticated!
librados-dev
E: There are problems and -y was used without --force-yes
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-12 08:30:59 -05:00
Brad Hubbard
47a41ccac4
Merge pull request #11907 from badone/wip-pipe-socket-typos
...
msg: Fix typos in socket creation error message
Reviewed-by: xiexingguo <xie.xingguo@zte.com.cn>
2016-11-12 12:53:06 +10:00
Yehuda Sadeh
8cb3a5d42f
Merge pull request #11392 from Oloremo/keystone_docs
...
Update keystone doc about v3 options
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-11-11 15:40:47 -08:00
Sage Weil
d84bcb76d0
Merge pull request #11925 from ktdreyer/doc-infernalis-eol
...
doc: add infernalis EOL date
2016-11-11 16:57:36 -06:00
Ken Dreyer
9a9637d176
doc: add infernalis EOL date
...
Remove the estimated Infernalis EOL date, and add the actual EOL date.
As discussed on the ceph-devel mailing list, we decided to say that this
infernalis EOL date is the same date that we made the first Jewel
release available.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2016-11-11 15:45:19 -07:00
Dan Mick
9998ba2a7b
Merge pull request #11924 from liewegas/wip-balloc
...
unittest_bit_alloc: fix type
Merging before make check because it clearly breaks the build and the build part is done
Reviewed-by: Dan Mick <dmick@redhat.com>
2016-11-11 13:54:06 -08:00
Sage Weil
05a7a83299
unittest_bitalloc: fix type
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-11 16:12:10 -05:00
Sage Weil
c67446d91c
Merge pull request #11922 from liewegas/wip-mempool-bluestore
...
mempool: changes for bitmap allocator
Reviewed-by: Allen Samuels <allen.samuels@sandisk.com>
2016-11-11 14:29:19 -06:00
Sage Weil
606253ac2c
Merge pull request #11920 from ifed01/wip-bluestore-tmp
...
os/bluestore: remove build warning in a better way
Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-11 14:28:50 -06:00
Ramesh Chander
aa2146de77
mempool changes for bitmap allocator
...
[with bstore_balloc -> bluestore_alloc rename by sage]
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
2016-11-11 15:08:52 -05:00
Sage Weil
0dc6e69ab3
Merge pull request #11839 from liewegas/wip-mempool-buffer
...
buffer: put buffers in buffer_{data,meta} mempools
Reviewed-by: Allen Samuels <allen.samuels@sandisk.com>
2016-11-11 14:04:13 -06:00
Sage Weil
27a2d13c6a
Merge pull request #11834 from liewegas/wip-bluestore-mempool
...
os/bluestore: move bluefs into its own mempool
Reviewed-by: Allen Samuels <allen.samuels@sandisk.com>
2016-11-11 14:03:43 -06:00
Sage Weil
fc15c12850
buffer: put data and metadata in a mempool
...
Note that for raw_combined we leak some metadata into the data pool.
Also, we do not account for non-raw metadata or anything else in buffer.h,
as that would pollute the ABI and public interface.
Drop the namespace ceph in buffer.cc (which serves no real purpose) as it
confuses the MEMPOOL_DEFINE_* macros (they cannot be used inside a
namespace).
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-11 14:59:54 -05:00
Sage Weil
dcc23765b4
mempool: add [de]allocate_aligned
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-11 14:59:54 -05:00
Sage Weil
f54e6bd78c
osd: move pg logs into osd mempool
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-11 14:59:54 -05:00
Sage Weil
665013cd96
osd/PG: move peering evt into pool
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-11 14:59:54 -05:00
Sage Weil
88d59bff07
osd: move ReplicatedPG into mempool
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-11 14:59:54 -05:00
Sage Weil
fbf5253e59
mempool: create an osd mempool
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-11 14:59:53 -05:00
Sage Weil
12f6e8f18a
mempool: attach mempool asok commands to all ccts
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-11 14:59:53 -05:00
Sage Weil
328487b6e1
mempool: move to libcommon
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-11 14:59:53 -05:00
Sage Weil
ae1564df93
include/mempool: align shard_t to cacheline
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-11 14:59:53 -05:00
Sage Weil
08222300c5
include/mempool: adjust factory name
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-11 14:59:53 -05:00
Sage Weil
bd601c648d
mempool: drop unused factory type
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-11 14:59:53 -05:00
Sage Weil
38f61af44a
include/mempool: fix allocate() debug_mode check
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-11 14:59:53 -05:00
Sage Weil
53fb099d1e
Merge pull request #7784 from ceph/wip-da-SCA-20160219
...
Coverity and SCA fixes
Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-11 13:36:45 -06:00
Sage Weil
a1303ce419
Merge pull request #11830 from adamemerson/wip-crush-unlocked
...
crush: remove the crush_lock
Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-11 13:35:05 -06:00
Sage Weil
26a3dae292
Merge pull request #11910 from xiexingguo/xxg-wip-bluestore-1111
...
os/bluestore: some more cleanups
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-11-11 12:28:24 -06:00
Igor Fedotov
86c360fc90
os/bluestore: remove build warning in a better way
...
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-11-11 20:22:18 +03:00
Sage Weil
80fcdf85ea
Merge pull request #11915 from ifed01/wip-bluestore-fix-test
...
os/test/store_test: fix legacy bluestore cache settings application
Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-11 09:34:56 -06:00
Sage Weil
758272bd60
Merge pull request #11905 from xiexingguo/xxg-wip-kill-boost-warn
...
os/bluestore: fix compiler warnings
Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-11 09:30:54 -06:00
Sage Weil
abf5588e9e
Merge pull request #11896 from ifed01/wip-bluestore-cleanup
...
os/bluestore: cleanup around Blob::ref_map
Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-11 09:01:12 -06:00
John Spray
6b2dc4ac73
Merge pull request #11710 from ceph/wip-jlayton-fsync
...
Fix long stalls when calling ceph_fsync()
Reviewed-by: John Spray <john.spray@redhat.com>
2016-11-11 15:29:15 +01:00