Commit Graph

139 Commits

Author SHA1 Message Date
Greg Farnum
9771b1d5d6 MDS: lock out snapshots until after a flag has been set in the MDSMap
This way users can't put snapshots on their clusters unless they explicitly
ask for them and have seen a warning message. We take a bit of the MDSMap
flags in order to do so. The only thing a little weird here is that anybody
who upgrades to this patch who already has snapshots will hit the EPERM
and have to go through the warning, but it doesn't impact existing snapshots
at all so they should be good.

To go along with this, we add "ever_allowed_snaps" and "explicitly_allowed_snaps"
members to the MDSMap, which are default to false and are set to true
when allow_new_snaps is set. Old maps decoded with new code default to true
and false, respectively, so we can tell.

Fixes: #6332

Signed-off-by: Greg Farnum <greg@inktank.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
2013-09-26 18:26:36 +02:00
Sage Weil
9f44de5cbe doc/release-notes: v0.68
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-04 11:25:56 -07:00
Sage Weil
985a1405db librados: add get_version64()
The C++ AioCompletion::get_version() method only returns 32-bits.  Sigh.

Add a get_version64() method that returns all 64-bits. Do not touch the
32-bit version to avoid breaking the ABI.

Backport: dumpling, cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-28 17:05:00 -07:00
Greg Farnum
4e86be9232 librados: synchronous commands should return on commit instead of ack
This is unlikely to be noticed by anybody, but it is a big change. Document
in the PendingReleaseNotes and bump up the librados minor version number
to 68.

Signed-off-by: Greg Farnum <greg@inktank.com>
2013-08-19 10:29:49 -07:00
Sage Weil
f61698d564 cls_rbd: remove old assign_bid method
This method is problematic because it both writes/mutates and returns data,
which means that an untimely client disconnect or peering event will result
in a success to the client with no payload.

It has not been used since v0.52 (18054ba46f)
which is pre-bobtail; so this change breaks compatibility with pre-bobtail
librbd clients (at least for image creation).

Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-15 17:21:29 -07:00
Joao Eduardo Luis
12b012aff5 PendingReleaseNotes: reflect 'osd crush set' behavior change
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-08-15 15:52:59 -07:00
Sage Weil
bec6f09cc5 doc/release-notes: v0.67 release notes
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-09 16:14:52 -07:00
Sage Weil
eade36df24 PendingReleaseNotes: note 'ceph daemon ...' argument behavior change
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-09 09:07:04 -07:00
Sage Weil
ee18322e5b Merge remote-tracking branch 'gh/next' 2013-07-28 16:17:55 -07:00
Sage Weil
6faf8b680d PendingReleaseNotes: note on 'ceph tell <pgid> ...'
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-26 16:21:09 -07:00
Sage Weil
df9b87776d Merge remote-tracking branch 'gh/next'
Conflicts:
	PendingReleaseNotes
2013-07-25 11:34:59 -07:00
Samuel Just
f653aa570e config_opts.h: increase xfs,btrfs wbthrottle defaults
Also increase fd limit defaults to accomodate the larger number
of fds.

Fixes: #5692
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Reviewed-by: Mark Nelson <mark.nelson@inktank.com>
2013-07-25 11:10:45 -07:00
Sage Weil
f46e8b9966 doc/release-notes: v0.67-rc1
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-23 08:44:37 -07:00
Sage Weil
2c5b68c383 Merge remote-tracking branch 'gh/next'
Conflicts:
	PendingReleaseNotes
2013-07-22 18:46:23 -07:00
Yehuda Sadeh
165b0d0a9c PendingReleaseNotes: update about new rgw copy obj response
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-07-22 14:44:39 -07:00
Sage Weil
4bf4d92a8b doc: radosgw needs 'mon = allow rw' to create its own pools
Fixes: #5674
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
2013-07-19 10:04:40 -07:00
Dan Mick
3706dbbf9f PendingReleaseNotes: formatted ceph CLI output and ceph-rest-api
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-16 13:09:21 -07:00
Sage Weil
daf7672309 ceph: drop --threshold hack for 'pg dump_stuck'
We can live with the incompatibility here; the hack is currently
not working anyway (see #5623).

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
2013-07-15 14:05:21 -07:00
Sage Weil
60a19e7412 PendingReleaseNotes: ceph -s --format=json output change
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-12 15:50:42 -07:00
Sage Weil
5680fa1e85 doc/release-notes: v0.65
Signed-off-by: Sage Weil <sage@inktank.com>
2013-06-25 14:14:39 -07:00
David Zafman
f1b6bd7988 osd: EINVAL from truncate causes osd to crash
Maximum object size is 100GB configurable with osd_max_object_size
Error EFBIG if attempt to WRITE/WRITEFULL/TRUNCATE beyond osd_max_object_size
Error EINVAL if length < 1 for WRITE/WRITEFULL/ZERO
Make ZERO beyond existing size a no-op

Fixes: #5252
Fixes: #5340

Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-06-14 09:40:28 -07:00
Sage Weil
a3fe2dc435 PendingReleaseNotes: notes on CLI changes
Signed-off-by: Sage Weil <sage@inktank.com>
2013-06-13 10:46:45 -07:00
Sage Weil
314d9c3fa3 PendingReleaseNotes: cli changes, and ceph tell ...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-06-13 10:21:59 -07:00
Sage Weil
cb57c41c24 doc/release-notes: add missed notes for 0.63 and 0.64
Signed-off-by: Sage Weil <sage@inktank.com>
2013-06-13 10:19:39 -07:00
Sage Weil
a6df7644b6 PendingReleaseNotes: notes about enabling HASHPSPOOL
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-27 21:17:06 -07:00
David Zafman
88af2b0f7b Replace mis-named mon config variables using mon_osd_min_down_reports/mon_osd_min_down_reporters
Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-05-13 13:24:58 -07:00
Sage Weil
407ce132ba PendingReleaseNotes: these are now in the release-notes.rst
Signed-off-by: Sage Weil <sage@inktank.com>
2013-04-25 11:17:41 -07:00
Josh Durgin
cce1c91ae8 PendingReleaseNotes: note about rbd resize --allow-shrink
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-24 10:16:03 -07:00
Josh Durgin
b2b1034c53 PendingReleaseNotes: note about rbd progress output
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-01 08:56:07 -07:00
Yehuda Sadeh
78fd0965dd PendingReleaseNotes: mention renamin of cluster to zone
radosgw-admin now uses the term 'zone'

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-03-23 21:10:31 -07:00
Sage Weil
17d4a7c457 doc/release-notes: v0.59
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-20 22:11:15 -07:00
Josh Durgin
2900bf4a05 PendingReleaseNotes: fix typo
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-03-19 11:42:32 -07:00
Joao Eduardo Luis
b5c9e59f56 PendingReleaseNotes: mention ceph-mon requiring the creation of data dir
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-02-26 23:47:51 +00:00
Sage Weil
67c77577bd PendingReleaseNotes: pool removal cli changes
Signed-off-by: Sage Weil <sage@inktank.com>
2013-01-23 18:50:57 -08:00
Sage Weil
299548024a osd: change scrub min/max thresholds
The previous 'osd scrub min interval' was mostly meaningless and useless.
Meanwhile, the 'osd scrub max interval' would only trigger a scrub if the
load was sufficiently low; if it was high, the PG might *never* scrub.

Instead, make the 'min' what the max used to be.  If it has been more than
this many seconds, and the load is low, scrub.  And add an additional
condition that if it has been more than the max threshold, scrub the PG
no matter what--regardless of the load.

Note that this does not change the default scrub interval for less-loaded
clusters, but it *does* change the meaning of existing config options.

Fixes: #3786
Signed-off-by: Sage Weil <sage@inktank.com>
2013-01-14 18:24:40 -08:00
Sage Weil
6f978aa50d doc: draft bobtail release notes
Signed-off-by: Sage Weil <sage@inktank.com>
2012-12-14 16:56:24 -08:00
Josh Durgin
ca1a4db457 release: add note about 'ceph osd create' syntax
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-12-06 12:25:39 -08:00
Sage Weil
74f7607afa doc: release-notes for v0.54
Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-13 16:29:54 -08:00
Josh Durgin
fcc987b880 release: note possible osd caps incompatibilities
We can use this file to store release notes for the next release.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-02 15:43:38 -07:00