Commit Graph

172 Commits

Author SHA1 Message Date
John Spray
1eb9438bc9 Merge pull request #14636 from jcsp/wip-19691
osdc: remove journaler_allow_split_entries option

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-04-24 22:12:35 +01:00
Sage Weil
630e778951 rados: out json 'df' values as numbers, not strings
Fixes: http://tracker.ceph.com/issues/15546
Signed-off-by: Sage Weil <sage@redhat.com
2017-04-20 16:54:33 -04:00
Josh Durgin
25e8e1a08e PendingReleaseNotes: note about ec overwrites
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-04-19 17:45:43 -07:00
Josh Durgin
930eae214c OSDMonitor: get stripe_width via stripe_unit in ec profile
With bluestore, making the smallest write match min_alloc_size avoids
write amplification. With EC pools this is the stripe unit, or
stripe_width / num_data_chunks. Rather than requiring people to divide
by k to get the smallest ec write, allow it to be specified directly
via stripe_unit. Store it in the ec profile so changing a monitor
config option isn't necessary to set it.

This is particularly important for ec overwrites since they allow random i/o
which should match bluestore's checksum granularity (aka min_alloc_size).

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-04-19 17:45:43 -07:00
John Spray
b4c32b1b58 osdc: remove journaler_allow_split_entries option
This had been broken for some time, as since the new
JournalStream stuff, zero padding was no longer a valid
encoding.

Fixes: http://tracker.ceph.com/issues/19691
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-19 11:41:28 +01:00
John Spray
e05493fe54 PendingReleaseNotes: recent cephfs changes
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-13 12:27:07 -04:00
John Spray
c743ea7d00 mds: enable dirfrags by default in new filesystems
Signed-off-by: john Spray <john.spray@redhat.com>
2017-03-28 23:26:51 +01:00
John Spray
4b0654f26a Merge pull request #13628 from jcsp/wip-19075
mds: extend 'p' auth cap to cover all vxattr stuff

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-03-15 21:29:48 +00:00
Casey Bodley
5877780a47 Merge pull request #13760 from zhangsw/fix-rgw-torrent-uri
rgw: get torrent request's parameter is not the same as amazon s3.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-03-09 09:53:27 -05:00
Zhang Shaowen
a0aa859e62 rgw: get torrent request's parameter is not the same as amazon s3.
Fixes: http://tracker.ceph.com/issues/19136

Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
2017-03-09 11:37:02 +08:00
John Spray
f788686d5c mds: extend 'p' auth cap to cover all vxattr stuff
Fixes: http://tracker.ceph.com/issues/19075
Signed-off-by: John Spray <john.spray@redhat.com>
2017-03-08 14:02:57 +00:00
Sage Weil
3f5269d8b5 Merge pull request #13323 from yehudasa/wip-18079-2
librados: use cursor for nobjects listing

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-07 08:41:08 -06:00
Sage Weil
9076e695fb osd: remove copy-get-classic
This hasn't been used since well before hammer.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-23 11:15:43 -05:00
Sage Weil
ccc05005a1 PendingReleaseNotes: notes about object listing API removal
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-15 15:28:54 -08:00
Sage Weil
c1ff854f92 PendingReleaseNotes: notes about object listing API removal
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-08 21:51:22 -05:00
John Spray
1d9668cd0e PendingReleaseNotes: note the fuse fstab format change
Signed-off-by: John Spray <john.spray@redhat.com>
2017-02-04 20:19:44 +00:00
Sage Weil
923e7f5ce5 osd: do not send ENXIO on misdirected op by default
In practice this tends to get bubbled up the stack as an error on
the caller, and they usually do not handle it properly.  For example,
with librbd, this turns into EIO and break the VM.

Instead, this will manifest as a hung op on the client.  That is
also not ideal, but given that the root cause here is generally a
bug, it's not clear what else would be better.

We already log an error in the cluster log, so teuthology runs will
continue to fail.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-31 15:14:59 -05:00
Sage Weil
d0740a3514 Merge branch 'master' into wip-wjw-empty-cluster_network 2017-01-23 21:16:09 -06:00
Sage Weil
1f150f8a52 PendingReleaseNotes: mention old clients vs new OSDs
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-20 17:52:18 -05:00
Sage Weil
fbebd83537 librados: add omap_get_{keys,vals}2 with pmore output arg
Expose public methods that include a new output argument to indicate
whether there are more keys to fetch or not.

Mark the old interfaces deprecated.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-20 17:52:17 -05:00
Willem Jan Withagen
2c4010b331 PendingReleaseNotes: Specify the change in behaviour of assigning to public_netw
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-01-20 21:53:27 +01:00
Sage Weil
4864f302eb doc/release-notes: final kraken notes
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-17 16:09:44 -05:00
Bartłomiej Święcki
6a76adcdb1 osd: Increase priority for inactive PGs backfill
This change does prioritize backfill of PGs which don't
have min_size active copies. Such PGs would cause IO stalls
for clients and would increase throttlers usage.

This change also fixes few subtlle out-of-bounds bugs.

Signed-off-by: Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
2016-12-09 13:30:11 +01:00
Sage Weil
4607cb5f9f doc/release-notes: kraken release notes (draft)
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-06 14:34:30 -05:00
Wido den Hollander
95ed04a536
doc: Add documentation about mon_allow_pool_delete before pool remove
Tell users they need to set this to true before Monitors will allow
pools to be removed.

Also update the Pending Release Notes so that users can find this change
there.

This was changed with commit 5d7f4ea

Signed-off-by: Wido den Hollander <wido@42on.com>
2016-11-23 12:18:21 +01:00
Yuri Weinstein
0b6169612b Merge pull request #12059 from liewegas/wip-osd-omap-limits
osd: set server-side limits on omap get operations

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-11-22 16:34:54 -08:00
Pan Liu
3ea4760da8 OSD: change the prefix from fs_* to os_*, because commit_latency and
apply_latency will be used not only for filestore.

Signed-off-by: Pan Liu <pan.liu@istuary.com>
2016-11-18 16:25:31 +08:00
Sage Weil
99536f351c PendingReleaseNotes: note on new omap limits
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-17 22:28:21 -06:00
Sage Weil
73a2c11e94 mon/OSDMonitor: remember old weight on 'osd out'
If we have an OSD with a weight that's not 1.0 and mark it out,
we should restore the same weight when we mark it back in. We
already do this when an OSD is automatically marked out, just
not when it is explicitly marked out.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-07 11:28:43 -05:00
Sage Weil
42a6b0efe1 mon: assume old mons that didn't specific kv type are leveldb
This assumes that if the mon does not explicitly specify
the kv type that it is leveldb.  No prior version of
Ceph has had non-experimental rocksdb, so this is
relatively safe.  It's also necessary because the
default is now 'rocksdb' and we shouldn't assume those
old mons are rocksdb.

This will break for users to explicitly specified
rocksdb for the mon despite it being experimental.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-06 14:02:07 -04:00
weiqiaomiao
a8d33c081b rgw: need to 'open_object_section' before dump stats in 'RGWGetUsage_ObjStore_S3::send_response()' function
Fixes: http://tracker.ceph.com/issues/17499

Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
2016-10-04 17:06:36 -07:00
Bassam Tabbara
421af3e21e doc: Updated PendingReleaseNotes.
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
2016-09-29 10:34:34 -07:00
Noah Watkins
d11a6be155 release: release notes update for objclass-perms
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2016-07-15 12:41:18 -07:00
Matt Benjamin
54b6c99f8f Merge pull request #7741 from rjfd/wip-14527
Lookup monitors through DNS, feature #7741 

verified in teuthology (we had 8 failures that appear unrelated to this change)
2016-06-14 15:38:03 -04:00
Kefu Chai
70bbf1aded configure.ac,debian,rpm: do not package .a files in rpm/deb packages
this change removes *.a from -dev or -devel packages.

* configure.ac:
  - use LT_INIT instead of AM_PROG_LIBTOOL. the later is deprecated.
  - disable static lib:
    .a static libraries not not useful, it's tricky to generate both
    static libraries and shared libraries in cmake.
    see http://www.spinics.net/lists/ceph-devel/msg30637.html
* ceph.spec.in: fedora packaging policy forbids this
  see
  https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries
* debian/*-dev.install: debian does not requires this
  see
  https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-static

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-06-07 14:08:59 +08:00
Ricardo Dias
824e68b1d1
update of PendingReleaseNotes
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-05-30 09:06:11 +01:00
Sage Weil
f9db479a14 ceph-crush-location: osd_crush_location -> crush_location
This was indirectly broken for OSDs as of 573c349245.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-11 09:27:41 -04:00
Sage Weil
cf4ec5a8aa osd: change osd_crush_initial_weight = 0 to mean weight to 0
Negative now means auto-weight, 0 means weight to 0.  Change the
default accordingly.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-09 08:55:00 -04:00
Sage Weil
efc3510f12 mon/MonitorDBStore: remember kv backend type
If it is specified, use it; otherwise, go by the config
option.

Record the type when creating the store.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-06 13:44:17 +02:00
Sage Weil
3e61f96bc4 doc/release-notes: v10.1.0 draft jewel notes
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-18 14:22:04 -04:00
Sage Weil
5a429e005b doc/release-notes: 9.2.1 notes
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-18 12:44:19 -04:00
Gregory Farnum
9ae8486875 Merge pull request #7003 from jcsp/wip-cephfs-tmap-migrate
tools/cephfs: add tmap_upgrade

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-03-09 22:22:42 -08:00
Josh Durgin
a7470c80ec Merge pull request #7846 from dillaman/wip-14551
rbd: update default image features

Conflicts:
	PendingReleaseNotes (trivial)
2016-03-01 17:18:04 -08:00
Jason Dillaman
d24883e497 rbd: update default image features
Exclusive lock, object map, fast-diff, and deep-flatten have been
enabled by default for all new images.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-01 07:55:04 -05:00
John Spray
e5641115e9 doc: add notes about upgrading cephfs
This is part of the run-up to removing all
TMAP code in the Jewel+1 cycle.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-01 10:58:43 +00:00
Jason Dillaman
622748ae15 rbd: deprecate image format 1
The rbd cli will warn about the deprecation when attempting to create
image format 1 images.  librbd will log an error message when opening
a format 1 RBD image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-02-29 13:22:32 -05:00
Kefu Chai
694f92f342 PendingReleaseNotes: document the dropped buffer symbols
the symbols of buffer::list::iterator_impl<> were wrongly exposed
in previous infernalis release, and the clients linked against
librados are very likely using them. so we need to document this
change.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-20 01:15:01 +08:00
Sangdi Xu
0a4d1a411d mon: add an independent option for max election time
add a new configure option mon_election_timeout, which is not dependent on mon_lease

Signed-off-by: Sangdi Xu <xu.sangdi@h3c.com>
2016-01-15 19:12:46 +08:00
Sage Weil
6cbdd6750c mon/PGMonitor: remove map_pg_creates, send_pg_creates commands
These shouldn't be triggered manually.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-23 08:38:50 -05:00
Jason Dillaman
08b4c294b7 PendingReleaseNotes: document updated rbd CLI options
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-10 07:59:03 -05:00