Commit Graph

77830 Commits

Author SHA1 Message Date
Sage Weil
e840d38c8f test/osd/CMakeLists: fix test name
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:06 -04:00
Sage Weil
e467873e36 doc/man/8/ceph: remove old 'ceph pg ' force_create_pg, set_[near]full_ratio
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:06 -04:00
Sage Weil
2cf04b1654 ceph-object-corpus: PGMap encoding change
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:06 -04:00
Sage Weil
71d1dcbb98 mon: do not join quorum unless luminous upgrade has completed
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:06 -04:00
Sage Weil
7649062edb mon/OSDMonitor: encode without MIMIC if require_osd_release < mimic
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:06 -04:00
Sage Weil
2587abc30d mon: remove mon_osd_allow_primary_{temp,affinity}
These are covered by require_osd_release in the OSDMap.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:05 -04:00
Sage Weil
33606aec2a mon/Elector: drop pre-luminous elector compat
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:05 -04:00
Sage Weil
4b3e399903 mon/PGMap: remove old PGMapUpdater methods
These were used by PGMonitor.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:05 -04:00
Sage Weil
3ac23d88b4 osd/OSDMap: remove unused static
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:05 -04:00
Sage Weil
fced000707 mon/PGMap: remove legacy encode/decode methods
These were used by PGMonitor when stored in per-pg and per-osd k/v
pairs.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:05 -04:00
Sage Weil
ef5cd825df mon/PGMap: streamline encoding
The only user left is 'pg getmap' and ceph-dencoder; we can drop
the compat cruft.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:05 -04:00
Sage Weil
ebe59dbd7e mon/PGMap: remove unused functions
These are left over from health cleanup

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:05 -04:00
Sage Weil
8723ecfb3c mon/PGMap: remove Incremental encode/decode
Unused!

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:04 -04:00
Sage Weil
83b9ef73c0 mon/PGMap: remove osd_epochs
This was used for the min_last_epoch_clean tracking; we don't need
it now.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:04 -04:00
Sage Weil
19beabf836 mon/PGMap: remove min_last_epoch_clean
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:04 -04:00
Sage Weil
e716267324 osd/OSDMap: remove get_full_osd_util
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:04 -04:00
Sage Weil
0d67ad48b3 mon/PGMap: remove full osd tracking
Also drop compat PGMap encoding since we are >= luminous and this is
local to the mgr anyway.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:04 -04:00
Sage Weil
63b71f677d mon: remove PGStatService
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:04 -04:00
Sage Weil
37e4ac02e8 mon: drop pgservice member
Just use mgrstatmon() directly.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:04 -04:00
Sage Weil
0027eb2578 mon: make MgrStatMonitor implement PGStatService directly
Avoid the intermediate glue class, simplify.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:04 -04:00
Sage Weil
35195a3d19 mon/PGStatService: prune interface
Remove now unused methods

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:03 -04:00
Sage Weil
81741d6b34 mon/OSDMonitor: drop pre-luminous PGStatService users
These are no longer relevant now that we are >= luminous.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:03 -04:00
Sage Weil
1dcab1c770 mon: drop PGMapStatService
There is only one user and one implementation; this just makes the
code hard to read.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:03 -04:00
Sage Weil
c4728db340 mon/OSDMonitor: drop legacy 'osd df'
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:03 -04:00
Sage Weil
d9cd2d7df6 mon: add MIMIC mon feature
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:03 -04:00
Sage Weil
c16566cc9a mon: drop hide_mgr_flag behavior
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:03 -04:00
Sage Weil
cea8ca9c5f mon: collapse MonPGStatService into PGStatService
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:02 -04:00
Sage Weil
81bee4c6f6 mon: remove some upgrade-specific bits of PGStatService
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:02 -04:00
Sage Weil
f85e09783f mon: remove PGMonitor
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:02 -04:00
Sage Weil
7b4a741fbd mon: remove OldHealthMonitor
The only service this provided was mon space notifications, which
are now handled explicitly by the new HealthMonitor's
check_member_health(), and communited by the new MMonHealthChecks.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:02 -04:00
Sage Weil
729a08923f mon: remove legacy get_health infrastructure
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:02 -04:00
Sage Weil
59325c45ff mon: CEPH_MON_FEATURE_INCOMPAT_MIMIC
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:02 -04:00
Sage Weil
ac8548ca97 mon: require SERVER_LUMINOUS from mons, osds
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:01 -04:00
Orit Wasserman
f71af81251 Merge pull request #16145 from yehudasa/wip-20234
rgw: add tail tag to track tail instance
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-09-06 10:23:30 +03:00
Mykola Golub
86c6f429fc Merge pull request #17502 from dillaman/wip-21248
librbd: rename of non-existent image results in seg fault

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2017-09-06 10:14:04 +03:00
Mykola Golub
b1e9cabe82 Merge pull request #17375 from liupan1111/wip-final-fix-nbd
rbd-nbd: fix generic option issue

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-09-06 09:27:38 +03:00
Jos Collin
01f29ef615 Merge pull request #17507 from batrick/githubmap-update
githubmap: add some known Ceph reviewers

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-09-06 04:18:39 +00:00
Patrick Donnelly
73e927293c
Merge PR #17319 into master
* refs/remotes/upstream/pull/17319/head:
	qa: whitelist expected rstat warning
	qa: sync whitelist with fs/basic_functional
	qa: whitelist expected MDS_CACHE_OVERSIZED

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-09-05 20:49:54 -07:00
Patrick Donnelly
a962708d56
Merge PR #17301 into master
* refs/remotes/upstream/pull/17301/head:
	mds: fix "1 filesystem is have a..." message

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-05 20:49:19 -07:00
Patrick Donnelly
eaa8c5d6d8
Merge PR #17263 into master
* refs/remotes/upstream/pull/17263/head:
	mds: remove unused method
	mds: move EMetaBlob cons to header

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-09-05 20:45:35 -07:00
Patrick Donnelly
96db892db2
Merge PR #17178 into master
* refs/remotes/upstream/pull/17178/head:
	ceph-dencoder: simplify decoding/encoding cephfs inode

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-05 20:44:39 -07:00
Patrick Donnelly
2302b6c521
Merge PR #17095 into master
* refs/remotes/upstream/pull/17095/head:
	client: reset unmounting flag to false when starting a new mount
	client: add mountedness check inside client_lock
	client: rework Client::get_local_osd() return codes
	client: remove misleading comment in get_cap_ref

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
2017-09-05 20:44:04 -07:00
Patrick Donnelly
f37f2ea10c
Merge PR #16562 into master
* refs/remotes/upstream/pull/16562/head:
	cephfs/fuse: set big_writes default is false

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-05 20:43:28 -07:00
Patrick Donnelly
28ca766cd2
Merge PR #16305 into master
* refs/remotes/upstream/pull/16305/head:
	qa/cephfs: test CephFS recovery pools
	qa/cephfs: support CephFS recovery pools
	qa/ceph_test_case: support CephFS recovery pools
	qa/cephfs: Allow deferred fs creation
	qa/cephfs: Refactor alternate pool test

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-05 20:42:30 -07:00
Patrick Donnelly
4cb459a19d
githubmap: add some known GitHub reviewers
Selection from [1] where the GitHub username is available.

[1] http://pad.ceph.com/p/reviewers

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-05 20:29:11 -07:00
Kefu Chai
0717fc3488 Merge pull request #17447 from tchaikov/wip-freebsd-coredump
test/coredumpctl: support freebsd

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-09-06 11:16:08 +08:00
Patrick Donnelly
f0f93c6645
Merge PR #17373 into master
* refs/remotes/upstream/pull/17373/head:
	doc/cephfs: add info on using EC pools with CephFS

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-05 12:48:41 -07:00
Jason Dillaman
4a75ee43d3 librbd: rename of non-existent image results in seg fault
Fixes: http://tracker.ceph.com/issues/21248
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-09-05 12:11:45 -04:00
Casey Bodley
683212ae1f Merge pull request #17141 from theanalyst/doc-civetweb-ports
doc: rgw: mention the civetweb support for binding to multiple ports

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-09-05 11:39:12 -04:00
Jason Dillaman
149778edde Merge pull request #17436 from ashishkumsingh/wip-doc-fix-snapshot-flatten-example
doc: Fixes rbd snapshot flatten example

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-09-05 10:13:50 -04:00