Adam C. Emerson
b27e40d254
{client,test}: Explicitly initialize empty inode_t
...
Using an explicit {} initializer. This unbreaks Clang.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-02-09 15:59:46 -05:00
Jason Dillaman
82ef376e80
librbd: auto-remove trash snapshots when image is deleted
...
Fixes: http://tracker.ceph.com/issues/22873
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-09 13:34:55 -05:00
Kefu Chai
df8b1c2bc8
test/librados: s/invoke_result_t/result_of_t/
...
to workaround buggy libc++ implementation. see
https://cplusplus.github.io/LWG/issue2807 . we should switch to
invoke_result_t once issue2807 is fixed in the latest release of
libc++.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-10 00:06:24 +08:00
Igor Fedotov
2d78999451
os/bluestore: cleanup around ExtentList class.
...
Also move it out of bluestore_types.h.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-02-09 18:46:21 +03:00
Igor Fedotov
e0cd948298
os/bluestore: kill AllocExtent[Vector] to simplify code a bit
...
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-02-09 18:46:21 +03:00
Igor Fedotov
774773e3ae
Merge pull request #20387 from ifed01/wip-ifed-fio-build-fix
...
test/fio: fix build failure caused by sequencer replacement.
2018-02-09 18:35:25 +03:00
John Spray
4e2748d3a4
Merge pull request #20043 from Rubab-Syed/configuration_setting_browser
...
mgr/dashboard: add configuration setting browser
Reviewed-by: John Spray <john.spray@redhat.com>
2018-02-09 15:22:51 +00:00
Jason Dillaman
30aed9f9de
Merge pull request #20389 from trociny/wip-cli_generic
...
qa/workunits/rbd: fix cli_generic test_purge for rbd default format 1
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-09 09:21:57 -05:00
Mykola Golub
57baca0166
qa/workunits/rbd/cli_generic: fix test_purge for rbd default format 1
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-02-09 16:04:43 +02:00
Mykola Golub
8079d23897
Merge pull request #20364 from Songweibin/wip-fix-test-rbd
...
test/rbd: cli_generic fails if v1 image format or deep-flatten disabled
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-02-09 14:42:27 +02:00
Igor Fedotov
935a1bdb34
tools/ceph-objectstore-tool: do not fail on lack of OI_ATTR for an
...
object.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-02-09 15:00:07 +03:00
Igor Fedotov
7f768dbf62
test/fio: create superblock on mkfs to provide proper tools functioning
...
E.g. ceph-objectstore-tool requires that
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-02-09 14:58:15 +03:00
Igor Fedotov
9f8ae668c1
test/fio: fix build failure caused by sequencer replacement.
...
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-02-09 14:06:15 +03:00
Yan, Zheng
c822b3e257
mds: optimize getattr file size
...
Fixes: http://tracker.ceph.com/issues/22925
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-02-09 18:46:05 +08:00
John Spray
e654f2832a
Merge pull request #20372 from tchaikov/wip-mgr-doc
...
doc/mgr: remove non user-facing code from doc
Reviewed-by: John Spray <john.spray@redhat.com>
2018-02-09 10:51:09 +01:00
Wido den Hollander
b7d0cab99e
mgr/zabbix: Implement health checks in Zabbix module
...
Should make it easier for users to see why the module is failing.
Signed-off-by: Wido den Hollander <wido@42on.com>
2018-02-09 09:57:41 +01:00
songweibin
21c3bc3e69
test/rbd: cli_generic fails if v1 image format or deep-flatten disabled
...
Fixes: http://tracker.ceph.com/issues/22950
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-02-09 16:17:27 +08:00
Piotr Dałek
989abb0b4c
common/ConfUtils: check key before actually normalizing
...
Key normalization involves some copying and strlens, and these are
expensive.
Check if key contain whitespaces, normalize it only when it does.
Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
2018-02-09 08:57:19 +01:00
Kefu Chai
01d350f388
Merge pull request #20382 from tchaikov/wip-fix-ftbfs-store-test
...
test/store_test: fix FTBFS as Sequencer is removed
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-02-09 14:39:49 +08:00
Kefu Chai
6e90be1ac9
check feature bits when encoding objectstore_perf_stat_t
...
OS_PERF_STAT_NS feature bit is added. it's sharing the same bit with
QOS_DMC.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-09 14:31:48 +08:00
huanwen ren
b1248273d6
client: fixup parallel calls to ceph_ll_lookup_inode() in NFS FASL
...
fixup parallel calls to ceph_ll_lookup_inode() in NFS FASL,
Because the original fuction does not have a global Lock to
ensure the atomicity of the lookup inode process,It eventually
caused an exception when the NFS-Ganesha FSAL module called
this interface in parallel,see the Bug report.
Fixes: http://tracker.ceph.com/issues/22683
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2018-02-09 13:34:56 +08:00
Kefu Chai
3a7cac0684
test/store_test: fix FTBFS as Sequencer is removed
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-09 13:05:25 +08:00
Kefu Chai
5757d6f118
Merge pull request #20294 from rzarzynski/wip-bs-drop-std_function
...
os/bluestore: avoid overhead of std::function in blob_t.
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-09 10:45:24 +08:00
Kefu Chai
24d1b2edb4
Merge pull request #19232 from socketpair/precision
...
mgr: increase time resolution of Commit/Apply OSD latencies.
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-09 10:44:27 +08:00
Kefu Chai
34c3af45a5
Merge pull request #18804 from majianpeng/bluestore-collection-prealloc
...
os/bluestore: Prealloc memory avoid realloc in list_collection.
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-09 10:43:24 +08:00
Kefu Chai
7894961e9f
Merge pull request #18494 from ifed01/wip-stupidalloc-fix2
...
os/bluestore: do not assert if BlueFS rebalance is unable to allocate sufficient space
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-09 10:42:43 +08:00
Kefu Chai
a82cad5839
Merge pull request #18343 from shinobu-x/sk-remove-osdmap
...
mon/PGMap: Remove unnecessary header
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-09 10:41:50 +08:00
Patrick Donnelly
8c95cc5144
Merge PR #19954 into master
...
* refs/pull/19954/head:
test/encoding: refactor to avoid escaping shell magic
mds: minor refactor of SimpleLock
mds: track Capability in mempool
mds: move CInode container members to mempool
mds: move CDentry container members to mempool
mds: move CDir container members to mempool
mds: put MDSCacheObject compact_map in mempool
common: use size_t for object size
mds: convert to allocator agnostic string_view
mds: simplify initialization
compact_*: support mempool allocated containers
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-02-08 18:17:15 -08:00
Radoslaw Zarzynski
248750fea4
osd: PrimaryLogPG::do_osd_ops() uses md_config_cacher_t.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-09 02:46:58 +01:00
Jason Dillaman
7b7a7d55b1
Merge pull request #20007 from mogeb/steady-clock-librbd
...
librbd: use steady clock to measure elapsed time in AioCompletion
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-08 19:20:21 -05:00
Jason Dillaman
5029ee8a60
Merge pull request #20008 from mogeb/steady-clock-tools-rbd
...
tools/rbd: use steady clock in bencher
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-08 19:20:07 -05:00
Jason Dillaman
7b79305f60
Merge pull request #20218 from shun-s/wip-speedup-diskusage-resize
...
librbd: speed up object map disk usage and resize
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-08 19:19:52 -05:00
Jason Dillaman
6d5652125c
Merge pull request #20311 from Songweibin/wip-group-snap-ls
...
rbd: do not show title if there is no group snapshot
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-08 19:19:35 -05:00
Jason Dillaman
6c3d5aa149
Merge pull request #20349 from trociny/wip-22932
...
rbd-mirror: fix potential infinite loop when formatting status message
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-08 19:19:12 -05:00
Patrick Donnelly
84ae0ce5fc
Merge PR #20310 into master
...
* refs/pull/20310/head:
qa: adjust cephfs full test for kclient
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-08 13:30:04 -08:00
Patrick Donnelly
65217e5363
Merge PR #20148 into master
...
* refs/pull/20148/head:
mds: reset connection's priv when marking down connection
mds: fix session reference leak
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-08 13:05:26 -08:00
Patrick Donnelly
b0afc33811
Merge PR #20155 into master
...
* refs/pull/20155/head:
osdc/Journaler: make sure flush() writes enough data
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-08 13:05:19 -08:00
Patrick Donnelly
e8e72570fe
Merge PR #20190 into master
...
* refs/pull/20190/head:
mon: allow removal of tier of ec overwritable pool
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
2018-02-08 13:05:12 -08:00
Patrick Donnelly
06b176b362
Merge PR #20200 into master
...
* refs/pull/20200/head:
client: add cap_dirtier_uid/gid to CapSnap
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-02-08 13:05:05 -08:00
Patrick Donnelly
cb03b5e7f5
Merge PR #20246 into master
...
* refs/pull/20246/head:
mds: remove extra 0x in ino prints
mds: print inode number not CInode ptr
2018-02-08 13:04:54 -08:00
Sage Weil
59bdada5d5
mon/OSDMonitor: accept crush_device_class in 'osd new' json input
...
If provided, set the OSD device_class at OSD creation time. This is
simpler than writing a file that the OSD has to read in and use to
set its initial device class, and also avoids a bit of sticky state
at the OSD that will make it keep trying to reset its device class on
startup if it ever gets cleared.
Note that we now ignore json input fields we don't understand, so remove
a test case.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-08 12:34:49 -06:00
Kefu Chai
789b23ad85
doc/mgr: remove none user-facing code from doc
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-09 01:47:35 +08:00
Kefu Chai
5613fe38a9
test/test_admin_socket_output: allow different asok directory
...
the asok files are not necessary located in ./out, actually, they are
put in $TMPDIR/ceph-asok.$random_stuff .
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-08 22:37:54 +08:00
Kefu Chai
1979b011ae
test/admin_socket_output: no need to create a copy of fs::path
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-08 22:37:53 +08:00
Alfredo Deza
7a5777183e
Merge pull request #20367 from ceph/simple-custom-cluster
...
ceph-volume: adds custom cluster name support to simple
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-02-08 08:48:41 -05:00
Andrew Schoen
7f1dc6b3ab
ceph-volume: use a custom cluster name in simple functional tests
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-02-08 07:09:57 -06:00
Xie Xingguo
f1cb504b2a
Merge pull request #20305 from xiexingguo/wip-more-balancer-fixes
...
pybind/mgr/balancer: more specific command outputs
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-08 12:30:46 +08:00
Xie Xingguo
9119dd6056
Merge pull request #20355 from luomuyao/typo
...
rgw: fix a typo in comment
Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-02-08 11:41:48 +08:00
Patrick Donnelly
46c25abd1c
test/encoding: refactor to avoid escaping shell magic
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-07 18:03:05 -08:00
Patrick Donnelly
e9be29c6aa
mds: minor refactor of SimpleLock
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-07 18:03:05 -08:00