Kefu Chai
8a0935988f
install-deps.sh: use GCC-7 on xenial also
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-11 23:26:24 +08:00
Jason Dillaman
f10904b617
Merge pull request #19416 from trociny/wip-flatten-cleanup
...
librbd: remove unused member in FlattenRequest
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-11 10:01:23 -05:00
Kefu Chai
2d641bde20
Merge pull request #19426 from tchaikov/wip-cmake
...
cmake: disable FAIL_ON_WARNINGS for rocksdb
2017-12-11 16:34:41 +08:00
Kefu Chai
6559a85051
cmake: disable FAIL_ON_WARNINGS for rocksdb
...
otherwise -Werror=implicit-fallthrough will fail the build with GCC-7
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-11 14:09:45 +08:00
Patrick Donnelly
d2ebe22a49
Merge PR #19373 into master
...
* refs/pull/19373/head:
client: drop duplicate friend
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-09 16:34:24 -08:00
Kefu Chai
717591016d
Merge pull request #19417 from tchaikov/wip-install-deps-gcc
...
install-deps.sh: install new gcc as the default the right way
Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-10 00:38:59 +08:00
Kefu Chai
3882deae8c
install-deps.sh: install new gcc as the default the right way
...
* should install software-properties-common beforehand, otherwise
the `add-apt-repository` command will not be available.
* the update-alternative commandline were copied from ceph-build,
should remove the escape characters.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-09 20:00:28 +08:00
Mykola Golub
41bdd8b6d4
librbd: remove unused member in FlattenRequest
...
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-09 11:47:01 +02:00
Kefu Chai
74a132d826
Merge pull request #19398 from tchaikov/wip-install-deps-use-dts
...
install-deps.sh: use DTS on centos if GCC is too old
Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-09 11:51:33 +08:00
Kefu Chai
b38621f302
ceph.spec: use dts-7 on rhel
...
devtoolset-7 is available for RHEL, but not for centos. only dts-6 is
available for centos.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-09 11:18:27 +08:00
Sage Weil
a16ff1a7cd
Merge pull request #19382 from rishabh-d-dave/docfix-ceph-osd-ls
...
doc/man: add "ls" to "ceph osd" command's subcommands list
2017-12-08 18:31:35 -06:00
Jason Dillaman
53be4ef96c
Merge pull request #19005 from shinobu-x/src_krbd
...
rbd: drop unnecessary using declaration, etc
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-08 10:18:22 -05:00
Kefu Chai
4cedada14e
install-deps.sh: enable testing repo on centos on aarch64
...
the DTS-6 is only available in the testing repo
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-08 21:15:53 +08:00
Jason Dillaman
899a2f9d38
Merge pull request #19338 from vshankar/rbd-mirror-image-map-timestamp
...
rbd-mirror: persist image map timestamp
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-08 07:15:30 -05:00
Jason Dillaman
7d0149e167
Merge pull request #19383 from trociny/wip-snapshot-copy
...
librbd: deep_copy: don't create snapshots above snap_id_end
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-08 07:15:06 -05:00
Kefu Chai
3f8647a7e8
install-deps.sh: use DTS on centos if GCC is too old
...
please note, run-make-check.sh sources install-deps.sh here to import
the $PATH and other environmental variables, which could be changed by
the the DTS "enable" script.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-08 19:36:58 +08:00
Sage Weil
604dc4decb
Merge pull request #19395 from tchaikov/wip-debian-control-upgrade
...
debian/control: adjust ceph-{osdomap,kvstore,monstore}-tool feature move
Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-08 02:34:22 -06:00
Kefu Chai
ec16e941f1
Merge pull request #19341 from tchaikov/wip-22301
...
ceph.spec: use devtoolset-6-gcc-c++ on aarch64
2017-12-08 15:24:48 +08:00
Kefu Chai
ee14a079ba
Merge pull request #19336 from amitkumar50/cov-misc-14
...
osd,os,io: Initializing C_ProxyChunkRead members,queue,request
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-12-08 15:24:11 +08:00
Kefu Chai
b939ab88f1
Merge pull request #19295 from kungf/scrub_delayed
...
osd: change op delayed state to 'waiting for scrub'
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-08 15:23:30 +08:00
Kefu Chai
572bae9b44
Merge pull request #19345 from ivancich/wip-bring-in-dmclock
...
osd: pull latest dmclock subtree
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-08 15:19:59 +08:00
Kefu Chai
e6973f8b0f
Merge pull request #19027 from tangwenjun3/wip-flush-reduce
...
os/bluestore: reduce meaningless flush
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-12-08 15:19:01 +08:00
Kefu Chai
1b9ba1a5fd
Merge pull request #19348 from adamemerson/wip-murdering-diagnostics
...
Add noreturn attribute to silence uninitialized warning
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-08 15:17:49 +08:00
Kefu Chai
809a0ce816
debian/control: adjust ceph-{osdomap,kvstore,monstore}-tool feature move
...
this is a follow-up of #19328 . we need to get this change into 12.2.3.
so better off do the switch somewhere after 12.2.2 which has been
tagged, and before 12.2.3, which is not tagged yet.
please note, this is not targetting master, because i want to make
sure the change number (the <num> in << 12.2.2-<num>) is correct. it
does not hurt if it's not, as long as it is ">> 12.2.2", so the replace
machinery in 12.2.3 works, and it covers the releases where the
ceph-{osdomap,kvstore,monstore}-tool are not move yet. but why don't
make it more right?
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit cdf49ba664
)
2017-12-08 14:51:08 +08:00
Sage Weil
9271d52851
debian/control: adjust ceph-{osdomap,kvstore,monstore}-tool feature move
...
The backport didn't make 12.2.2, but it will be in 12.2.3.
Fixes: http://tracker.ceph.com/issues/22319
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit e0c814266f
)
2017-12-08 14:51:08 +08:00
Sage Weil
788d88a9ef
Merge pull request #18752 from liewegas/wip-peering-queue
...
osd: put peering events in main sharded wq
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-12-07 19:43:16 -06:00
Mykola Golub
9ca3f46b96
librbd: deep_copy: move set_head to snapshot_copy state machine
...
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-08 00:17:16 +02:00
Mykola Golub
644c319181
librbd: deep_copy: don't create snapshots above snap_id_end
...
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-08 00:16:58 +02:00
vasukulkarni
8a6434c20e
Merge pull request #19244 from ceph/wip-cd-volume
...
qa/tasks: update ceph-deploy task to use newer ceph-volume syntax
2017-12-07 10:54:47 -08:00
Kefu Chai
4bc6269f15
Merge pull request #19276 from tchaikov/wip-volume-key
...
ceph-volume: do not use --key during mkfs
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-12-07 23:31:10 +08:00
Rishabh Dave
39cd6f993f
doc/man: mention "ls" in the ceph osd's subcommands list
...
Though "ls" command is explained and it's usage shown in the man page,
it is not mentioned in the subcommands list of "ceph osd" in the
beginning.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2017-12-07 20:04:19 +05:30
Alfredo Deza
09f88ce543
Merge pull request #19381 from ceph/fix_cephvol_doc
...
ceph-volume/doc: add missing subcommand in examples
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-12-07 08:45:52 -05:00
Guillaume Abrioux
a284f164f3
doc: add missing subcommand in examples
...
Add the missing 'lvm' subcommand in examples in the documentation of
ceph-volume.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2017-12-07 14:12:48 +01:00
Venky Shankar
dbf08e5177
rbd-mirror: persist image mapping timestamp on map update
...
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2017-12-07 04:55:56 -05:00
Venky Shankar
c3ae008994
rbd-mirror: include map timestamp in image map
...
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2017-12-07 04:55:56 -05:00
Jos Collin
1aa2e7c677
client: drop duplicate friend
...
Dropped duplicate friend access providing, as the below warning appears:
ceph/src/client/Client.h:764:16: warning: ‘C_Client_Remount’ is already a friend of ‘Client’ [enabled by default]
friend class C_Client_Remount;
Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-12-07 13:26:44 +05:30
Sage Weil
f3b2eb9d2d
Merge pull request #18276 from liewegas/wip-removed-snaps
...
mon,osd,osdc: refactor snap trimming (phase 1)
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-12-06 21:33:08 -06:00
Josh Durgin
d10aad6be8
Merge pull request #19364 from neha-ojha/wip-preserve-cbt
...
qa: preserve cbt task results
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-12-06 19:30:15 -08:00
Neha Ojha
46dee4b102
qa: preserve cbt task results
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-12-06 13:23:44 -08:00
Jason Dillaman
1d0238fb63
Merge pull request #19188 from adamwg/awg/rbd-watchers-api
...
librbd: Add a function to list image watchers
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-06 15:20:13 -05:00
Jason Dillaman
f62a661c08
Merge pull request #19337 from trociny/wip-22306
...
pybind/rbd: fix metadata functions error handling
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-06 15:19:27 -05:00
Vasu Kulkarni
9f1a1e0543
qa/tests: Add debug info when creating ceph volumes
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-12-06 12:14:27 -08:00
Jason Dillaman
0ec9185466
Merge pull request #18967 from shun-s/wip-rbd-cp-optimize
...
librbd: speed up sparse copy when object map is available
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-06 14:50:53 -05:00
Jason Dillaman
2084398ad9
Merge pull request #19251 from MahatiC/eventtrace_librbd
...
librbd: add eventtrace support
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-06 14:50:01 -05:00
Jason Dillaman
3c003554be
Merge pull request #19280 from Songweibin/wip-parent-info
...
rbd: add parent info when moving child into trash bin
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-06 14:48:54 -05:00
Jason Dillaman
0c2cbd0753
Merge pull request #19315 from trociny/wip-fsx-ggate
...
test/librbd: rbd-ggate mode for fsx
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-06 14:48:35 -05:00
Patrick Donnelly
9867d81f53
Merge PR #18791 into master
...
* refs/pull/18791/head:
mds: bump protocol for snapshot changes
mds: force client to do snapflush
mds: check existance of snaps when rebuilding need_snapflush
mds: properly setup need_snapflush for flushsnap messages
mds: properly update CInode::first and CDentry first
mds: don't create snap inode during trans-authority rename
mds: trim non-auth snap dentry during cache rejoin
mds: detach unlinked inode's snaprealm from its parent
mds: fix CInode::find_snaprealm()
mds: fix snap dentry discover
mds: introduce MDSMap::get_mds_set_lower_bound()
mds: properly distinguish snaptable TABLE_OP_CREATE from TABLE_OP_UPDATE
mds: properly set reply buffer for table request 'agree' message
mds: make change to mds table after corresponding event get logged
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-06 11:45:31 -08:00
Andrew Schoen
ef1b266781
Merge pull request #19351 from ceph/wip-rm22281
...
ceph-volume rollback on failed OSD prepare/create
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-12-06 11:15:02 -06:00
Kefu Chai
ef7359d4e2
Merge pull request #19344 from tchaikov/wip-we-need-cxx11-and-more
...
cmake: bail out if GCC version is less than 5.1
Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-06 22:11:17 +08:00
Mykola Golub
54dc5dd5f0
Merge pull request #19343 from dillaman/wip-22321
...
ceph-dencoder: moved RBD types outside of RGW preprocessor guard
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-06 12:17:43 +02:00