v0.94.10 Hammer

This Hammer point release fixes several bugs and adds two new features.

We recommend that all hammer v0.94.x users upgrade.

For more detailed information, see the complete changelog.

New Features

ceph-objectstore-tool and ceph-monstore-tool now enable user to rebuild the monitor database from OSDs. (This feature is especially useful when all monitors fail to boot due to leveldb corruption.)

In RADOS Gateway, it is now possible to reshard an existing bucket’s index using an off-line tool.

Usage:

$ radosgw-admin bucket reshard –bucket=<bucket_name> –num_shards=<num_shards>

This will create a new linked bucket instance that points to the newly created index objects. The old bucket instance still exists and currently it’s up to the user to manually remove the old bucket index objects. (Note that bucket resharding currently requires that all IO (especially writes) to the specific bucket is quiesced.)

Other Notable Changes

v0.94.9 Hammer

This Hammer point release fixes a build issue present in 0.94.8 that prevented us from generating packages for Ubuntu Precise and CentOS 6.x.

We recommend all users of v0.94.7 or older upgrade.

For more detailed information, see the complete changelog.

Notable Changes

  • build/ops: revert: boost uuid makes valgrind complain (pr#10913, Sage Weil)

v0.94.8 Hammer

This Hammer point release fixes several bugs.

We recommend that all hammer v0.94.x users upgrade.

For more detailed information, see the complete changelog.

Notable Changes

  • build/ops: rocksdb do not link against tcmalloc if it’s disabled (issue#14799, pr#10750, Sage Weil, Kefu Chai)
  • build/ops: Add -D_LARGEFILE64_SOURCE to Linux build. (issue#16611, pr#10182, Ira Cooper)
  • build/ops: boost uuid makes valgrind complain (issue#12736, pr#9741, Sage Weil, Rohan Mars)
  • build/ops: ceph-disk s/by-parttype-uuid/by-parttypeuuid/ (issue#15867, pr#9107, Nathan Cutler)
  • common: add units to rados bench output and clean up formatting (issue#12248, pr#8960, Dmitry Yatsushkevich, Brad Hubbard, Gu Zhongyan)
  • common: config set with negative value results in “error setting ‘filestore_merge_threshold’ to ‘-40’: (22) Invalid argument” (issue#13829, pr#10291, Brad Hubbard, Kefu Chai)
  • common: linking to -lrbd causes process startup times to balloon (issue#15225, pr#8538, Richard W.M. Jones)
  • doc: fix by-parttypeuuid in ceph-disk(8) nroff (issue#15867, pr#10699, Ken Dreyer)
  • fs: double decreased the count to trim caps which will cause failing to respond to cache pressure (issue#14319, pr#8804, Zhi Zhang)
  • log: do not repeat errors to stderr (issue#14616, pr#10227, Sage Weil)
  • mds: failing file operations on kernel based cephfs mount point leaves unaccessible file behind on hammer 0.94.7 (issue#16013, pr#10198, Yan, Zheng)
  • mds: fix stray purging in ‘stripe_count > 1’ case (issue#15050, pr#8042, Yan, Zheng)
  • mds: wrongly treat symlink inode as normal file/dir when symlink inode is stale on kcephfs (issue#15702, pr#9404, Zhi Zhang)
  • mon: LibRadosMiscConnectFailure.ConnectFailure (not so intermittent) failure in upgrade/hammer-x (issue#13992, pr#8806, Sage Weil)
  • mon: Monitor: validate prefix on handle_command() (issue#16297, pr#10038, You Ji)
  • mon: drop pg temps from not the current primary in OSDMonitor (issue#16127, pr#9893, Samuel Just)
  • mon: fix calculation of %USED (issue#15641, pr#9125, Ruifeng Yang, David Zafman)
  • mon: improve reweight_by_utilization() logic (issue#15686, pr#9416, xie xingguo)
  • mon: pool quota alarm is not in effect (issue#15478, pr#8593, Danny Al-Gaaf)
  • mon: wrong ceph get mdsmap assertion (issue#14681, pr#7542, Vicente Cheng)
  • msgr: ceph-osd valgrind invalid reads/writes (issue#15870, pr#9238, Samuel Just)
  • objecter: LibRadosWatchNotifyPPTests/LibRadosWatchNotifyPP.WatchNotify2Timeout/1 segv (issue#15760, pr#9400, Sage Weil)
  • osd: OSD reporting ENOTEMPTY and crashing (issue#14766, pr#9277, Samuel Just)
  • osd: When generating past intervals due to an import end at pg epoch and fix build_past_intervals_parallel (issue#12387, issue#14438, pr#8464, David Zafman)
  • osd: acting_primary not updated on split (issue#15523, pr#9001, Sage Weil)
  • osd: assert(!actingbackfill.empty()): old watch timeout tries to queue repop on replica (issue#15391, pr#8665, Sage Weil)
  • osd: assert(rollback_info_trimmed_to == head) in PGLog (issue#13965, pr#8849, Samuel Just)
  • osd: delete one of the repeated op->mark_started in ReplicatedBackend::sub_op_modify_impl (issue#16572, pr#9977, shun-s)
  • osd: fix omap digest compare when scrub (issue#16000, pr#9271, Xinze Chi)
  • osd: is_split crash in handle_pg_create (issue#15426, pr#8805, Kefu Chai)
  • osd: objects unfound after repair (fixed by repeering the pg) (issue#15006, pr#7961, Jianpeng Ma, Loic Dachary, Kefu Chai)
  • osd: rados cppool omap to ec pool crashes osd (issue#14695, pr#8845, Jianpeng Ma)
  • osd: remove all stale osdmaps in handle_osd_map() (issue#13990, pr#9090, Kefu Chai)
  • osd: send write and read sub ops on behalf of client ops at normal priority in ECBackend (issue#14313, pr#8573, Samuel Just)
  • rbd: snap rollback: restore the link to parent (issue#14512, pr#8535, Alexey Sheplyakov)
  • rgw: S3: set EncodingType in ListBucketResult (issue#15896, pr#8987, Victor Makarov, Robin H. Johnson)
  • rgw: backport rgwx-copy-if-newer for radosgw-agent (issue#16262, pr#9671, Yehuda Sadeh)
  • rgw: bucket listing following object delete is partial (issue#14826, pr#10555, Orit Wasserman)
  • rgw: convert plain object to versioned (with null version) when removing (issue#15243, pr#8755, Yehuda Sadeh)
  • rgw: fix multi-delete query param parsing. (issue#16618, pr#10189, Robin H. Johnson)
  • rgw: have a flavor of bucket deletion to bypass GC and to trigger (issue#15557, pr#10509, Pavan Rallabhandi)
  • rgw: keep track of written_objs correctly (issue#15886, pr#9240, Yehuda Sadeh)
  • rgw: multipart ListPartsResult has missing quotes on ETag (issue#15334, pr#8475, xie xingguo, Robin H. Johnson)
  • rgw: no Last-Modified, Content-Size and X-Object-Manifest headers if no segments in DLO manifest (issue#15812, pr#9402, Radoslaw Zarzynski)
  • rgw: radosgw server abort when user passed bad parameters to set quota (issue#14190, issue#14191, pr#8313, Dunrong Huang)
  • rgw: radosgw-admin region-map set is not reporting the bucket quota correctly (issue#16815, pr#10554, Yehuda Sadeh, Orit Wasserman)
  • rgw: refrain from sending Content-Type/Content-Length for 304 responses (issue#16327, issue#13582, issue#15119, issue#14005, pr#8379, Yehuda Sadeh, Nathan Cutler, Wido den Hollander)
  • rgw: remove bucket index objects when deleting the bucket (issue#16412, pr#10530, Orit Wasserman)
  • rgw: set Access-Control-Allow-Origin to an asterisk if allowed in a rule (issue#15348, pr#8528, Wido den Hollander)
  • rgw: subset of uploaded objects via radosgw are unretrievable when using EC pool (issue#15745, pr#9407, Yehuda Sadeh)
  • rgw: subuser rm fails with status 125 (issue#14375, pr#9961, Orit Wasserman)
  • rgw: the swift key remains after removing a subuser (issue#12890, issue#14375, pr#10718, Orit Wasserman, Sangdi Xu)
  • rgw: user quota may not adjust on bucket removal (issue#14507, pr#8113, Edward Yang)
  • tests: be more generous with test timeout (issue#15403, pr#8470, Loic Dachary)
  • tests: qa/workunits/rbd: respect RBD_CREATE_ARGS environment variable (issue#16289, pr#9722, Mykola Golub)

v0.94.7 Hammer

This Hammer point release fixes several minor bugs. It also includes a backport of an improved ‘ceph osd reweight-by-utilization’ command for handling OSDs with higher-than-average utilizations.

We recommend that all hammer v0.94.x users upgrade.

For more detailed information, see the complete changelog.

Notable Changes

v0.94.6 Hammer

This Hammer point release fixes a range of bugs, most notably a fix for unbounded growth of the monitor’s leveldb store, and a workaround in the OSD to keep most xattrs small enough to be stored inline in XFS inodes.

We recommend that all hammer v0.94.x users upgrade.

For more detailed information, see the complete changelog.

Notable Changes

  • build/ops: Ceph daemon failed to start, because the service name was already used. (issue#13474, pr#6832, Chuanhong Wang)
  • build/ops: LTTng-UST tracing should be dynamically enabled (issue#13274, pr#6415, Jason Dillaman)
  • build/ops: ceph upstart script rbdmap.conf incorrectly processes parameters (issue#13214, pr#6159, Sage Weil)
  • build/ops: ceph.spec.in License line does not reflect COPYING (issue#12935, pr#6680, Nathan Cutler)
  • build/ops: ceph.spec.in libcephfs_jni1 has no %post and %postun (issue#12927, pr#5789, Owen Synge)
  • build/ops: configure.ac: no use to add “+” before ac_ext=c (issue#14330, pr#6973, Kefu Chai, Robin H. Johnson)
  • build/ops: deb: strip tracepoint libraries from Wheezy/Precise builds (issue#14801, pr#7316, Jason Dillaman)
  • build/ops: init script reload doesn’t work on EL7 (issue#13709, pr#7187, Hervé Rousseau)
  • build/ops: init-rbdmap uses distro-specific functions (issue#12415, pr#6528, Boris Ranto)
  • build/ops: logrotate reload error on Ubuntu 14.04 (issue#11330, pr#5787, Sage Weil)
  • build/ops: miscellaneous spec file fixes (issue#12931, issue#12994, issue#12924, issue#12360, pr#5790, Boris Ranto, Nathan Cutler, Owen Synge, Travis Rhoden, Ken Dreyer)
  • build/ops: pass tcmalloc env through to ceph-os (issue#14802, pr#7365, Sage Weil)
  • build/ops: rbd-replay-* moved from ceph-test-dbg to ceph-common-dbg as well (issue#13785, pr#6580, Loic Dachary)
  • build/ops: unknown argument –quiet in udevadm settle (issue#13560, pr#6530, Jason Dillaman)
  • common: Objecter: pool op callback may hang forever. (issue#13642, pr#6588, xie xingguo)
  • common: Objecter: potential null pointer access when do pool_snap_list. (issue#13639, pr#6839, xie xingguo)
  • common: ThreadPool add/remove work queue methods not thread safe (issue#12662, pr#5889, Jason Dillaman)
  • common: auth/cephx: large amounts of log are produced by osd (issue#13610, pr#6835, Qiankun Zheng)
  • common: client nonce collision due to unshared pid namespaces (issue#13032, pr#6151, Josh Durgin)
  • common: common/Thread:pthread_attr_destroy(thread_attr) when done with it (issue#12570, pr#6157, Piotr Dałek)
  • common: log: Log.cc: Assign LOG_DEBUG priority to syslog calls (issue#13993, pr#6994, Brad Hubbard)
  • common: objecter: cancellation bugs (issue#13071, pr#6155, Jianpeng Ma)
  • common: pure virtual method called (issue#13636, pr#6587, Jason Dillaman)
  • common: small probability sigabrt when setting rados_osd_op_timeout (issue#13208, pr#6143, Ruifeng Yang)
  • common: wrong conditional for boolean function KeyServer::get_auth() (issue#9756, issue#13424, pr#6213, Nathan Cutler)
  • crush: crash if we see CRUSH_ITEM_NONE in early rule step (issue#13477, pr#6430, Sage Weil)
  • doc: man: document listwatchers cmd in “rados” manpage (issue#14556, pr#7434, Kefu Chai)
  • doc: regenerate man pages, add orphans commands to radosgw-admin(8) (issue#14637, pr#7524, Ken Dreyer)
  • fs: CephFS restriction on removing cache tiers is overly strict (issue#11504, pr#6402, John Spray)
  • fs: fsstress.sh fails (issue#12710, pr#7454, Yan, Zheng)
  • librados: LibRadosWatchNotify.WatchNotify2Timeout (issue#13114, pr#6336, Sage Weil)
  • librbd: ImageWatcher shouldn’t block the notification thread (issue#14373, pr#7407, Jason Dillaman)
  • librbd: diff_iterate needs to handle holes in parent images (issue#12885, pr#6097, Jason Dillaman)
  • librbd: fix merge-diff for >2GB diff-files (issue#14030, pr#6980, Jason Dillaman)
  • librbd: invalidate object map on error even w/o holding lock (issue#13372, pr#6289, Jason Dillaman)
  • librbd: reads larger than cache size hang (issue#13164, pr#6354, Lu Shi)
  • mds: ceph mds add_data_pool check for EC pool is wrong (issue#12426, pr#5766, John Spray)
  • mon: MonitorDBStore: get_next_key() only if prefix matches (issue#11786, pr#5361, Joao Eduardo Luis)
  • mon: OSDMonitor: do not assume a session exists in send_incremental() (issue#14236, pr#7150, Joao Eduardo Luis)
  • mon: check for store writeablility before participating in election (issue#13089, pr#6144, Sage Weil)
  • mon: compact full epochs also (issue#14537, pr#7446, Kefu Chai)
  • mon: include min_last_epoch_clean as part of PGMap::print_summary and PGMap::dump (issue#13198, pr#6152, Guang Yang)
  • mon: map_cache can become inaccurate if osd does not receive the osdmaps (issue#10930, pr#5773, Kefu Chai)
  • mon: should not set isvalid = true when cephx_verify_authorizer return false (issue#13525, pr#6391, Ruifeng Yang)
  • osd: Ceph Pools’ MAX AVAIL is 0 if some OSDs’ weight is 0 (issue#13840, pr#6834, Chengyuan Li)
  • osd: FileStore calls syncfs(2) even it is not supported (issue#12512, pr#5530, Kefu Chai)
  • osd: FileStore: potential memory leak if getattrs fails. (issue#13597, pr#6420, xie xingguo)
  • osd: IO error on kvm/rbd with an erasure coded pool tier (issue#12012, pr#5897, Kefu Chai)
  • osd: OSD::build_past_intervals_parallel() shall reset primary and up_primary when begin a new past_interval. (issue#13471, pr#6398, xiexingguo)
  • osd: ReplicatedBackend: populate recovery_info.size for clone (bug symptom is size mismatch on replicated backend on a clone in scrub) (issue#12828, pr#6153, Samuel Just)
  • osd: ReplicatedPG: wrong result code checking logic during sparse_read (issue#14151, pr#7179, xie xingguo)
  • osd: ReplicatedPG::hit_set_trim osd/ReplicatedPG.cc: 11006: FAILED assert(obc) (issue#13192, issue#9732, issue#12968, pr#5825, Kefu Chai, Zhiqiang Wang, Samuel Just, David Zafman)
  • osd: avoid multi set osd_op.outdata in tier pool (issue#12540, pr#6060, Xinze Chi)
  • osd: bug with cache/tiering and snapshot reads (issue#12748, pr#6589, Kefu Chai)
  • osd: ceph osd pool stats broken in hammer (issue#13843, pr#7180, BJ Lougee)
  • osd: ceph-disk prepare fails if device is a symlink (issue#13438, pr#7176, Joe Julian)
  • osd: check for full before changing the cached obc (hammer) (issue#13098, pr#6918, Alexey Sheplyakov)
  • osd: config_opts: increase suicide timeout to 300 to match recovery (issue#14376, pr#7236, Samuel Just)
  • osd: disable filestore_xfs_extsize by default (issue#14397, pr#7411, Ken Dreyer)
  • osd: do not cache unused memory in attrs (issue#12565, pr#6499, Xinze Chi, Ning Yao)
  • osd: dumpling incrementals do not work properly on hammer and newer (issue#13234, pr#6132, Samuel Just)
  • osd: filestore: fix peek_queue for OpSequencer (issue#13209, pr#6145, Xinze Chi)
  • osd: hit set clear repops fired in same epoch as map change – segfault since they fall into the new interval even though the repops are cleared (issue#12809, pr#5890, Samuel Just)
  • osd: object_info_t::decode() has wrong version (issue#13462, pr#6335, David Zafman)
  • osd: osd/OSD.cc: 2469: FAILED assert(pg_stat_queue.empty()) on shutdown (issue#14212, pr#7178, Sage Weil)
  • osd: osd/PG.cc: 288: FAILED assert(info.last_epoch_started >= info.history.last_epoch_started) (issue#14015, pr#7177, David Zafman)
  • osd: osd/PG.cc: 3837: FAILED assert(0 == “Running incompatible OSD”) (issue#11661, pr#7206, David Zafman)
  • osd: osd/ReplicatedPG: Recency fix (issue#14320, pr#7207, Sage Weil, Robert LeBlanc)
  • osd: pg stuck in replay (issue#13116, pr#6401, Sage Weil)
  • osd: race condition detected during send_failures (issue#13821, pr#6755, Sage Weil)
  • osd: randomize scrub times (issue#10973, pr#6199, Kefu Chai)
  • osd: requeue_scrub when kick_object_context_blocked (issue#12515, pr#5891, Xinze Chi)
  • osd: revert: use GMT time for hitsets (issue#13812, pr#6644, Loic Dachary)
  • osd: segfault in agent_work (issue#13199, pr#6146, Samuel Just)
  • osd: should recalc the min_last_epoch_clean when decode PGMap (issue#13112, pr#6154, Kefu Chai)
  • osd: smaller object_info_t xattrs (issue#14803, pr#6544, Sage Weil)
  • osd: we do not ignore notify from down osds (issue#12990, pr#6158, Samuel Just)
  • rbd: QEMU hangs after creating snapshot and stopping VM (issue#13726, pr#6586, Jason Dillaman)
  • rbd: TaskFinisher::cancel should remove event from SafeTimer (issue#14476, pr#7417, Douglas Fuller)
  • rbd: avoid re-writing old-format image header on resize (issue#13674, pr#6585, Jason Dillaman)
  • rbd: fix bench-write (issue#14225, pr#7183, Sage Weil)
  • rbd: rbd-replay does not check for EOF and goes to endless loop (issue#14452, pr#7416, Mykola Golub)
  • rbd: rbd-replay-prep and rbd-replay improvements (issue#13221, issue#13220, issue#13378, pr#6286, Jason Dillaman)
  • rbd: verify self-managed snapshot functionality on image create (issue#13633, pr#7182, Jason Dillaman)
  • rgw: Make RGW_MAX_PUT_SIZE configurable (issue#6999, pr#7441, Vladislav Odintsov, Yuan Zhou)
  • rgw: Setting ACL on Object removes ETag (issue#12955, pr#6620, Brian Felton)
  • rgw: backport content-type casing (issue#12939, pr#5910, Robin H. Johnson)
  • rgw: bucket listing hangs on versioned buckets (issue#12913, pr#6352, Yehuda Sadeh)
  • rgw: fix wrong etag calculation during POST on S3 bucket. (issue#11241, pr#7442, Vladislav Odintsov, Radoslaw Zarzynski)
  • rgw: get bucket location returns region name, not region api name (issue#13458, pr#6349, Yehuda Sadeh)
  • rgw: missing handling of encoding-type=url when listing keys in bucket (issue#12735, pr#6527, Jeff Weber)
  • rgw: orphan tool should be careful about removing head objects (issue#12958, pr#6351, Yehuda Sadeh)
  • rgw: orphans finish segfaults (issue#13824, pr#7186, Igor Fedotov)
  • rgw: rgw-admin: document orphans commands in usage (issue#14516, pr#7526, Yehuda Sadeh)
  • rgw: swift API returns more than real object count and bytes used when retrieving account metadata (issue#13140, pr#6512, Sangdi Xu)
  • rgw: swift use Civetweb ssl can not get right url (issue#13628, pr#6491, Weijun Duan)
  • rgw: value of Swift API’s X-Object-Manifest header is not url_decoded during segment look up (issue#12728, pr#6353, Radoslaw Zarzynski)
  • tests: fixed broken Makefiles after integration of ttng into rados (issue#13210, pr#6322, Sebastien Ponce)
  • tests: fsx failed to compile (issue#14384, pr#7501, Greg Farnum)
  • tests: notification slave needs to wait for master (issue#13810, pr#7226, Jason Dillaman)
  • tests: qa: remove legacy OS support from rbd/qemu-iotests (issue#13483, issue#14385, pr#7252, Vasu Kulkarni, Jason Dillaman)
  • tests: testprofile must be removed before it is re-created (issue#13664, pr#6450, Loic Dachary)
  • tools: ceph-monstore-tool must do out_store.close() (issue#10093, pr#7347, huangjun)
  • tools: heavy memory shuffling in rados bench (issue#12946, pr#5810, Piotr Dałek)
  • tools: race condition in rados bench (issue#12947, pr#6791, Piotr Dałek)
  • tools: tool for artificially inflate the leveldb of the mon store for testing purposes (issue#10093, issue#11815, issue#14217, pr#7412, Cilang Zhao, Bo Cai, Kefu Chai, huangjun, Joao Eduardo Luis)

v0.94.5 Hammer

This Hammer point release fixes a critical regression in librbd that can cause QEMU/KVM to crash when caching is enabled on images that have been cloned.

All v0.94.4 Hammer users are strongly encouraged to upgrade.

Notable Changes

  • librbd: potential assertion failure during cache read (issue#13559, pr#6348, Jason Dillaman)
  • osd: osd/ReplicatedPG: remove stray debug line (issue#13455, pr#6362, Sage Weil)
  • tests: qemu workunit refers to apt-mirror.front.sepia.ceph.com (issue#13420, pr#6330, Yuan Zhou)

For more detailed information, see the complete changelog.

v0.94.4 Hammer

This Hammer point release fixes several important bugs in Hammer, as well as fixing interoperability issues that are required before an upgrade to Infernalis. That is, all users of earlier version of Hammer or any version of Firefly will first need to upgrade to hammer v0.94.4 or later before upgrading to Infernalis (or future releases).

All v0.94.x Hammer users are strongly encouraged to upgrade.

Notable Changes

  • build/ops: ceph.spec.in: 50-rbd.rules conditional is wrong (issue#12166, pr#5207, Nathan Cutler)
  • build/ops: ceph.spec.in: ceph-common needs python-argparse on older distros, but doesn’t require it (issue#12034, pr#5216, Nathan Cutler)
  • build/ops: ceph.spec.in: radosgw requires apache for SUSE only – makes no sense (issue#12358, pr#5411, Nathan Cutler)
  • build/ops: ceph.spec.in: rpm: cephfs_java not fully conditionalized (issue#11991, pr#5202, Nathan Cutler)
  • build/ops: ceph.spec.in: rpm: not possible to turn off Java (issue#11992, pr#5203, Owen Synge)
  • build/ops: ceph.spec.in: running fdupes unnecessarily (issue#12301, pr#5223, Nathan Cutler)
  • build/ops: ceph.spec.in: snappy-devel for all supported distros (issue#12361, pr#5264, Nathan Cutler)
  • build/ops: ceph.spec.in: SUSE/openSUSE builds need libbz2-devel (issue#11629, pr#5204, Nathan Cutler)
  • build/ops: ceph.spec.in: useless %py_requires breaks SLE11-SP3 build (issue#12351, pr#5412, Nathan Cutler)
  • build/ops: error in ext_mime_map_init() when /etc/mime.types is missing (issue#11864, pr#5385, Ken Dreyer)
  • build/ops: upstart: limit respawn to 3 in 30 mins (instead of 5 in 30s) (issue#11798, pr#5930, Sage Weil)
  • build/ops: With root as default user, unable to have multiple RGW instances running (issue#10927, pr#6161, Sage Weil)
  • build/ops: With root as default user, unable to have multiple RGW instances running (issue#11140, pr#6161, Sage Weil)
  • build/ops: With root as default user, unable to have multiple RGW instances running (issue#11686, pr#6161, Sage Weil)
  • build/ops: With root as default user, unable to have multiple RGW instances running (issue#12407, pr#6161, Sage Weil)
  • cli: ceph: cli throws exception on unrecognized errno (issue#11354, pr#5368, Kefu Chai)
  • cli: ceph tell: broken error message / misleading hinting (issue#11101, pr#5371, Kefu Chai)
  • common: arm: all programs that link to librados2 hang forever on startup (issue#12505, pr#5366, Boris Ranto)
  • common: buffer: critical bufferlist::zero bug (issue#12252, pr#5365, Haomai Wang)
  • common: ceph-object-corpus: add 0.94.2-207-g88e7ee7 hammer objects (issue#13070, pr#5551, Sage Weil)
  • common: do not insert emtpy ptr when rebuild emtpy bufferlist (issue#12775, pr#5764, Xinze Chi)
  • common: [ FAILED ] TestLibRBD.BlockingAIO (issue#12479, pr#5768, Jason Dillaman)
  • common: LibCephFS.GetPoolId failure (issue#12598, pr#5887, Yan, Zheng)
  • common: Memory leak in Mutex.cc, pthread_mutexattr_init without pthread_mutexattr_destroy (issue#11762, pr#5378, Ketor Meng)
  • common: object_map_update fails with -EINVAL return code (issue#12611, pr#5559, Jason Dillaman)
  • common: Pipe: Drop connect_seq increase line (issue#13093, pr#5908, Haomai Wang)
  • common: recursive lock of md_config_t (0) (issue#12614, pr#5759, Josh Durgin)
  • crush: ceph osd crush reweight-subtree does not reweight parent node (issue#11855, pr#5374, Sage Weil)
  • doc: update docs to point to download.ceph.com (issue#13162, pr#6156, Alfredo Deza)
  • fs: ceph-fuse 0.94.2-1trusty segfaults / aborts (issue#12297, pr#5381, Greg Farnum)
  • fs: segfault launching ceph-fuse with bad –name (issue#12417, pr#5382, John Spray)
  • librados: Change radosgw pools default crush ruleset (issue#11640, pr#5754, Yuan Zhou)
  • librbd: correct issues discovered via lockdep / helgrind (issue#12345, pr#5296, Jason Dillaman)
  • librbd: Crash during TestInternal.MultipleResize (issue#12664, pr#5769, Jason Dillaman)
  • librbd: deadlock during cooperative exclusive lock transition (issue#11537, pr#5319, Jason Dillaman)
  • librbd: Possible crash while concurrently writing and shrinking an image (issue#11743, pr#5318, Jason Dillaman)
  • mon: add a cache layer over MonitorDBStore (issue#12638, pr#5697, Kefu Chai)
  • mon: fix crush testing for new pools (issue#13400, pr#6192, Sage Weil)
  • mon: get pools health’info have error (issue#12402, pr#5369, renhwztetecs)
  • mon: implicit erasure code crush ruleset is not validated (issue#11814, pr#5276, Loic Dachary)
  • mon: PaxosService: call post_refresh() instead of post_paxos_update() (issue#11470, pr#5359, Joao Eduardo Luis)
  • mon: pgmonitor: wrong at/near target max“ reporting (issue#12401, pr#5370, huangjun)
  • mon: register_new_pgs() should check ruleno instead of its index (issue#12210, pr#5377, Xinze Chi)
  • mon: Show osd as NONE in ceph osd map <pool> <object> output (issue#11820, pr#5376, Shylesh Kumar)
  • mon: the output is wrong when runing ceph osd reweight (issue#12251, pr#5372, Joao Eduardo Luis)
  • osd: allow peek_map_epoch to return an error (issue#13060, pr#5892, Sage Weil)
  • osd: cache agent is idle although one object is left in the cache (issue#12673, pr#5765, Loic Dachary)
  • osd: copy-from doesn’t preserve truncate_{seq,size} (issue#12551, pr#5885, Samuel Just)
  • osd: crash creating/deleting pools (issue#12429, pr#5527, John Spray)
  • osd: fix repair when recorded digest is wrong (issue#12577, pr#5468, Sage Weil)
  • osd: include/ceph_features: define HAMMER_0_94_4 feature (issue#13026, pr#5687, Sage Weil)
  • osd: is_new_interval() fixes (issue#10399, pr#5691, Jason Dillaman)
  • osd: is_new_interval() fixes (issue#11771, pr#5691, Jason Dillaman)
  • osd: long standing slow requests: connection->session->waiting_for_map->connection ref cycle (issue#12338, pr#5761, Samuel Just)
  • osd: Mutex Assert from PipeConnection::try_get_pipe (issue#12437, pr#5758, David Zafman)
  • osd: pg_interval_t::check_new_interval - for ec pool, should not rely on min_size to determine if the PG was active at the interval (issue#12162, pr#5373, Guang G Yang)
  • osd: PGLog.cc: 732: FAILED assert(log.log.size() == log_keys_debug.size()) (issue#12652, pr#5763, Sage Weil)
  • osd: PGLog::proc_replica_log: correctly handle case where entries between olog.head and log.tail were split out (issue#11358, pr#5380, Samuel Just)
  • osd: read on chunk-aligned xattr not handled (issue#12309, pr#5367, Sage Weil)
  • osd: suicide timeout during peering - search for missing objects (issue#12523, pr#5762, Guang G Yang)
  • osd: WBThrottle::clear_object: signal on cond when we reduce throttle values (issue#12223, pr#5757, Samuel Just)
  • rbd: crash during shutdown after writeback blocked by IO errors (issue#12597, pr#5767, Jianpeng Ma)
  • rgw: add delimiter to prefix only when path is specified (issue#12960, pr#5860, Sylvain Baubeau)
  • rgw: create a tool for orphaned objects cleanup (issue#9604, pr#5717, Yehuda Sadeh)
  • rgw: don’t preserve acls when copying object (issue#11563, pr#6039, Yehuda Sadeh)
  • rgw: don’t preserve acls when copying object (issue#12370, pr#6039, Yehuda Sadeh)
  • rgw: don’t preserve acls when copying object (issue#13015, pr#6039, Yehuda Sadeh)
  • rgw: Ensure that swift keys don’t include backslashes (issue#7647, pr#5716, Yehuda Sadeh)
  • rgw: GWWatcher::handle_error -> common/Mutex.cc: 95: FAILED assert(r == 0) (issue#12208, pr#6164, Yehuda Sadeh)
  • rgw: HTTP return code is not being logged by CivetWeb (issue#12432, pr#5498, Yehuda Sadeh)
  • rgw: init_rados failed leads to repeated delete (issue#12978, pr#6165, Xiaowei Chen)
  • rgw: init some manifest fields when handling explicit objs (issue#11455, pr#5732, Yehuda Sadeh)
  • rgw: Keystone Fernet tokens break auth (issue#12761, pr#6162, Abhishek Lekshmanan)
  • rgw: region data still exist in region-map after region-map update (issue#12964, pr#6163, dwj192)
  • rgw: remove trailing :port from host for purposes of subdomain matching (issue#12353, pr#6042, Yehuda Sadeh)
  • rgw: rest-bench common/WorkQueue.cc: 54: FAILED assert(_threads.empty()) (issue#3896, pr#5383, huangjun)
  • rgw: returns requested bucket name raw in Bucket response header (issue#12537, pr#5715, Yehuda Sadeh)
  • rgw: segmentation fault when rgw_gc_max_objs > HASH_PRIME (issue#12630, pr#5719, Ruifeng Yang)
  • rgw: segments are read during HEAD on Swift DLO (issue#12780, pr#6160, Yehuda Sadeh)
  • rgw: setting max number of buckets for user via ceph.conf option (issue#12714, pr#6166, Vikhyat Umrao)
  • rgw: Swift API: X-Trans-Id header is wrongly formatted (issue#12108, pr#5721, Radoslaw Zarzynski)
  • rgw: testGetContentType and testHead failed (issue#11091, pr#5718, Radoslaw Zarzynski)
  • rgw: testGetContentType and testHead failed (issue#11438, pr#5718, Radoslaw Zarzynski)
  • rgw: testGetContentType and testHead failed (issue#12157, pr#5718, Radoslaw Zarzynski)
  • rgw: testGetContentType and testHead failed (issue#12158, pr#5718, Radoslaw Zarzynski)
  • rgw: testGetContentType and testHead failed (issue#12363, pr#5718, Radoslaw Zarzynski)
  • rgw: the arguments ‘domain’ should not be assigned when return false (issue#12629, pr#5720, Ruifeng Yang)
  • tests: qa/workunits/cephtool/test.sh: don’t assume crash_replay_interval=45 (issue#13406, pr#6172, Sage Weil)
  • tests: TEST_crush_rule_create_erasure consistently fails on i386 builder (issue#12419, pr#6201, Loic Dachary)
  • tools: ceph-disk zap should ensure block device (issue#11272, pr#5755, Loic Dachary)

For more detailed information, see the complete changelog.

v0.94.3 Hammer

This Hammer point release fixes a critical (though rare) data corruption bug that could be triggered when logs are rotated via SIGHUP. It also fixes a range of other important bugs in the OSD, monitor, RGW, RGW, and CephFS.

All v0.94.x Hammer users are strongly encouraged to upgrade.

Upgrading

  • The pg ls-by-{pool,primary,osd} commands and pg ls now take the argument recovering instead of recovery in order to include the recovering pgs in the listed pgs.

Notable Changes

  • librbd: aio calls may block (issue#11770, pr#4875, Jason Dillaman)
  • osd: make the all osd/filestore thread pool suicide timeouts separately configurable (issue#11701, pr#5159, Samuel Just)
  • mon: ceph fails to compile with boost 1.58 (issue#11982, pr#5122, Kefu Chai)
  • tests: TEST_crush_reject_empty must not run a mon (issue#12285,11975, pr#5208, Kefu Chai)
  • osd: FAILED assert(!old_value.deleted()) in upgrade:giant-x-hammer-distro-basic-multi run (issue#11983, pr#5121, Samuel Just)
  • build/ops: linking ceph to tcmalloc causes segfault on SUSE SLE11-SP3 (issue#12368, pr#5265, Thorsten Behrens)
  • common: utf8 and old gcc breakage on RHEL6.5 (issue#7387, pr#4687, Kefu Chai)
  • crush: take crashes due to invalid arg (issue#11740, pr#4891, Sage Weil)
  • rgw: need conversion tool to handle fixes following #11974 (issue#12502, pr#5384, Yehuda Sadeh)
  • rgw: Swift API: support for 202 Accepted response code on container creation (issue#12299, pr#5214, Radoslaw Zarzynski)
  • common: Log::reopen_log_file: take m_flush_mutex (issue#12520, pr#5405, Samuel Just)
  • rgw: Properly respond to the Connection header with Civetweb (issue#12398, pr#5284, Wido den Hollander)
  • rgw: multipart list part response returns incorrect field (issue#12399, pr#5285, Henry Chang)
  • build/ops: ceph.spec.in: 95-ceph-osd.rules, mount.ceph, and mount.fuse.ceph not installed properly on SUSE (issue#12397, pr#5283, Nathan Cutler)
  • rgw: radosgw-admin dumps user info twice (issue#12400, pr#5286, guce)
  • doc: fix doc build (issue#12180, pr#5095, Kefu Chai)
  • tests: backport 11493 fixes, and test, preventing ec cache pools (issue#12314, pr#4961, Samuel Just)
  • rgw: does not send Date HTTP header when civetweb frontend is used (issue#11872, pr#5228, Radoslaw Zarzynski)
  • mon: pg ls is broken (issue#11910, pr#5160, Kefu Chai)
  • librbd: A client opening an image mid-resize can result in the object map being invalidated (issue#12237, pr#5279, Jason Dillaman)
  • doc: missing man pages for ceph-create-keys, ceph-disk-* (issue#11862, pr#4846, Nathan Cutler)
  • tools: ceph-post-file fails on rhel7 (issue#11876, pr#5038, Sage Weil)
  • build/ops: rcceph script is buggy (issue#12090, pr#5028, Owen Synge)
  • rgw: Bucket header is enclosed by quotes (issue#11874, pr#4862, Wido den Hollander)
  • build/ops: packaging: add SuSEfirewall2 service files (issue#12092, pr#5030, Tim Serong)
  • rgw: Keystone PKI token expiration is not enforced (issue#11722, pr#4884, Anton Aksola)
  • build/ops: debian/control: ceph-common (>> 0.94.2) must be >= 0.94.2-2 (issue#12529,11998, pr#5417, Loic Dachary)
  • mon: Clock skew causes missing summary and confuses Calamari (issue#11879, pr#4868, Thorsten Behrens)
  • rgw: rados objects wronly deleted (issue#12099, pr#5117, wuxingyi)
  • tests: kernel_untar_build fails on EL7 (issue#12098, pr#5119, Greg Farnum)
  • fs: Fh ref count will leak if readahead does not need to do read from osd (issue#12319, pr#5427, Zhi Zhang)
  • mon: OSDMonitor: allow addition of cache pool with non-empty snaps with co… (issue#12595, pr#5252, Samuel Just)
  • mon: MDSMonitor: handle MDSBeacon messages properly (issue#11979, pr#5123, Kefu Chai)
  • tools: ceph-disk: get_partition_type fails on /dev/cciss… (issue#11760, pr#4892, islepnev)
  • build/ops: max files open limit for OSD daemon is too low (issue#12087, pr#5026, Owen Synge)
  • mon: add an “osd crush tree” command (issue#11833, pr#5248, Kefu Chai)
  • mon: mon crashes when “ceph osd tree 85 –format json” (issue#11975, pr#4936, Kefu Chai)
  • build/ops: ceph / ceph-dbg steal ceph-objecstore-tool from ceph-test / ceph-test-dbg (issue#11806, pr#5069, Loic Dachary)
  • rgw: DragonDisk fails to create directories via S3: MissingContentLength (issue#12042, pr#5118, Yehuda Sadeh)
  • build/ops: /usr/bin/ceph from ceph-common is broken without installing ceph (issue#11998, pr#5206, Ken Dreyer)
  • build/ops: systemd: Increase max files open limit for OSD daemon (issue#11964, pr#5040, Owen Synge)
  • build/ops: rgw/logrotate.conf calls service with wrong init script name (issue#12044, pr#5055, wuxingyi)
  • common: OPT_INT option interprets 3221225472 as -1073741824, and crashes in Throttle::Throttle() (issue#11738, pr#4889, Kefu Chai)
  • doc: doc/release-notes: v0.94.2 (issue#11492, pr#4934, Sage Weil)
  • common: admin_socket: close socket descriptor in destructor (issue#11706, pr#4657, Jon Bernard)
  • rgw: Object copy bug (issue#11755, pr#4885, Javier M. Mellid)
  • rgw: empty json response when getting user quota (issue#12245, pr#5237, wuxingyi)
  • fs: cephfs Dumper tries to load whole journal into memory at once (issue#11999, pr#5120, John Spray)
  • rgw: Fix tool for #11442 does not correctly fix objects created via multipart uploads (issue#12242, pr#5229, Yehuda Sadeh)
  • rgw: Civetweb RGW appears to report full size of object as downloaded when only partially downloaded (issue#12243, pr#5231, Yehuda Sadeh)
  • osd: stuck incomplete (issue#12362, pr#5269, Samuel Just)
  • osd: start_flush: filter out removed snaps before determining snapc’s (issue#11911, pr#4899, Samuel Just)
  • librbd: internal.cc: 1967: FAILED assert(watchers.size() == 1) (issue#12239, pr#5243, Jason Dillaman)
  • librbd: new QA client upgrade tests (issue#12109, pr#5046, Jason Dillaman)
  • librbd: [ FAILED ] TestLibRBD.ExclusiveLockTransition (issue#12238, pr#5241, Jason Dillaman)
  • rgw: Swift API: XML document generated in response for GET on account does not contain account name (issue#12323, pr#5227, Radoslaw Zarzynski)
  • rgw: keystone does not support chunked input (issue#12322, pr#5226, Hervé Rousseau)
  • mds: MDS is crashed (mds/CDir.cc: 1391: FAILED assert(!is_complete())) (issue#11737, pr#4886, Yan, Zheng)
  • cli: ceph: cli interactive mode does not understand quotes (issue#11736, pr#4776, Kefu Chai)
  • librbd: add valgrind memory checks for unit tests (issue#12384, pr#5280, Zhiqiang Wang)
  • build/ops: admin/build-doc: script fails silently under certain circumstances (issue#11902, pr#4877, John Spray)
  • osd: Fixes for rados ops with snaps (issue#11908, pr#4902, Samuel Just)
  • build/ops: ceph.spec.in: ceph-common subpackage def needs tweaking for SUSE/openSUSE (issue#12308, pr#4883, Nathan Cutler)
  • fs: client: reference counting ‘struct Fh’ (issue#12088, pr#5222, Yan, Zheng)
  • build/ops: ceph.spec: update OpenSUSE BuildRequires (issue#11611, pr#4667, Loic Dachary)

For more detailed information, see the complete changelog.

v0.94.2 Hammer

This Hammer point release fixes a few critical bugs in RGW that can prevent objects starting with underscore from behaving properly and that prevent garbage collection of deleted objects when using the Civetweb standalone mode.

All v0.94.x Hammer users are strongly encouraged to upgrade, and to make note of the repair procedure below if RGW is in use.

Upgrading from previous Hammer release

Bug #11442 introduced a change that made rgw objects that start with underscore incompatible with previous versions. The fix to that bug reverts to the previous behavior. In order to be able to access objects that start with an underscore and were created in prior Hammer releases, following the upgrade it is required to run (for each affected bucket):

$ radosgw-admin bucket check --check-head-obj-locator \
                             --bucket=<bucket> [--fix]

Notable changes

  • build: compilation error: No high-precision counter available (armhf, powerpc..) (#11432, James Page)
  • ceph-dencoder links to libtcmalloc, and shouldn’t (#10691, Boris Ranto)
  • ceph-disk: disk zap sgdisk invocation (#11143, Owen Synge)
  • ceph-disk: use a new disk as journal disk,ceph-disk prepare fail (#10983, Loic Dachary)
  • ceph-objectstore-tool should be in the ceph server package (#11376, Ken Dreyer)
  • librados: can get stuck in redirect loop if osdmap epoch == last_force_op_resend (#11026, Jianpeng Ma)
  • librbd: A retransmit of proxied flatten request can result in -EINVAL (Jason Dillaman)
  • librbd: ImageWatcher should cancel in-flight ops on watch error (#11363, Jason Dillaman)
  • librbd: Objectcacher setting max object counts too low (#7385, Jason Dillaman)
  • librbd: Periodic failure of TestLibRBD.DiffIterateStress (#11369, Jason Dillaman)
  • librbd: Queued AIO reference counters not properly updated (#11478, Jason Dillaman)
  • librbd: deadlock in image refresh (#5488, Jason Dillaman)
  • librbd: notification race condition on snap_create (#11342, Jason Dillaman)
  • mds: Hammer uclient checking (#11510, John Spray)
  • mds: remove caps from revoking list when caps are voluntarily released (#11482, Yan, Zheng)
  • messenger: double clear of pipe in reaper (#11381, Haomai Wang)
  • mon: Total size of OSDs is a maginitude less than it is supposed to be. (#11534, Zhe Zhang)
  • osd: don’t check order in finish_proxy_read (#11211, Zhiqiang Wang)
  • osd: handle old semi-deleted pgs after upgrade (#11429, Samuel Just)
  • osd: object creation by write cannot use an offset on an erasure coded pool (#11507, Jianpeng Ma)
  • rgw: Improve rgw HEAD request by avoiding read the body of the first chunk (#11001, Guang Yang)
  • rgw: civetweb is hitting a limit (number of threads 1024) (#10243, Yehuda Sadeh)
  • rgw: civetweb should use unique request id (#10295, Orit Wasserman)
  • rgw: critical fixes for hammer (#11447, #11442, Yehuda Sadeh)
  • rgw: fix swift COPY headers (#10662, #10663, #11087, #10645, Radoslaw Zarzynski)
  • rgw: improve performance for large object (multiple chunks) GET (#11322, Guang Yang)
  • rgw: init-radosgw: run RGW as root (#11453, Ken Dreyer)
  • rgw: keystone token cache does not work correctly (#11125, Yehuda Sadeh)
  • rgw: make quota/gc thread configurable for starting (#11047, Guang Yang)
  • rgw: make swift responses of RGW return last-modified, content-length, x-trans-id headers.(#10650, Radoslaw Zarzynski)
  • rgw: merge manifests correctly when there’s prefix override (#11622, Yehuda Sadeh)
  • rgw: quota not respected in POST object (#11323, Sergey Arkhipov)
  • rgw: restore buffer of multipart upload after EEXIST (#11604, Yehuda Sadeh)
  • rgw: shouldn’t need to disable rgw_socket_path if frontend is configured (#11160, Yehuda Sadeh)
  • rgw: swift: Response header of GET request for container does not contain X-Container-Object-Count, X-Container-Bytes-Used and x-trans-id headers (#10666, Dmytro Iurchenko)
  • rgw: swift: Response header of POST request for object does not contain content-length and x-trans-id headers (#10661, Radoslaw Zarzynski)
  • rgw: swift: response for GET/HEAD on container does not contain the X-Timestamp header (#10938, Radoslaw Zarzynski)
  • rgw: swift: response for PUT on /container does not contain the mandatory Content-Length header when FCGI is used (#11036, #10971, Radoslaw Zarzynski)
  • rgw: swift: wrong handling of empty metadata on Swift container (#11088, Radoslaw Zarzynski)
  • tests: TestFlatIndex.cc races with TestLFNIndex.cc (#11217, Xinze Chi)
  • tests: ceph-helpers kill_daemons fails when kill fails (#11398, Loic Dachary)

For more detailed information, see the complete changelog.

v0.94.1 Hammer

This bug fix release fixes a few critical issues with CRUSH. The most important addresses a bug in feature bit enforcement that may prevent pre-hammer clients from communicating with the cluster during an upgrade. This only manifests in some cases (for example, when the ‘rack’ type is in use in the CRUSH map, and possibly other cases), but for safety we strongly recommend that all users use 0.94.1 instead of 0.94 when upgrading.

There is also a fix in the new straw2 buckets when OSD weights are 0.

We recommend that all v0.94 users upgrade.

Notable changes

  • crush: fix divide-by-0 in straw2 (#11357 Sage Weil)
  • crush: fix has_v4_buckets (#11364 Sage Weil)
  • osd: fix negative degraded objects during backfilling (#7737 Guang Yang)

For more detailed information, see the complete changelog.

v0.94 Hammer

This major release is expected to form the basis of the next long-term stable series. It is intended to supersede v0.80.x Firefly.

Highlights since Giant include:

  • RADOS Performance: a range of improvements have been made in the OSD and client-side librados code that improve the throughput on flash backends and improve parallelism and scaling on fast machines.
  • Simplified RGW deployment: the ceph-deploy tool now has a new ‘ceph-deploy rgw create HOST’ command that quickly deploys a instance of the S3/Swift gateway using the embedded Civetweb server. This is vastly simpler than the previous Apache-based deployment. There are a few rough edges (e.g., around SSL support) but we encourage users to try the new method.
  • RGW object versioning: RGW now supports the S3 object versioning API, which preserves old version of objects instead of overwriting them.
  • RGW bucket sharding: RGW can now shard the bucket index for large buckets across, improving performance for very large buckets.
  • RBD object maps: RBD now has an object map function that tracks which parts of the image are allocating, improving performance for clones and for commands like export and delete.
  • RBD mandatory locking: RBD has a new mandatory locking framework (still disabled by default) that adds additional safeguards to prevent multiple clients from using the same image at the same time.
  • RBD copy-on-read: RBD now supports copy-on-read for image clones, improving performance for some workloads.
  • CephFS snapshot improvements: Many many bugs have been fixed with CephFS snapshots. Although they are still disabled by default, stability has improved significantly.
  • CephFS Recovery tools: We have built some journal recovery and diagnostic tools. Stability and performance of single-MDS systems is vastly improved in Giant, and more improvements have been made now in Hammer. Although we still recommend caution when storing important data in CephFS, we do encourage testing for non-critical workloads so that we can better gauge the feature, usability, performance, and stability gaps.
  • CRUSH improvements: We have added a new straw2 bucket algorithm that reduces the amount of data migration required when changes are made to the cluster.
  • Shingled erasure codes (SHEC): The OSDs now have experimental support for shingled erasure codes, which allow a small amount of additional storage to be traded for improved recovery performance.
  • RADOS cache tiering: A series of changes have been made in the cache tiering code that improve performance and reduce latency.
  • RDMA support: There is now experimental support the RDMA via the Accelio (libxio) library.
  • New administrator commands: The ‘ceph osd df’ command shows pertinent details on OSD disk utilizations. The ‘ceph pg ls …’ command makes it much simpler to query PG states while diagnosing cluster issues.

Other highlights since Firefly include:

  • CephFS: we have fixed a raft of bugs in CephFS and built some basic journal recovery and diagnostic tools. Stability and performance of single-MDS systems is vastly improved in Giant. Although we do not yet recommend CephFS for production deployments, we do encourage testing for non-critical workloads so that we can better gauge the feature, usability, performance, and stability gaps.
  • Local Recovery Codes: the OSDs now support an erasure-coding scheme that stores some additional data blocks to reduce the IO required to recover from single OSD failures.
  • Degraded vs misplaced: the Ceph health reports from ‘ceph -s’ and related commands now make a distinction between data that is degraded (there are fewer than the desired number of copies) and data that is misplaced (stored in the wrong location in the cluster). The distinction is important because the latter does not compromise data safety.
  • Tiering improvements: we have made several improvements to the cache tiering implementation that improve performance. Most notably, objects are not promoted into the cache tier by a single read; they must be found to be sufficiently hot before that happens.
  • Monitor performance: the monitors now perform writes to the local data store asynchronously, improving overall responsiveness.
  • Recovery tools: the ceph-objectstore-tool is greatly expanded to allow manipulation of an individual OSDs data store for debugging and repair purposes. This is most heavily used by our QA infrastructure to exercise recovery code.

I would like to take this opportunity to call out the amazing growth in contributors to Ceph beyond the core development team from Inktank. Hammer features major new features and improvements from Intel, Fujitsu, UnitedStack, Yahoo, UbuntuKylin, CohortFS, Mellanox, CERN, Deutsche Telekom, Mirantis, and SanDisk.

Dedication

This release is dedicated in memoriam to Sandon Van Ness, aka Houkouonchi, who unexpectedly passed away a few weeks ago. Sandon was responsible for maintaining the large and complex Sepia lab that houses the Ceph project’s build and test infrastructure. His efforts have made an important impact on our ability to reliably test Ceph with a relatively small group of people. He was a valued member of the team and we will miss him. H is also for Houkouonchi.

Upgrading

  • If your existing cluster is running a version older than v0.80.x Firefly, please first upgrade to the latest Firefly release before moving on to Giant. We have not tested upgrades directly from Emperor, Dumpling, or older releases.

    We have tested:

    • Firefly to Hammer
    • Giant to Hammer
    • Dumpling to Firefly to Hammer
  • Please upgrade daemons in the following order:

    1. Monitors
    2. OSDs
    3. MDSs and/or radosgw

    Note that the relative ordering of OSDs and monitors should not matter, but we primarily tested upgrading monitors first.

  • The ceph-osd daemons will perform a disk-format upgrade improve the PG metadata layout and to repair a minor bug in the on-disk format. It may take a minute or two for this to complete, depending on how many objects are stored on the node; do not be alarmed if they do not marked “up” by the cluster immediately after starting.

  • If upgrading from v0.93, set

    osd enable degraded writes = false

    on all osds prior to upgrading. The degraded writes feature has been reverted due to 11155.

  • The LTTNG tracing in librbd and librados is disabled in the release packages until we find a way to avoid violating distro security policies when linking libust.

Upgrading from v0.87.x Giant

  • librbd and librados include lttng tracepoints on distros with liblttng 2.4 or later (only Ubuntu Trusty for the ceph.com packages). When running a daemon that uses these libraries, i.e. an application that calls fork(2) or clone(2) without exec(3), you must set LD_PRELOAD=liblttng-ust-fork.so.0 to prevent a crash in the lttng atexit handler when the process exits. The only ceph tool that requires this is rbd-fuse.

  • If rgw_socket_path is defined and rgw_frontends defines a socket_port and socket_host, we now allow the rgw_frontends settings to take precedence. This change should only affect users who have made non-standard changes to their radosgw configuration.

  • If you are upgrading specifically from v0.92, you must stop all OSD daemons and flush their journals (ceph-osd -i NNN --flush-journal) before upgrading. There was a transaction encoding bug in v0.92 that broke compatibility. Upgrading from v0.93, v0.91, or anything earlier is safe.

  • The experimental ‘keyvaluestore-dev’ OSD backend has been renamed ‘keyvaluestore’ (for simplicity) and marked as experimental. To enable this untested feature and acknowledge that you understand that it is untested and may destroy data, you need to add the following to your ceph.conf:

    enable experimental unrecoverable data corrupting features = keyvaluestore
    
  • The following librados C API function calls take a ‘flags’ argument whose value is now correctly interpreted:

    rados_write_op_operate() rados_aio_write_op_operate() rados_read_op_operate() rados_aio_read_op_operate()

    The flags were not correctly being translated from the librados constants to the internal values. Now they are. Any code that is passing flags to these methods should be audited to ensure that they are using the correct LIBRADOS_OP_FLAG_* constants.

  • The ‘rados’ CLI ‘copy’ and ‘cppool’ commands now use the copy-from operation, which means the latest CLI cannot run these commands against pre-firefly OSDs.

  • The librados watch/notify API now includes a watch_flush() operation to flush the async queue of notify operations. This should be called by any watch/notify user prior to rados_shutdown().

  • The ‘category’ field for objects has been removed. This was originally added to track PG stat summations over different categories of objects for use by radosgw. It is no longer has any known users and is prone to abuse because it can lead to a pg_stat_t structure that is unbounded. The librados API calls that accept this field now ignore it, and the OSD no longer tracks the per-category summations.

  • The output for ‘rados df’ has changed. The ‘category’ level has been eliminated, so there is now a single stat object per pool. The structure of the JSON output is different, and the plaintext output has one less column.

  • The ‘rados create <objectname> [category]’ optional category argument is no longer supported or recognized.

  • rados.py’s Rados class no longer has a __del__ method; it was causing problems on interpreter shutdown and use of threads. If your code has Rados objects with limited lifetimes and you’re concerned about locked resources, call Rados.shutdown() explicitly.

  • There is a new version of the librados watch/notify API with vastly improved semantics. Any applications using this interface are encouraged to migrate to the new API. The old API calls are marked as deprecated and will eventually be removed.

  • The librados rados_unwatch() call used to be safe to call on an invalid handle. The new version has undefined behavior when passed a bogus value (for example, when rados_watch() returns an error and handle is not defined).

  • The structure of the formatted ‘pg stat’ command is changed for the portion that counts states by name to avoid using the ‘+’ character (which appears in state names) as part of the XML token (it is not legal).

  • Previously, the formatted output of ‘ceph pg stat -f …’ was a full pg dump that included all metadata about all PGs in the system. It is now a concise summary of high-level PG stats, just like the unformatted ‘ceph pg stat’ command.

  • All JSON dumps of floating point values were incorrecting surrounding the value with quotes. These quotes have been removed. Any consumer of structured JSON output that was consuming the floating point values was previously having to interpret the quoted string and will most likely need to be fixed to take the unquoted number.

  • New ability to list all objects from all namespaces that can fail or return incomplete results when not all OSDs have been upgraded. Features rados –all ls, rados cppool, rados export, rados cache-flush-evict-all and rados cache-try-flush-evict-all can also fail or return incomplete results.

  • Due to a change in the Linux kernel version 3.18 and the limits of the FUSE interface, ceph-fuse needs be mounted as root on at least some systems. See issues #9997, #10277, and #10542 for details.

Upgrading from v0.80x Firefly (additional notes)

  • The client-side caching for librbd is now enabled by default (rbd cache = true). A safety option (rbd cache writethrough until flush = true) is also enabled so that writeback caching is not used until the library observes a ‘flush’ command, indicating that the librbd users is passing that operation through from the guest VM. This avoids potential data loss when used with older versions of qemu that do not support flush.

    leveldb_write_buffer_size = 8*1024*1024 = 33554432 // 8MB leveldb_cache_size = 512*1024*1204 = 536870912 // 512MB leveldb_block_size = 64*1024 = 65536 // 64KB leveldb_compression = false leveldb_log = “”

    OSDs will still maintain the following osd-specific defaults:

    leveldb_log = “”

  • The ‘rados getxattr …’ command used to add a gratuitous newline to the attr value; it now does not.

  • The *_kb perf counters on the monitor have been removed. These are replaced with a new set of *_bytes counters (e.g., cluster_osd_kb is replaced by cluster_osd_bytes).

  • The rd_kb and wr_kb fields in the JSON dumps for pool stats (accessed via the ceph df detail -f json-pretty and related commands) have been replaced with corresponding *_bytes fields. Similarly, the total_space, total_used, and total_avail fields are replaced with total_bytes, total_used_bytes, and total_avail_bytes fields.

  • The rados df --format=json output read_bytes and write_bytes fields were incorrectly reporting ops; this is now fixed.

  • The rados df --format=json output previously included read_kb and write_kb fields; these have been removed. Please use read_bytes and write_bytes instead (and divide by 1024 if appropriate).

  • The experimental keyvaluestore-dev OSD backend had an on-disk format change that prevents existing OSD data from being upgraded. This affects developers and testers only.

  • mon-specific and osd-specific leveldb options have been removed. From this point onward users should use the leveldb_* generic options and add the options in the appropriate sections of their configuration files. Monitors will still maintain the following monitor-specific defaults:

    leveldb_write_buffer_size = 8*1024*1024 = 33554432 // 8MB leveldb_cache_size = 512*1024*1204 = 536870912 // 512MB leveldb_block_size = 64*1024 = 65536 // 64KB leveldb_compression = false leveldb_log = “”

    OSDs will still maintain the following osd-specific defaults:

    leveldb_log = “”

  • CephFS support for the legacy anchor table has finally been removed. Users with file systems created before firefly should ensure that inodes with multiple hard links are modified prior to the upgrade to ensure that the backtraces are written properly. For example:

    sudo find /mnt/cephfs -type f -links +1 -exec touch \{\} \;
    
  • We disallow nonsensical ‘tier cache-mode’ transitions. From this point onward, ‘writeback’ can only transition to ‘forward’ and ‘forward’ can transition to 1) ‘writeback’ if there are dirty objects, or 2) any if there are no dirty objects.

Notable changes since v0.93

  • build: a few cmake fixes (Matt Benjamin)
  • build: fix build on RHEL/CentOS 5.9 (Rohan Mars)
  • build: reorganize Makefile to allow modular builds (Boris Ranto)
  • ceph-fuse: be more forgiving on remount (#10982 Greg Farnum)
  • ceph: improve CLI parsing (#11093 David Zafman)
  • common: fix cluster logging to default channel (#11177 Sage Weil)
  • crush: fix parsing of straw2 buckets (#11015 Sage Weil)
  • doc: update man pages (David Zafman)
  • librados: fix leak in C_TwoContexts (Xiong Yiliang)
  • librados: fix leak in watch/notify path (Sage Weil)
  • librbd: fix and improve AIO cache invalidation (#10958 Jason Dillaman)
  • librbd: fix memory leak (Jason Dillaman)
  • librbd: fix ordering/queueing of resize operations (Jason Dillaman)
  • librbd: validate image is r/w on resize/flatten (Jason Dillaman)
  • librbd: various internal locking fixes (Jason Dillaman)
  • lttng: tracing is disabled until we streamline dependencies (Josh Durgin)
  • mon: add bootstrap-rgw profile (Sage Weil)
  • mon: do not pollute mon dir with CSV files from CRUSH check (Loic Dachary)
  • mon: fix clock drift time check interval (#10546 Joao Eduardo Luis)
  • mon: fix units in store stats (Joao Eduardo Luis)
  • mon: improve error handling on erasure code profile set (#10488, #11144 Loic Dachary)
  • mon: set {read,write}_tier on ‘osd tier add-cache …’ (Jianpeng Ma)
  • ms: xio: fix misc bugs (Matt Benjamin, Vu Pham)
  • osd: DBObjectMap: fix locking to prevent rare crash (#9891 Samuel Just)
  • osd: fix and document last_epoch_started semantics (Samuel Just)
  • osd: fix divergent entry handling on PG split (Samuel Just)
  • osd: fix leak on shutdown (Kefu Chai)
  • osd: fix recording of digest on scrub (Samuel Just)
  • osd: fix whiteout handling (Sage Weil)
  • rbd: allow v2 striping parameters for clones and imports (Jason Dillaman)
  • rbd: fix formatted output of image features (Jason Dillaman)
  • rbd: updat eman page (Ilya Dryomov)
  • rgw: don’t overwrite bucket/object owner when setting ACLs (#10978 Yehuda Sadeh)
  • rgw: enable IPv6 for civetweb (#10965 Yehuda Sadeh)
  • rgw: fix sysvinit script when rgw_socket_path is not defined (#11159 Yehuda Sadeh, Dan Mick)
  • rgw: pass civetweb configurables through (#10907 Yehuda Sadeh)
  • rgw: use new watch/notify API (Yehuda Sadeh, Sage Weil)
  • osd: reverted degraded writes feature due to 11155

Notable changes since v0.87.x Giant

  • add experimental features option (Sage Weil)
  • arch: fix NEON feaeture detection (#10185 Loic Dachary)
  • asyncmsgr: misc fixes (Haomai Wang)
  • buffer: add ‘shareable’ construct (Matt Benjamin)
  • buffer: add list::get_contiguous (Sage Weil)
  • buffer: avoid rebuild if buffer already contiguous (Jianpeng Ma)
  • build: CMake support (Ali Maredia, Casey Bodley, Adam Emerson, Marcus Watts, Matt Benjamin)
  • build: a few cmake fixes (Matt Benjamin)
  • build: aarch64 build fixes (Noah Watkins, Haomai Wang)
  • build: adjust build deps for yasm, virtualenv (Jianpeng Ma)
  • build: fix ‘make check’ races (#10384 Loic Dachary)
  • build: fix build on RHEL/CentOS 5.9 (Rohan Mars)
  • build: fix pkg names when libkeyutils is missing (Pankag Garg, Ken Dreyer)
  • build: improve build dependency tooling (Loic Dachary)
  • build: reorganize Makefile to allow modular builds (Boris Ranto)
  • build: support for jemalloc (Shishir Gowda)
  • ceph-disk: Scientific Linux support (Dan van der Ster)
  • ceph-disk: allow journal partition re-use (#10146 Loic Dachary, Dav van der Ster)
  • ceph-disk: call partx/partprobe consistency (#9721 Loic Dachary)
  • ceph-disk: do not re-use partition if encryption is required (Loic Dachary)
  • ceph-disk: fix dmcrypt key permissions (Loic Dachary)
  • ceph-disk: fix umount race condition (#10096 Blaine Gardner)
  • ceph-disk: improved systemd support (Owen Synge)
  • ceph-disk: init=none option (Loic Dachary)
  • ceph-disk: misc fixes (Christos Stavrakakis)
  • ceph-disk: respect –statedir for keyring (Loic Dachary)
  • ceph-disk: set guid if reusing journal partition (Dan van der Ster)
  • ceph-disk: support LUKS for encrypted partitions (Andrew Bartlett, Loic Dachary)
  • ceph-fuse, libcephfs: POSIX file lock support (Yan, Zheng)
  • ceph-fuse, libcephfs: allow xattr caps in inject_release_failure (#9800 John Spray)
  • ceph-fuse, libcephfs: fix I_COMPLETE_ORDERED checks (#9894 Yan, Zheng)
  • ceph-fuse, libcephfs: fix cap flush overflow (Greg Farnum, Yan, Zheng)
  • ceph-fuse, libcephfs: fix root inode xattrs (Yan, Zheng)
  • ceph-fuse, libcephfs: preserve dir ordering (#9178 Yan, Zheng)
  • ceph-fuse, libcephfs: trim inodes before reconnecting to MDS (Yan, Zheng)
  • ceph-fuse,libcephfs: add support for O_NOFOLLOW and O_PATH (Greg Farnum)
  • ceph-fuse,libcephfs: resend requests before completing cap reconnect (#10912 Yan, Zheng)
  • ceph-fuse: be more forgiving on remount (#10982 Greg Farnum)
  • ceph-fuse: fix dentry invalidation on 3.18+ kernels (#9997 Yan, Zheng)
  • ceph-fuse: fix kernel cache trimming (#10277 Yan, Zheng)
  • ceph-fuse: select kernel cache invalidation mechanism based on kernel version (Greg Farnum)
  • ceph-monstore-tool: fix shutdown (#10093 Loic Dachary)
  • ceph-monstore-tool: fix/improve CLI (Joao Eduardo Luis)
  • ceph-objectstore-tool: fix import (#10090 David Zafman)
  • ceph-objectstore-tool: improved import (David Zafman)
  • ceph-objectstore-tool: many improvements and tests (David Zafman)
  • ceph-objectstore-tool: many many improvements (David Zafman)
  • ceph-objectstore-tool: misc improvements, fixes (#9870 #9871 David Zafman)
  • ceph.spec: package rbd-replay-prep (Ken Dreyer)
  • ceph: add ‘ceph osd df [tree]’ command (#10452 Mykola Golub)
  • ceph: do not parse injectargs twice (Loic Dachary)
  • ceph: fix ‘ceph tell …’ command validation (#10439 Joao Eduardo Luis)
  • ceph: improve ‘ceph osd tree’ output (Mykola Golub)
  • ceph: improve CLI parsing (#11093 David Zafman)
  • ceph: make ‘ceph -s’ output more readable (Sage Weil)
  • ceph: make ‘ceph -s’ show PG state counts in sorted order (Sage Weil)
  • ceph: make ‘ceph tell mon.* version’ work (Mykola Golub)
  • ceph: new ‘ceph tell mds.$name_or_rank_or_gid’ (John Spray)
  • ceph: show primary-affinity in ‘ceph osd tree’ (Mykola Golub)
  • ceph: test robustness (Joao Eduardo Luis)
  • ceph_objectstore_tool: behave with sharded flag (#9661 David Zafman)
  • cephfs-journal-tool: add recover_dentries function (#9883 John Spray)
  • cephfs-journal-tool: fix journal import (#10025 John Spray)
  • cephfs-journal-tool: skip up to expire_pos (#9977 John Spray)
  • cleanup rados.h definitions with macros (Ilya Dryomov)
  • common: add ‘perf reset …’ admin command (Jianpeng Ma)
  • common: add TableFormatter (Andreas Peters)
  • common: add newline to flushed json output (Sage Weil)
  • common: check syncfs() return code (Jianpeng Ma)
  • common: do not unlock rwlock on destruction (Federico Simoncelli)
  • common: filtering for ‘perf dump’ (John Spray)
  • common: fix Formatter factory breakage (#10547 Loic Dachary)
  • common: fix block device discard check (#10296 Sage Weil)
  • common: make json-pretty output prettier (Sage Weil)
  • common: remove broken CEPH_LOCKDEP optoin (Kefu Chai)
  • common: shared_cache unit tests (Cheng Cheng)
  • common: support new gperftools header locations (Key Dreyer)
  • config: add $cctid meta variable (Adam Crume)
  • crush: fix buffer overrun for poorly formed rules (#9492 Johnu George)
  • crush: fix detach_bucket (#10095 Sage Weil)
  • crush: fix parsing of straw2 buckets (#11015 Sage Weil)
  • crush: fix several bugs in adjust_item_weight (Rongze Zhu)
  • crush: fix tree bucket behavior (Rongze Zhu)
  • crush: improve constness (Loic Dachary)
  • crush: new and improved straw2 bucket type (Sage Weil, Christina Anderson, Xiaoxi Chen)
  • crush: straw bucket weight calculation fixes (#9998 Sage Weil)
  • crush: update tries stats for indep rules (#10349 Loic Dachary)
  • crush: use larger choose_tries value for erasure code rulesets (#10353 Loic Dachary)
  • crushtool: add –location <id> command (Sage Weil, Loic Dachary)
  • debian,rpm: move RBD udev rules to ceph-common (#10864 Ken Dreyer)
  • debian: split python-ceph into python-{rbd,rados,cephfs} (Boris Ranto)
  • default to libnss instead of crypto++ (Federico Gimenez)
  • doc: CephFS disaster recovery guidance (John Spray)
  • doc: CephFS for early adopters (John Spray)
  • doc: add build-doc guidlines for Fedora and CentOS/RHEL (Nilamdyuti Goswami)
  • doc: add dumpling to firefly upgrade section (#7679 John Wilkins)
  • doc: ceph osd reweight vs crush weight (Laurent Guerby)
  • doc: do not suggest dangerous XFS nobarrier option (Dan van der Ster)
  • doc: document erasure coded pool operations (#9970 Loic Dachary)
  • doc: document the LRC per-layer plugin configuration (Yuan Zhou)
  • doc: enable rbd cache on openstack deployments (Sebastien Han)
  • doc: erasure code doc updates (Loic Dachary)
  • doc: file system osd config settings (Kevin Dalley)
  • doc: fix OpenStack Glance docs (#10478 Sebastien Han)
  • doc: improved installation nots on CentOS/RHEL installs (John Wilkins)
  • doc: key/value store config reference (John Wilkins)
  • doc: misc cleanups (Adam Spiers, Sebastien Han, Nilamdyuti Goswami, Ken Dreyer, John Wilkins)
  • doc: misc improvements (Nilamdyuti Goswami, John Wilkins, Chris Holcombe)
  • doc: misc updates (#9793 #9922 #10204 #10203 Travis Rhoden, Hazem, Ayari, Florian Coste, Andy Allan, Frank Yu, Baptiste Veuillez-Mainard, Yuan Zhou, Armando Segnini, Robert Jansen, Tyler Brekke, Viktor Suprun)
  • doc: misc updates (Alfredo Deza, VRan Liu)
  • doc: misc updates (Nilamdyuti Goswami, John Wilkins)
  • doc: new man pages (Nilamdyuti Goswami)
  • doc: preflight doc fixes (John Wilkins)
  • doc: replace cloudfiles with swiftclient Python Swift example (Tim Freund)
  • doc: update PG count guide (Gerben Meijer, Laurent Guerby, Loic Dachary)
  • doc: update man pages (David Zafman)
  • doc: update openstack docs for Juno (Sebastien Han)
  • doc: update release descriptions (Ken Dreyer)
  • doc: update sepia hardware inventory (Sandon Van Ness)
  • erasure-code: add mSHEC erasure code support (Takeshi Miyamae)
  • erasure-code: improved docs (#10340 Loic Dachary)
  • erasure-code: set max_size to 20 (#10363 Loic Dachary)
  • fix cluster logging from non-mon daemons (Sage Weil)
  • init-ceph: check for systemd-run before using it (Boris Ranto)
  • install-deps.sh: do not require sudo when root (Loic Dachary)
  • keyvaluestore: misc fixes (Haomai Wang)
  • keyvaluestore: performance improvements (Haomai Wang)
  • libcephfs,ceph-fuse: add ‘status’ asok (John Spray)
  • libcephfs,ceph-fuse: fix getting zero-length xattr (#10552 Yan, Zheng)
  • libcephfs: fix dirfrag trimming (#10387 Yan, Zheng)
  • libcephfs: fix mount timeout (#10041 Yan, Zheng)
  • libcephfs: fix test (#10415 Yan, Zheng)
  • libcephfs: fix use-afer-free on umount (#10412 Yan, Zheng)
  • libcephfs: include ceph and git version in client metadata (Sage Weil)
  • librados, osd: new watch/notify implementation (Sage Weil)
  • librados: add blacklist_add convenience method (Jason Dillaman)
  • librados: add rados_pool_get_base_tier() call (Adam Crume)
  • librados: add watch_flush() operation (Sage Weil, Haomai Wang)
  • librados: avoid memcpy on getxattr, read (Jianpeng Ma)
  • librados: cap buffer length (Loic Dachary)
  • librados: create ioctx by pool id (Jason Dillaman)
  • librados: do notify completion in fast-dispatch (Sage Weil)
  • librados: drop ‘category’ feature (Sage Weil)
  • librados: expose rados_{read|write}_op_assert_version in C API (Kim Vandry)
  • librados: fix infinite loop with skipped map epochs (#9986 Ding Dinghua)
  • librados: fix iterator operator= bugs (#10082 David Zafman, Yehuda Sadeh)
  • librados: fix leak in C_TwoContexts (Xiong Yiliang)
  • librados: fix leak in watch/notify path (Sage Weil)
  • librados: fix null deref when pool DNE (#9944 Sage Weil)
  • librados: fix objecter races (#9617 Josh Durgin)
  • librados: fix pool deletion handling (#10372 Sage Weil)
  • librados: fix pool name caching (#10458 Radoslaw Zarzynski)
  • librados: fix resource leak, misc bugs (#10425 Radoslaw Zarzynski)
  • librados: fix some watch/notify locking (Jason Dillaman, Josh Durgin)
  • librados: fix timer race from recent refactor (Sage Weil)
  • librados: new fadvise API (Ma Jianpeng)
  • librados: only export public API symbols (Jason Dillaman)
  • librados: remove shadowed variable (Kefu Chain)
  • librados: translate op flags from C APIs (Matthew Richards)
  • libradosstriper: fix remove() (Dongmao Zhang)
  • libradosstriper: fix shutdown hang (Dongmao Zhang)
  • libradosstriper: fix stat strtoll (Dongmao Zhang)
  • libradosstriper: fix trunc method (#10129 Sebastien Ponce)
  • libradosstriper: fix write_full when ENOENT (#10758 Sebastien Ponce)
  • libradosstriper: misc fixes (Sebastien Ponce)
  • librbd: CRC protection for RBD image map (Jason Dillaman)
  • librbd: add missing python docstrings (Jason Dillaman)
  • librbd: add per-image object map for improved performance (Jason Dillaman)
  • librbd: add readahead (Adam Crume)
  • librbd: add support for an “object map” indicating which objects exist (Jason Dillaman)
  • librbd: adjust internal locking (Josh Durgin, Jason Dillaman)
  • librbd: better handling of watch errors (Jason Dillaman)
  • librbd: complete pending ops before closing image (#10299 Josh Durgin)
  • librbd: coordinate maint operations through lock owner (Jason Dillaman)
  • librbd: copy-on-read (Min Chen, Li Wang, Yunchuan Wen, Cheng Cheng, Jason Dillaman)
  • librbd: differentiate between R/O vs R/W features (Jason Dillaman)
  • librbd: don’t close a closed parent in failure path (#10030 Jason Dillaman)
  • librbd: enforce write ordering with a snapshot (Jason Dillaman)
  • librbd: exclusive image locking (Jason Dillaman)
  • librbd: fadvise API (Ma Jianpeng)
  • librbd: fadvise-style hints; add misc hints for certain operations (Jianpeng Ma)
  • librbd: fix and improve AIO cache invalidation (#10958 Jason Dillaman)
  • librbd: fix cache tiers in list_children and snap_unprotect (Adam Crume)
  • librbd: fix coverity false-positives (Jason Dillaman)
  • librbd: fix diff test (#10002 Josh Durgin)
  • librbd: fix list_children from invalid pool ioctxs (#10123 Jason Dillaman)
  • librbd: fix locking for readahead (#10045 Jason Dillaman)
  • librbd: fix memory leak (Jason Dillaman)
  • librbd: fix ordering/queueing of resize operations (Jason Dillaman)
  • librbd: fix performance regression in ObjectCacher (#9513 Adam Crume)
  • librbd: fix snap create races (Jason Dillaman)
  • librbd: fix write vs import race (#10590 Jason Dillaman)
  • librbd: flush AIO operations asynchronously (#10714 Jason Dillaman)
  • librbd: gracefully handle deleted/renamed pools (#10270 Jason Dillaman)
  • librbd: lttng tracepoints (Adam Crume)
  • librbd: make async versions of long-running maint operations (Jason Dillaman)
  • librbd: misc fixes (Xinxin Shu, Jason Dillaman)
  • librbd: mock tests (Jason Dillaman)
  • librbd: only export public API symbols (Jason Dillaman)
  • librbd: optionally blacklist clients before breaking locks (#10761 Jason Dillaman)
  • librbd: prevent copyup during shrink (Jason Dillaman)
  • librbd: refactor unit tests to use fixtures (Jason Dillaman)
  • librbd: validate image is r/w on resize/flatten (Jason Dillaman)
  • librbd: various internal locking fixes (Jason Dillaman)
  • many coverity fixes (Danny Al-Gaaf)
  • many many coverity cleanups (Danny Al-Gaaf)
  • mds: ‘flush journal’ admin command (John Spray)
  • mds: ENOSPC and OSDMap epoch barriers (#7317 John Spray)
  • mds: a whole bunch of initial scrub infrastructure (Greg Farnum)
  • mds: add cephfs-table-tool (John Spray)
  • mds: asok command for fetching subtree map (John Spray)
  • mds: avoid sending traceless replies in most cases (Yan, Zheng)
  • mds: constify MDSCacheObjects (John Spray)
  • mds: dirfrag buf fix (Yan, Zheng)
  • mds: disallow most commands on inactive MDS’s (Greg Farnum)
  • mds: drop dentries, leases on deleted directories (#10164 Yan, Zheng)
  • mds: export dir asok command (John Spray)
  • mds: fix MDLog IO callback deadlock (John Spray)
  • mds: fix compat_version for MClientSession (#9945 John Spray)
  • mds: fix deadlock during journal probe vs purge (#10229 Yan, Zheng)
  • mds: fix race trimming log segments (Yan, Zheng)
  • mds: fix reply snapbl (Yan, Zheng)
  • mds: fix sessionmap lifecycle bugs (Yan, Zheng)
  • mds: fix stray/purge perfcounters (#10388 John Spray)
  • mds: handle heartbeat_reset during shutdown (#10382 John Spray)
  • mds: handle zero-size xattr (#10335 Yan, Zheng)
  • mds: initialize root inode xattr version (Yan, Zheng)
  • mds: introduce auth caps (John Spray)
  • mds: many many snapshot-related fixes (Yan, Zheng)
  • mds: misc bugs (Greg Farnum, John Spray, Yan, Zheng, Henry Change)
  • mds: refactor, improve Session storage (John Spray)
  • mds: store backtrace for stray dir (Yan, Zheng)
  • mds: subtree quota support (Yunchuan Wen)
  • mds: verify backtrace when fetching dirfrag (#9557 Yan, Zheng)
  • memstore: free space tracking (John Spray)
  • misc cleanup (Danny Al-Gaaf, David Anderson)
  • misc coverity fixes (Danny Al-Gaaf)
  • misc coverity fixes (Danny Al-Gaaf)
  • misc: various valgrind fixes and cleanups (Danny Al-Gaaf)
  • mon: ‘osd crush reweight-all’ command (Sage Weil)
  • mon: add ‘ceph osd rename-bucket …’ command (Loic Dachary)
  • mon: add bootstrap-rgw profile (Sage Weil)
  • mon: add max pgs per osd warning (Sage Weil)
  • mon: add noforward flag for some mon commands (Mykola Golub)
  • mon: allow adding tiers to fs pools (#10135 John Spray)
  • mon: allow full flag to be manually cleared (#9323 Sage Weil)
  • mon: clean up auth list output (Loic Dachary)
  • mon: delay failure injection (Joao Eduardo Luis)
  • mon: disallow empty pool names (#10555 Wido den Hollander)
  • mon: do not deactivate last mds (#10862 John Spray)
  • mon: do not pollute mon dir with CSV files from CRUSH check (Loic Dachary)
  • mon: drop old ceph_mon_store_converter (Sage Weil)
  • mon: fix ‘ceph pg dump_stuck degraded’ (Xinxin Shu)
  • mon: fix ‘mds fail’ for standby MDSs (John Spray)
  • mon: fix ‘osd crush link’ id resolution (John Spray)
  • mon: fix ‘profile osd’ use of config-key function on mon (#10844 Joao Eduardo Luis)
  • mon: fix _ratio units and types (Sage Weil)
  • mon: fix JSON dumps to dump floats as flots and not strings (Sage Weil)
  • mon: fix MDS health status from peons (#10151 John Spray)
  • mon: fix caching for min_last_epoch_clean (#9987 Sage Weil)
  • mon: fix clock drift time check interval (#10546 Joao Eduardo Luis)
  • mon: fix compatset initalization during mkfs (Joao Eduardo Luis)
  • mon: fix error output for add_data_pool (#9852 Joao Eduardo Luis)
  • mon: fix feature tracking during elections (Joao Eduardo Luis)
  • mon: fix formatter ‘pg stat’ command output (Sage Weil)
  • mon: fix mds gid/rank/state parsing (John Spray)
  • mon: fix misc error paths (Joao Eduardo Luis)
  • mon: fix paxos off-by-one corner case (#9301 Sage Weil)
  • mon: fix paxos timeouts (#10220 Joao Eduardo Luis)
  • mon: fix stashed monmap encoding (#5203 Xie Rui)
  • mon: fix units in store stats (Joao Eduardo Luis)
  • mon: get canonical OSDMap from leader (#10422 Sage Weil)
  • mon: ignore failure reports from before up_from (#10762 Dan van der Ster, Sage Weil)
  • mon: implement ‘fs reset’ command (John Spray)
  • mon: improve error handling on erasure code profile set (#10488, #11144 Loic Dachary)
  • mon: improved corrupt CRUSH map detection (Joao Eduardo Luis)
  • mon: include entity name in audit log for forwarded requests (#9913 Joao Eduardo Luis)
  • mon: include pg_temp count in osdmap summary (Sage Weil)
  • mon: log health summary to cluster log (#9440 Joao Eduardo Luis)
  • mon: make ‘mds fail’ idempotent (John Spray)
  • mon: make pg dump {sum,pgs,pgs_brief} work for format=plain (#5963 #6759 Mykola Golub)
  • mon: new ‘ceph pool ls [detail]’ command (Sage Weil)
  • mon: new pool safety flags nodelete, nopgchange, nosizechange (#9792 Mykola Golub)
  • mon: new, friendly ‘ceph pg ls …’ command (Xinxin Shu)
  • mon: paxos: allow reads while proposing (#9321 #9322 Joao Eduardo Luis)
  • mon: prevent MDS transition from STOPPING (#10791 Greg Farnum)
  • mon: propose all pending work in one transaction (Sage Weil)
  • mon: remove pg_temps for nonexistent pools (Joao Eduardo Luis)
  • mon: require mon_allow_pool_delete option to remove pools (Sage Weil)
  • mon: respect down flag when promoting standbys (John Spray)
  • mon: set globalid prealloc to larger value (Sage Weil)
  • mon: set {read,write}_tier on ‘osd tier add-cache …’ (Jianpeng Ma)
  • mon: skip zeroed osd stats in get_rule_avail (#10257 Joao Eduardo Luis)
  • mon: validate min_size range (Jianpeng Ma)
  • mon: wait for writeable before cross-proposing (#9794 Joao Eduardo Luis)
  • mount.ceph: fix suprious error message (#10351 Yan, Zheng)
  • ms: xio: fix misc bugs (Matt Benjamin, Vu Pham)
  • msgr: async: bind threads to CPU cores, improved poll (Haomai Wang)
  • msgr: async: many fixes, unit tests (Haomai Wang)
  • msgr: async: several fixes (Haomai Wang)
  • msgr: asyncmessenger: add kqueue support (#9926 Haomai Wang)
  • msgr: avoid useless new/delete (Haomai Wang)
  • msgr: fix RESETSESSION bug (#10080 Greg Farnum)
  • msgr: fix crc configuration (Mykola Golub)
  • msgr: fix delay injection bug (#9910 Sage Weil, Greg Farnum)
  • msgr: misc unit tests (Haomai Wang)
  • msgr: new AsymcMessenger alternative implementation (Haomai Wang)
  • msgr: prefetch data when doing recv (Yehuda Sadeh)
  • msgr: simple: fix rare deadlock (Greg Farnum)
  • msgr: simple: retry binding to port on failure (#10029 Wido den Hollander)
  • msgr: xio: XioMessenger RDMA support (Casey Bodley, Vu Pham, Matt Benjamin)
  • objectstore: deprecate collection attrs (Sage Weil)
  • osd, librados: fadvise-style librados hints (Jianpeng Ma)
  • osd, librados: fix xattr_cmp_u64 (Dongmao Zhang)
  • osd, librados: revamp PG listing API to handle namespaces (#9031 #9262 #9438 David Zafman)
  • osd, mds: ‘ops’ as shorthand for ‘dump_ops_in_flight’ on asok (Sage Weil)
  • osd, mon: add checksums to all OSDMaps (Sage Weil)
  • osd, mon: send intiial pg create time from mon to osd (#9887 David Zafman)
  • osd,mon: add ‘norebalance’ flag (Kefu Chai)
  • osd,mon: specify OSD features explicitly in MOSDBoot (#10911 Sage Weil)
  • osd: DBObjectMap: fix locking to prevent rare crash (#9891 Samuel Just)
  • osd: EIO on whole-object reads when checksum is wrong (Sage Weil)
  • osd: add erasure code corpus (Loic Dachary)
  • osd: add fadvise flags to ObjectStore API (Jianpeng Ma)
  • osd: add get_latest_osdmap asok command (#9483 #9484 Mykola Golub)
  • osd: add misc tests (Loic Dachary, Danny Al-Gaaf)
  • osd: add option to prioritize heartbeat network traffic (Jian Wen)
  • osd: add support for the SHEC erasure-code algorithm (Takeshi Miyamae, Loic Dachary)
  • osd: allow deletion of objects with watcher (#2339 Sage Weil)
  • osd: allow recovery while below min_size (Samuel Just)
  • osd: allow recovery with fewer than min_size OSDs (Samuel Just)
  • osd: allow sparse read for Push/Pull (Haomai Wang)
  • osd: allow whiteout deletion in cache pool (Sage Weil)
  • osd: allow writes to degraded objects (Samuel Just)
  • osd: allow writes to degraded objects (Samuel Just)
  • osd: avoid publishing unchanged PG stats (Sage Weil)
  • osd: batch pg log trim (Xinze Chi)
  • osd: cache pool: ignore min flush age when cache is full (Xinze Chi)
  • osd: cache recent ObjectContexts (Dong Yuan)
  • osd: cache reverse_nibbles hash value (Dong Yuan)
  • osd: clean up internal ObjectStore interface (Sage Weil)
  • osd: cleanup boost optionals (William Kennington)
  • osd: clear cache on interval change (Samuel Just)
  • osd: do no proxy reads unless target OSDs are new (#10788 Sage Weil)
  • osd: do not abort deep scrub on missing hinfo (#10018 Loic Dachary)
  • osd: do not update digest on inconsistent object (#10524 Samuel Just)
  • osd: don’t record digests for snapdirs (#10536 Samuel Just)
  • osd: drop upgrade support for pre-dumpling (Sage Weil)
  • osd: enable and use posix_fadvise (Sage Weil)
  • osd: erasure coding: allow bench.sh to test ISA backend (Yuan Zhou)
  • osd: erasure-code: encoding regression tests, corpus (#9420 Loic Dachary)
  • osd: erasure-code: enforce chunk size alignment (#10211 Loic Dachary)
  • osd: erasure-code: jerasure support for NEON (Loic Dachary)
  • osd: erasure-code: relax cauchy w restrictions (#10325 David Zhang, Loic Dachary)
  • osd: erasure-code: update gf-complete to latest upstream (Loic Dachary)
  • osd: expose non-journal backends via ceph-osd CLI (Hoamai Wang)
  • osd: filejournal: don’t cache journal when not using direct IO (Jianpeng Ma)
  • osd: fix JSON output for stray OSDs (Loic Dachary)
  • osd: fix OSDCap parser on old (el6) boost::spirit (#10757 Kefu Chai)
  • osd: fix OSDCap parsing on el6 (#10757 Kefu Chai)
  • osd: fix ObjectStore::Transaction encoding version (#10734 Samuel Just)
  • osd: fix WBTHrottle perf counters (Haomai Wang)
  • osd: fix and document last_epoch_started semantics (Samuel Just)
  • osd: fix auth object selection during repair (#10524 Samuel Just)
  • osd: fix backfill bug (#10150 Samuel Just)
  • osd: fix bug in pending digest updates (#10840 Samuel Just)
  • osd: fix cancel_proxy_read_ops (Sage Weil)
  • osd: fix cleanup of interrupted pg deletion (#10617 Sage Weil)
  • osd: fix divergent entry handling on PG split (Samuel Just)
  • osd: fix ghobject_t formatted output to include shard (#10063 Loic Dachary)
  • osd: fix ioprio option (Mykola Golub)
  • osd: fix ioprio options (Loic Dachary)
  • osd: fix journal shutdown race (Sage Weil)
  • osd: fix journal wrapping bug (#10883 David Zafman)
  • osd: fix leak in SnapTrimWQ (#10421 Kefu Chai)
  • osd: fix leak on shutdown (Kefu Chai)
  • osd: fix memstore free space calculation (Xiaoxi Chen)
  • osd: fix mixed-version peering issues (Samuel Just)
  • osd: fix object age eviction (Zhiqiang Wang)
  • osd: fix object atime calculation (Xinze Chi)
  • osd: fix object digest update bug (#10840 Samuel Just)
  • osd: fix occasional peering stalls (#10431 Sage Weil)
  • osd: fix ordering issue with new transaction encoding (#10534 Dong Yuan)
  • osd: fix osd peer check on scrub messages (#9555 Sage Weil)
  • osd: fix past_interval display bug (#9752 Loic Dachary)
  • osd: fix past_interval generation (#10427 #10430 David Zafman)
  • osd: fix pgls filter ops (#9439 David Zafman)
  • osd: fix recording of digest on scrub (Samuel Just)
  • osd: fix scrub delay bug (#10693 Samuel Just)
  • osd: fix scrub vs try-flush bug (#8011 Samuel Just)
  • osd: fix short read handling on push (#8121 David Zafman)
  • osd: fix stderr with -f or -d (Dan Mick)
  • osd: fix transaction accounting (Jianpeng Ma)
  • osd: fix watch reconnect race (#10441 Sage Weil)
  • osd: fix watch timeout cache state update (#10784 David Zafman)
  • osd: fix whiteout handling (Sage Weil)
  • osd: flush snapshots from cache tier immediately (Sage Weil)
  • osd: force promotion of watch/notify ops (Zhiqiang Wang)
  • osd: handle no-op write with snapshot (#10262 Sage Weil)
  • osd: improve idempotency detection across cache promotion/demotion (#8935 Sage Weil, Samuel Just)
  • osd: include activating peers in blocked_by (#10477 Sage Weil)
  • osd: jerasure and gf-complete updates from upstream (#10216 Loic Dachary)
  • osd: journal: check fsync/fdatasync result (Jianpeng Ma)
  • osd: journal: fix alignment checks, avoid useless memmove (Jianpeng Ma)
  • osd: journal: fix hang on shutdown (#10474 David Zafman)
  • osd: journal: fix header.committed_up_to (Xinze Chi)
  • osd: journal: fix journal zeroing when direct IO is enabled (Xie Rui)
  • osd: journal: initialize throttle (Ning Yao)
  • osd: journal: misc bug fixes (#6003 David Zafman, Samuel Just)
  • osd: journal: update committed_thru after replay (#6756 Samuel Just)
  • osd: keyvaluestore: cleanup dead code (Ning Yao)
  • osd: keyvaluestore: fix getattr semantics (Haomai Wang)
  • osd: keyvaluestore: fix key ordering (#10119 Haomai Wang)
  • osd: keyvaluestore_dev: optimization (Chendi Xue)
  • osd: limit in-flight read requests (Jason Dillaman)
  • osd: log when scrub or repair starts (Loic Dachary)
  • osd: make misdirected op checks robust for EC pools (#9835 Sage Weil)
  • osd: memstore: fix size limit (Xiaoxi Chen)
  • osd: misc FIEMAP fixes (Ma Jianpeng)
  • osd: misc cleanup (Xinze Chi, Yongyue Sun)
  • osd: misc optimizations (Xinxin Shu, Zhiqiang Wang, Xinze Chi)
  • osd: misc scrub fixes (#10017 Loic Dachary)
  • osd: new ‘activating’ state between peering and active (Sage Weil)
  • osd: new optimized encoding for ObjectStore::Transaction (Dong Yuan)
  • osd: optimize Finisher (Xinze Chi)
  • osd: optimize WBThrottle map with unordered_map (Ning Yao)
  • osd: optimize filter_snapc (Ning Yao)
  • osd: preserve reqids for idempotency checks for promote/demote (Sage Weil, Zhiqiang Wang, Samuel Just)
  • osd: proxy read support (Zhiqiang Wang)
  • osd: proxy reads during cache promote (Zhiqiang Wang)
  • osd: remove dead locking code (Xinxin Shu)
  • osd: remove legacy classic scrub code (Sage Weil)
  • osd: remove unused fields in MOSDSubOp (Xiaoxi Chen)
  • osd: removed some dead code (Xinze Chi)
  • osd: replace MOSDSubOp messages with simpler, optimized MOSDRepOp (Xiaoxi Chen)
  • osd: restrict scrub to certain times of day (Xinze Chi)
  • osd: rocksdb: fix shutdown (Hoamai Wang)
  • osd: store PG metadata in per-collection objects for better concurrency (Sage Weil)
  • osd: store whole-object checksums on scrub, write_full (Sage Weil)
  • osd: support for discard for journal trim (Jianpeng Ma)
  • osd: use FIEMAP_FLAGS_SYNC instead of fsync (Jianpeng Ma)
  • osd: verify kernel is new enough before using XFS extsize ioctl, enable by default (#9956 Sage Weil)
  • pybind: fix memory leak in librados bindings (Billy Olsen)
  • pyrados: add object lock support (#6114 Mehdi Abaakouk)
  • pyrados: fix misnamed wait_* routings (#10104 Dan Mick)
  • pyrados: misc cleanups (Kefu Chai)
  • qa: add large auth ticket tests (Ilya Dryomov)
  • qa: fix mds tests (#10539 John Spray)
  • qa: fix osd create dup tests (#10083 Loic Dachary)
  • qa: ignore duplicates in rados ls (Josh Durgin)
  • qa: improve hadoop tests (Noah Watkins)
  • qa: many ‘make check’ improvements (Loic Dachary)
  • qa: misc tests (Loic Dachary, Yan, Zheng)
  • qa: parallelize make check (Loic Dachary)
  • qa: reorg fs quota tests (Greg Farnum)
  • qa: tolerate nearly-full disk for make check (Loic Dachary)
  • rados: fix put of /dev/null (Loic Dachary)
  • rados: fix usage (Jianpeng Ma)
  • rados: parse command-line arguments more strictly (#8983 Adam Crume)
  • rados: use copy-from operation for copy, cppool (Sage Weil)
  • radosgw-admin: add replicalog update command (Yehuda Sadeh)
  • rbd-fuse: clean up on shutdown (Josh Durgin)
  • rbd-fuse: fix memory leak (Adam Crume)
  • rbd-replay-many (Adam Crume)
  • rbd-replay: –anonymize flag to rbd-replay-prep (Adam Crume)
  • rbd: add ‘merge-diff’ function (MingXin Liu, Yunchuan Wen, Li Wang)
  • rbd: allow v2 striping parameters for clones and imports (Jason Dillaman)
  • rbd: fix ‘rbd diff’ for non-existent objects (Adam Crume)
  • rbd: fix buffer handling on image import (#10590 Jason Dillaman)
  • rbd: fix error when striping with format 1 (Sebastien Han)
  • rbd: fix export for image sizes over 2GB (Vicente Cheng)
  • rbd: fix formatted output of image features (Jason Dillaman)
  • rbd: leave exclusive lockin goff by default (Jason Dillaman)
  • rbd: updat eman page (Ilya Dryomov)
  • rbd: update init-rbdmap to fix dup mount point (Karel Striegel)
  • rbd: use IO hints for import, export, and bench operations (#10462 Jason Dillaman)
  • rbd: use rolling average for rbd bench-write throughput (Jason Dillaman)
  • rbd_recover_tool: RBD image recovery tool (Min Chen)
  • rgw: S3-style object versioning support (Yehuda Sadeh)
  • rgw: add location header when object is in another region (VRan Liu)
  • rgw: change multipart upload id magic (#10271 Yehuda Sadeh)
  • rgw: check keystone auth for S3 POST requests (#10062 Abhishek Lekshmanan)
  • rgw: check timestamp on s3 keystone auth (#10062 Abhishek Lekshmanan)
  • rgw: conditional PUT on ETag (#8562 Ray Lv)
  • rgw: create subuser if needed when creating user (#10103 Yehuda Sadeh)
  • rgw: decode http query params correction (#10271 Yehuda Sadeh)
  • rgw: don’t overwrite bucket/object owner when setting ACLs (#10978 Yehuda Sadeh)
  • rgw: enable IPv6 for civetweb (#10965 Yehuda Sadeh)
  • rgw: extend replica log API (purge-all) (Yehuda Sadeh)
  • rgw: fail S3 POST if keystone not configured (#10688 Valery Tschopp, Yehuda Sadeh)
  • rgw: fix If-Modified-Since (VRan Liu)
  • rgw: fix XML header on get ACL request (#10106 Yehuda Sadeh)
  • rgw: fix bucket removal with data purge (Yehuda Sadeh)
  • rgw: fix content length check (#10701 Axel Dunkel, Yehuda Sadeh)
  • rgw: fix content-length update (#9576 Yehuda Sadeh)
  • rgw: fix disabling of max_size quota (#9907 Dong Lei)
  • rgw: fix error codes (#10334 #10329 Yehuda Sadeh)
  • rgw: fix incorrect len when len is 0 (#9877 Yehuda Sadeh)
  • rgw: fix object copy content type (#9478 Yehuda Sadeh)
  • rgw: fix partial GET in swift (#10553 Yehuda Sadeh)
  • rgw: fix replica log indexing (#8251 Yehuda Sadeh)
  • rgw: fix shutdown (#10472 Yehuda Sadeh)
  • rgw: fix swift metadata header name (Dmytro Iurchenko)
  • rgw: fix sysvinit script when rgw_socket_path is not defined (#11159 Yehuda Sadeh, Dan Mick)
  • rgw: fix user stags in get-user-info API (#9359 Ray Lv)
  • rgw: include XML ns on get ACL request (#10106 Yehuda Sadeh)
  • rgw: index swift keys appropriately (#10471 Yehuda Sadeh)
  • rgw: make sysvinit script set ulimit -n properly (Sage Weil)
  • rgw: misc fixes (#10307 Yehuda Sadeh)
  • rgw: only track cleanup for objects we write (#10311 Yehuda Sadeh)
  • rgw: pass civetweb configurables through (#10907 Yehuda Sadeh)
  • rgw: prevent illegal bucket policy that doesn’t match placement rule (Yehuda Sadeh)
  • rgw: remove multipart entries from bucket index on abort (#10719 Yehuda Sadeh)
  • rgw: remove swift user manifest (DLO) hash calculation (#9973 Yehuda Sadeh)
  • rgw: respond with 204 to POST on containers (#10667 Yuan Zhou)
  • rgw: return timestamp on GET/HEAD (#8911 Yehuda Sadeh)
  • rgw: reuse fcgx connection struct (#10194 Yehuda Sadeh)
  • rgw: run radosgw as apache with systemd (#10125 Loic Dachary)
  • rgw: send explicit HTTP status string (Yehuda Sadeh)
  • rgw: set ETag on object copy (#9479 Yehuda Sadeh)
  • rgw: set length for keystone token validation request (#7796 Yehuda Sadeh, Mark Kirkwood)
  • rgw: support X-Storage-Policy header for Swift storage policy compat (Yehuda Sadeh)
  • rgw: support multiple host names (#7467 Yehuda Sadeh)
  • rgw: swift: dump container’s custom metadata (#10665 Ahmad Faheem, Dmytro Iurchenko)
  • rgw: swift: support Accept header for response format (#10746 Dmytro Iurchenko)
  • rgw: swift: support for X-Remove-Container-Meta-{key} (#10475 Dmytro Iurchenko)
  • rgw: tweak error codes (#10329 #10334 Yehuda Sadeh)
  • rgw: update bucket index on attr changes, for multi-site sync (#5595 Yehuda Sadeh)
  • rgw: use rn for http headers (#9254 Yehuda Sadeh)
  • rgw: use gc for multipart abort (#10445 Aaron Bassett, Yehuda Sadeh)
  • rgw: use new watch/notify API (Yehuda Sadeh, Sage Weil)
  • rpm: misc fixes (Key Dreyer)
  • rpm: move rgw logrotate to radosgw subpackage (Ken Dreyer)
  • systemd: better systemd unit files (Owen Synge)
  • sysvinit: fix race in ‘stop’ (#10389 Loic Dachary)
  • test: fix bufferlist tests (Jianpeng Ma)
  • tests: ability to run unit tests under docker (Loic Dachary)
  • tests: centos-6 dockerfile (#10755 Loic Dachary)
  • tests: improve docker-based tests (Loic Dachary)
  • tests: unit tests for shared_cache (Dong Yuan)
  • udev: fix rules for CentOS7/RHEL7 (Loic Dachary)
  • use clock_gettime instead of gettimeofday (Jianpeng Ma)
  • vstart.sh: set up environment for s3-tests (Luis Pabon)
  • vstart.sh: work with cmake (Yehuda Sadeh)

v0.93

This is the first release candidate for Hammer, and includes all of the features that will be present in the final release. We welcome and encourage any and all testing in non-production clusters to identify any problems with functionality, stability, or performance before the final Hammer release.

We suggest some caution in one area: librbd. There is a lot of new functionality around object maps and locking that is disabled by default but may still affect stability for existing images. We are continuing to shake out those bugs so that the final Hammer release (probably v0.94) will be rock solid.

Major features since Giant include:

  • cephfs: journal scavenger repair tool (John Spray)
  • crush: new and improved straw2 bucket type (Sage Weil, Christina Anderson, Xiaoxi Chen)
  • doc: improved guidance for CephFS early adopters (John Spray)
  • librbd: add per-image object map for improved performance (Jason Dillaman)
  • librbd: copy-on-read (Min Chen, Li Wang, Yunchuan Wen, Cheng Cheng)
  • librados: fadvise-style IO hints (Jianpeng Ma)
  • mds: many many snapshot-related fixes (Yan, Zheng)
  • mon: new ‘ceph osd df’ command (Mykola Golub)
  • mon: new ‘ceph pg ls …’ command (Xinxin Shu)
  • osd: improved performance for high-performance backends
  • osd: improved recovery behavior (Samuel Just)
  • osd: improved cache tier behavior with reads (Zhiqiang Wang)
  • rgw: S3-compatible bucket versioning support (Yehuda Sadeh)
  • rgw: large bucket index sharding (Guang Yang, Yehuda Sadeh)
  • RDMA “xio” messenger support (Matt Benjamin, Vu Pham)

Upgrading

  • If you are upgrading from v0.92, you must stop all OSD daemons and flush their journals (ceph-osd -i NNN --flush-journal) before upgrading. There was a transaction encoding bug in v0.92 that broke compatibility. Upgrading from v0.91 or anything earlier is safe.
  • No special restrictions when upgrading from firefly or giant.

Notable Changes

  • build: CMake support (Ali Maredia, Casey Bodley, Adam Emerson, Marcus Watts, Matt Benjamin)
  • ceph-disk: do not re-use partition if encryption is required (Loic Dachary)
  • ceph-disk: support LUKS for encrypted partitions (Andrew Bartlett, Loic Dachary)
  • ceph-fuse,libcephfs: add support for O_NOFOLLOW and O_PATH (Greg Farnum)
  • ceph-fuse,libcephfs: resend requests before completing cap reconnect (#10912 Yan, Zheng)
  • ceph-fuse: select kernel cache invalidation mechanism based on kernel version (Greg Farnum)
  • ceph-objectstore-tool: improved import (David Zafman)
  • ceph-objectstore-tool: misc improvements, fixes (#9870 #9871 David Zafman)
  • ceph: add ‘ceph osd df [tree]’ command (#10452 Mykola Golub)
  • ceph: fix ‘ceph tell …’ command validation (#10439 Joao Eduardo Luis)
  • ceph: improve ‘ceph osd tree’ output (Mykola Golub)
  • cephfs-journal-tool: add recover_dentries function (#9883 John Spray)
  • common: add newline to flushed json output (Sage Weil)
  • common: filtering for ‘perf dump’ (John Spray)
  • common: fix Formatter factory breakage (#10547 Loic Dachary)
  • common: make json-pretty output prettier (Sage Weil)
  • crush: new and improved straw2 bucket type (Sage Weil, Christina Anderson, Xiaoxi Chen)
  • crush: update tries stats for indep rules (#10349 Loic Dachary)
  • crush: use larger choose_tries value for erasure code rulesets (#10353 Loic Dachary)
  • debian,rpm: move RBD udev rules to ceph-common (#10864 Ken Dreyer)
  • debian: split python-ceph into python-{rbd,rados,cephfs} (Boris Ranto)
  • doc: CephFS disaster recovery guidance (John Spray)
  • doc: CephFS for early adopters (John Spray)
  • doc: fix OpenStack Glance docs (#10478 Sebastien Han)
  • doc: misc updates (#9793 #9922 #10204 #10203 Travis Rhoden, Hazem, Ayari, Florian Coste, Andy Allan, Frank Yu, Baptiste Veuillez-Mainard, Yuan Zhou, Armando Segnini, Robert Jansen, Tyler Brekke, Viktor Suprun)
  • doc: replace cloudfiles with swiftclient Python Swift example (Tim Freund)
  • erasure-code: add mSHEC erasure code support (Takeshi Miyamae)
  • erasure-code: improved docs (#10340 Loic Dachary)
  • erasure-code: set max_size to 20 (#10363 Loic Dachary)
  • libcephfs,ceph-fuse: fix getting zero-length xattr (#10552 Yan, Zheng)
  • librados: add blacklist_add convenience method (Jason Dillaman)
  • librados: expose rados_{read|write}_op_assert_version in C API (Kim Vandry)
  • librados: fix pool name caching (#10458 Radoslaw Zarzynski)
  • librados: fix resource leak, misc bugs (#10425 Radoslaw Zarzynski)
  • librados: fix some watch/notify locking (Jason Dillaman, Josh Durgin)
  • libradosstriper: fix write_full when ENOENT (#10758 Sebastien Ponce)
  • librbd: CRC protection for RBD image map (Jason Dillaman)
  • librbd: add per-image object map for improved performance (Jason Dillaman)
  • librbd: add support for an “object map” indicating which objects exist (Jason Dillaman)
  • librbd: adjust internal locking (Josh Durgin, Jason Dillaman)
  • librbd: better handling of watch errors (Jason Dillaman)
  • librbd: coordinate maint operations through lock owner (Jason Dillaman)
  • librbd: copy-on-read (Min Chen, Li Wang, Yunchuan Wen, Cheng Cheng, Jason Dillaman)
  • librbd: enforce write ordering with a snapshot (Jason Dillaman)
  • librbd: fadvise-style hints; add misc hints for certain operations (Jianpeng Ma)
  • librbd: fix coverity false-positives (Jason Dillaman)
  • librbd: fix snap create races (Jason Dillaman)
  • librbd: flush AIO operations asynchronously (#10714 Jason Dillaman)
  • librbd: make async versions of long-running maint operations (Jason Dillaman)
  • librbd: mock tests (Jason Dillaman)
  • librbd: optionally blacklist clients before breaking locks (#10761 Jason Dillaman)
  • librbd: prevent copyup during shrink (Jason Dillaman)
  • mds: add cephfs-table-tool (John Spray)
  • mds: avoid sending traceless replies in most cases (Yan, Zheng)
  • mds: export dir asok command (John Spray)
  • mds: fix stray/purge perfcounters (#10388 John Spray)
  • mds: handle heartbeat_reset during shutdown (#10382 John Spray)
  • mds: many many snapshot-related fixes (Yan, Zheng)
  • mds: refactor, improve Session storage (John Spray)
  • misc coverity fixes (Danny Al-Gaaf)
  • mon: add noforward flag for some mon commands (Mykola Golub)
  • mon: disallow empty pool names (#10555 Wido den Hollander)
  • mon: do not deactivate last mds (#10862 John Spray)
  • mon: drop old ceph_mon_store_converter (Sage Weil)
  • mon: fix ‘ceph pg dump_stuck degraded’ (Xinxin Shu)
  • mon: fix ‘profile osd’ use of config-key function on mon (#10844 Joao Eduardo Luis)
  • mon: fix compatset initalization during mkfs (Joao Eduardo Luis)
  • mon: fix feature tracking during elections (Joao Eduardo Luis)
  • mon: fix mds gid/rank/state parsing (John Spray)
  • mon: ignore failure reports from before up_from (#10762 Dan van der Ster, Sage Weil)
  • mon: improved corrupt CRUSH map detection (Joao Eduardo Luis)
  • mon: include pg_temp count in osdmap summary (Sage Weil)
  • mon: log health summary to cluster log (#9440 Joao Eduardo Luis)
  • mon: make ‘mds fail’ idempotent (John Spray)
  • mon: make pg dump {sum,pgs,pgs_brief} work for format=plain (#5963 #6759 Mykola Golub)
  • mon: new pool safety flags nodelete, nopgchange, nosizechange (#9792 Mykola Golub)
  • mon: new, friendly ‘ceph pg ls …’ command (Xinxin Shu)
  • mon: prevent MDS transition from STOPPING (#10791 Greg Farnum)
  • mon: propose all pending work in one transaction (Sage Weil)
  • mon: remove pg_temps for nonexistent pools (Joao Eduardo Luis)
  • mon: require mon_allow_pool_delete option to remove pools (Sage Weil)
  • mon: set globalid prealloc to larger value (Sage Weil)
  • mon: skip zeroed osd stats in get_rule_avail (#10257 Joao Eduardo Luis)
  • mon: validate min_size range (Jianpeng Ma)
  • msgr: async: bind threads to CPU cores, improved poll (Haomai Wang)
  • msgr: fix crc configuration (Mykola Golub)
  • msgr: misc unit tests (Haomai Wang)
  • msgr: xio: XioMessenger RDMA support (Casey Bodley, Vu Pham, Matt Benjamin)
  • osd, librados: fadvise-style librados hints (Jianpeng Ma)
  • osd, librados: fix xattr_cmp_u64 (Dongmao Zhang)
  • osd,mon: add ‘norebalance’ flag (Kefu Chai)
  • osd,mon: specify OSD features explicitly in MOSDBoot (#10911 Sage Weil)
  • osd: add option to prioritize heartbeat network traffic (Jian Wen)
  • osd: add support for the SHEC erasure-code algorithm (Takeshi Miyamae, Loic Dachary)
  • osd: allow recovery while below min_size (Samuel Just)
  • osd: allow recovery with fewer than min_size OSDs (Samuel Just)
  • osd: allow writes to degraded objects (Samuel Just)
  • osd: allow writes to degraded objects (Samuel Just)
  • osd: avoid publishing unchanged PG stats (Sage Weil)
  • osd: cache recent ObjectContexts (Dong Yuan)
  • osd: clear cache on interval change (Samuel Just)
  • osd: do no proxy reads unless target OSDs are new (#10788 Sage Weil)
  • osd: do not update digest on inconsistent object (#10524 Samuel Just)
  • osd: don’t record digests for snapdirs (#10536 Samuel Just)
  • osd: fix OSDCap parser on old (el6) boost::spirit (#10757 Kefu Chai)
  • osd: fix OSDCap parsing on el6 (#10757 Kefu Chai)
  • osd: fix ObjectStore::Transaction encoding version (#10734 Samuel Just)
  • osd: fix auth object selection during repair (#10524 Samuel Just)
  • osd: fix bug in pending digest updates (#10840 Samuel Just)
  • osd: fix cancel_proxy_read_ops (Sage Weil)
  • osd: fix cleanup of interrupted pg deletion (#10617 Sage Weil)
  • osd: fix journal wrapping bug (#10883 David Zafman)
  • osd: fix leak in SnapTrimWQ (#10421 Kefu Chai)
  • osd: fix memstore free space calculation (Xiaoxi Chen)
  • osd: fix mixed-version peering issues (Samuel Just)
  • osd: fix object digest update bug (#10840 Samuel Just)
  • osd: fix ordering issue with new transaction encoding (#10534 Dong Yuan)
  • osd: fix past_interval generation (#10427 #10430 David Zafman)
  • osd: fix short read handling on push (#8121 David Zafman)
  • osd: fix watch timeout cache state update (#10784 David Zafman)
  • osd: force promotion of watch/notify ops (Zhiqiang Wang)
  • osd: improve idempotency detection across cache promotion/demotion (#8935 Sage Weil, Samuel Just)
  • osd: include activating peers in blocked_by (#10477 Sage Weil)
  • osd: jerasure and gf-complete updates from upstream (#10216 Loic Dachary)
  • osd: journal: check fsync/fdatasync result (Jianpeng Ma)
  • osd: journal: fix hang on shutdown (#10474 David Zafman)
  • osd: journal: fix header.committed_up_to (Xinze Chi)
  • osd: journal: initialize throttle (Ning Yao)
  • osd: journal: misc bug fixes (#6003 David Zafman, Samuel Just)
  • osd: misc cleanup (Xinze Chi, Yongyue Sun)
  • osd: new ‘activating’ state between peering and active (Sage Weil)
  • osd: preserve reqids for idempotency checks for promote/demote (Sage Weil, Zhiqiang Wang, Samuel Just)
  • osd: remove dead locking code (Xinxin Shu)
  • osd: restrict scrub to certain times of day (Xinze Chi)
  • osd: rocksdb: fix shutdown (Hoamai Wang)
  • pybind: fix memory leak in librados bindings (Billy Olsen)
  • qa: fix mds tests (#10539 John Spray)
  • qa: ignore duplicates in rados ls (Josh Durgin)
  • qa: improve hadoop tests (Noah Watkins)
  • qa: reorg fs quota tests (Greg Farnum)
  • rados: fix usage (Jianpeng Ma)
  • radosgw-admin: add replicalog update command (Yehuda Sadeh)
  • rbd-fuse: clean up on shutdown (Josh Durgin)
  • rbd: add ‘merge-diff’ function (MingXin Liu, Yunchuan Wen, Li Wang)
  • rbd: fix buffer handling on image import (#10590 Jason Dillaman)
  • rbd: leave exclusive lockin goff by default (Jason Dillaman)
  • rbd: update init-rbdmap to fix dup mount point (Karel Striegel)
  • rbd: use IO hints for import, export, and bench operations (#10462 Jason Dillaman)
  • rbd_recover_tool: RBD image recovery tool (Min Chen)
  • rgw: S3-style object versioning support (Yehuda Sadeh)
  • rgw: check keystone auth for S3 POST requests (#10062 Abhishek Lekshmanan)
  • rgw: extend replica log API (purge-all) (Yehuda Sadeh)
  • rgw: fail S3 POST if keystone not configured (#10688 Valery Tschopp, Yehuda Sadeh)
  • rgw: fix XML header on get ACL request (#10106 Yehuda Sadeh)
  • rgw: fix bucket removal with data purge (Yehuda Sadeh)
  • rgw: fix replica log indexing (#8251 Yehuda Sadeh)
  • rgw: fix swift metadata header name (Dmytro Iurchenko)
  • rgw: remove multipart entries from bucket index on abort (#10719 Yehuda Sadeh)
  • rgw: respond with 204 to POST on containers (#10667 Yuan Zhou)
  • rgw: reuse fcgx connection struct (#10194 Yehuda Sadeh)
  • rgw: support multiple host names (#7467 Yehuda Sadeh)
  • rgw: swift: dump container’s custom metadata (#10665 Ahmad Faheem, Dmytro Iurchenko)
  • rgw: swift: support Accept header for response format (#10746 Dmytro Iurchenko)
  • rgw: swift: support for X-Remove-Container-Meta-{key} (#10475 Dmytro Iurchenko)
  • rpm: move rgw logrotate to radosgw subpackage (Ken Dreyer)
  • tests: centos-6 dockerfile (#10755 Loic Dachary)
  • tests: unit tests for shared_cache (Dong Yuan)
  • vstart.sh: work with cmake (Yehuda Sadeh)

v0.92

This is the second-to-last chunk of new stuff before Hammer. Big items include additional checksums on OSD objects, proxied reads in the cache tier, image locking in RBD, optimized OSD Transaction and replication messages, and a big pile of RGW and MDS bug fixes.

Upgrading

  • The experimental ‘keyvaluestore-dev’ OSD backend has been renamed ‘keyvaluestore’ (for simplicity) and marked as experimental. To enable this untested feature and acknowledge that you understand that it is untested and may destroy data, you need to add the following to your ceph.conf:

    enable experimental unrecoverable data corrupting features = keyvaluestore
    
  • The following librados C API function calls take a ‘flags’ argument whose value is now correctly interpreted:

    rados_write_op_operate() rados_aio_write_op_operate() rados_read_op_operate() rados_aio_read_op_operate()

    The flags were not correctly being translated from the librados constants to the internal values. Now they are. Any code that is passing flags to these methods should be audited to ensure that they are using the correct LIBRADOS_OP_FLAG_* constants.

  • The ‘rados’ CLI ‘copy’ and ‘cppool’ commands now use the copy-from operation, which means the latest CLI cannot run these commands against pre-firefly OSDs.

  • The librados watch/notify API now includes a watch_flush() operation to flush the async queue of notify operations. This should be called by any watch/notify user prior to rados_shutdown().

Notable Changes

  • add experimental features option (Sage Weil)
  • build: fix ‘make check’ races (#10384 Loic Dachary)
  • build: fix pkg names when libkeyutils is missing (Pankag Garg, Ken Dreyer)
  • ceph: make ‘ceph -s’ show PG state counts in sorted order (Sage Weil)
  • ceph: make ‘ceph tell mon.* version’ work (Mykola Golub)
  • ceph-monstore-tool: fix/improve CLI (Joao Eduardo Luis)
  • ceph: show primary-affinity in ‘ceph osd tree’ (Mykola Golub)
  • common: add TableFormatter (Andreas Peters)
  • common: check syncfs() return code (Jianpeng Ma)
  • doc: do not suggest dangerous XFS nobarrier option (Dan van der Ster)
  • doc: misc updates (Nilamdyuti Goswami, John Wilkins)
  • install-deps.sh: do not require sudo when root (Loic Dachary)
  • libcephfs: fix dirfrag trimming (#10387 Yan, Zheng)
  • libcephfs: fix mount timeout (#10041 Yan, Zheng)
  • libcephfs: fix test (#10415 Yan, Zheng)
  • libcephfs: fix use-afer-free on umount (#10412 Yan, Zheng)
  • libcephfs: include ceph and git version in client metadata (Sage Weil)
  • librados: add watch_flush() operation (Sage Weil, Haomai Wang)
  • librados: avoid memcpy on getxattr, read (Jianpeng Ma)
  • librados: create ioctx by pool id (Jason Dillaman)
  • librados: do notify completion in fast-dispatch (Sage Weil)
  • librados: remove shadowed variable (Kefu Chain)
  • librados: translate op flags from C APIs (Matthew Richards)
  • librbd: differentiate between R/O vs R/W features (Jason Dillaman)
  • librbd: exclusive image locking (Jason Dillaman)
  • librbd: fix write vs import race (#10590 Jason Dillaman)
  • librbd: gracefully handle deleted/renamed pools (#10270 Jason Dillaman)
  • mds: asok command for fetching subtree map (John Spray)
  • mds: constify MDSCacheObjects (John Spray)
  • misc: various valgrind fixes and cleanups (Danny Al-Gaaf)
  • mon: fix ‘mds fail’ for standby MDSs (John Spray)
  • mon: fix stashed monmap encoding (#5203 Xie Rui)
  • mon: implement ‘fs reset’ command (John Spray)
  • mon: respect down flag when promoting standbys (John Spray)
  • mount.ceph: fix suprious error message (#10351 Yan, Zheng)
  • msgr: async: many fixes, unit tests (Haomai Wang)
  • msgr: simple: retry binding to port on failure (#10029 Wido den Hollander)
  • osd: add fadvise flags to ObjectStore API (Jianpeng Ma)
  • osd: add get_latest_osdmap asok command (#9483 #9484 Mykola Golub)
  • osd: EIO on whole-object reads when checksum is wrong (Sage Weil)
  • osd: filejournal: don’t cache journal when not using direct IO (Jianpeng Ma)
  • osd: fix ioprio option (Mykola Golub)
  • osd: fix scrub delay bug (#10693 Samuel Just)
  • osd: fix watch reconnect race (#10441 Sage Weil)
  • osd: handle no-op write with snapshot (#10262 Sage Weil)
  • osd: journal: fix journal zeroing when direct IO is enabled (Xie Rui)
  • osd: keyvaluestore: cleanup dead code (Ning Yao)
  • osd, mds: ‘ops’ as shorthand for ‘dump_ops_in_flight’ on asok (Sage Weil)
  • osd: memstore: fix size limit (Xiaoxi Chen)
  • osd: misc scrub fixes (#10017 Loic Dachary)
  • osd: new optimized encoding for ObjectStore::Transaction (Dong Yuan)
  • osd: optimize filter_snapc (Ning Yao)
  • osd: optimize WBThrottle map with unordered_map (Ning Yao)
  • osd: proxy reads during cache promote (Zhiqiang Wang)
  • osd: proxy read support (Zhiqiang Wang)
  • osd: remove legacy classic scrub code (Sage Weil)
  • osd: remove unused fields in MOSDSubOp (Xiaoxi Chen)
  • osd: replace MOSDSubOp messages with simpler, optimized MOSDRepOp (Xiaoxi Chen)
  • osd: store whole-object checksums on scrub, write_full (Sage Weil)
  • osd: verify kernel is new enough before using XFS extsize ioctl, enable by default (#9956 Sage Weil)
  • rados: use copy-from operation for copy, cppool (Sage Weil)
  • rgw: change multipart upload id magic (#10271 Yehuda Sadeh)
  • rgw: decode http query params correction (#10271 Yehuda Sadeh)
  • rgw: fix content length check (#10701 Axel Dunkel, Yehuda Sadeh)
  • rgw: fix partial GET in swift (#10553 Yehuda Sadeh)
  • rgw: fix shutdown (#10472 Yehuda Sadeh)
  • rgw: include XML ns on get ACL request (#10106 Yehuda Sadeh)
  • rgw: misc fixes (#10307 Yehuda Sadeh)
  • rgw: only track cleanup for objects we write (#10311 Yehuda Sadeh)
  • rgw: tweak error codes (#10329 #10334 Yehuda Sadeh)
  • rgw: use gc for multipart abort (#10445 Aaron Bassett, Yehuda Sadeh)
  • sysvinit: fix race in ‘stop’ (#10389 Loic Dachary)
  • test: fix bufferlist tests (Jianpeng Ma)
  • tests: improve docker-based tests (Loic Dachary)

v0.91

We are quickly approaching the Hammer feature freeze but have a few more dev releases to go before we get there. The headline items are subtree-based quota support in CephFS (ceph-fuse/libcephfs client support only for now), a rewrite of the watch/notify librados API used by RBD and RGW, OSDMap checksums to ensure that maps are always consistent inside the cluster, new API calls in librados and librbd for IO hinting modeled after posix_fadvise, and improved storage of per-PG state.

We expect two more releases before the Hammer feature freeze (v0.93).

Upgrading

  • The ‘category’ field for objects has been removed. This was originally added to track PG stat summations over different categories of objects for use by radosgw. It is no longer has any known users and is prone to abuse because it can lead to a pg_stat_t structure that is unbounded. The librados API calls that accept this field now ignore it, and the OSD no longer tracks the per-category summations.
  • The output for ‘rados df’ has changed. The ‘category’ level has been eliminated, so there is now a single stat object per pool. The structure of the JSON output is different, and the plaintext output has one less column.
  • The ‘rados create <objectname> [category]’ optional category argument is no longer supported or recognized.
  • rados.py’s Rados class no longer has a __del__ method; it was causing problems on interpreter shutdown and use of threads. If your code has Rados objects with limited lifetimes and you’re concerned about locked resources, call Rados.shutdown() explicitly.
  • There is a new version of the librados watch/notify API with vastly improved semantics. Any applications using this interface are encouraged to migrate to the new API. The old API calls are marked as deprecated and will eventually be removed.
  • The librados rados_unwatch() call used to be safe to call on an invalid handle. The new version has undefined behavior when passed a bogus value (for example, when rados_watch() returns an error and handle is not defined).
  • The structure of the formatted ‘pg stat’ command is changed for the portion that counts states by name to avoid using the ‘+’ character (which appears in state names) as part of the XML token (it is not legal).

Notable Changes

  • asyncmsgr: misc fixes (Haomai Wang)
  • buffer: add ‘shareable’ construct (Matt Benjamin)
  • build: aarch64 build fixes (Noah Watkins, Haomai Wang)
  • build: support for jemalloc (Shishir Gowda)
  • ceph-disk: allow journal partition re-use (#10146 Loic Dachary, Dav van der Ster)
  • ceph-disk: misc fixes (Christos Stavrakakis)
  • ceph-fuse: fix kernel cache trimming (#10277 Yan, Zheng)
  • ceph-objectstore-tool: many many improvements (David Zafman)
  • common: support new gperftools header locations (Key Dreyer)
  • crush: straw bucket weight calculation fixes (#9998 Sage Weil)
  • doc: misc improvements (Nilamdyuti Goswami, John Wilkins, Chris Holcombe)
  • libcephfs,ceph-fuse: add ‘status’ asok (John Spray)
  • librados, osd: new watch/notify implementation (Sage Weil)
  • librados: drop ‘category’ feature (Sage Weil)
  • librados: fix pool deletion handling (#10372 Sage Weil)
  • librados: new fadvise API (Ma Jianpeng)
  • libradosstriper: fix remove() (Dongmao Zhang)
  • librbd: complete pending ops before closing image (#10299 Josh Durgin)
  • librbd: fadvise API (Ma Jianpeng)
  • mds: ENOSPC and OSDMap epoch barriers (#7317 John Spray)
  • mds: dirfrag buf fix (Yan, Zheng)
  • mds: disallow most commands on inactive MDS’s (Greg Farnum)
  • mds: drop dentries, leases on deleted directories (#10164 Yan, Zheng)
  • mds: handle zero-size xattr (#10335 Yan, Zheng)
  • mds: subtree quota support (Yunchuan Wen)
  • memstore: free space tracking (John Spray)
  • misc cleanup (Danny Al-Gaaf, David Anderson)
  • mon: ‘osd crush reweight-all’ command (Sage Weil)
  • mon: allow full flag to be manually cleared (#9323 Sage Weil)
  • mon: delay failure injection (Joao Eduardo Luis)
  • mon: fix paxos timeouts (#10220 Joao Eduardo Luis)
  • mon: get canonical OSDMap from leader (#10422 Sage Weil)
  • msgr: fix RESETSESSION bug (#10080 Greg Farnum)
  • objectstore: deprecate collection attrs (Sage Weil)
  • osd, mon: add checksums to all OSDMaps (Sage Weil)
  • osd: allow deletion of objects with watcher (#2339 Sage Weil)
  • osd: allow sparse read for Push/Pull (Haomai Wang)
  • osd: cache reverse_nibbles hash value (Dong Yuan)
  • osd: drop upgrade support for pre-dumpling (Sage Weil)
  • osd: enable and use posix_fadvise (Sage Weil)
  • osd: erasure-code: enforce chunk size alignment (#10211 Loic Dachary)
  • osd: erasure-code: jerasure support for NEON (Loic Dachary)
  • osd: erasure-code: relax cauchy w restrictions (#10325 David Zhang, Loic Dachary)
  • osd: erasure-code: update gf-complete to latest upstream (Loic Dachary)
  • osd: fix WBTHrottle perf counters (Haomai Wang)
  • osd: fix backfill bug (#10150 Samuel Just)
  • osd: fix occasional peering stalls (#10431 Sage Weil)
  • osd: fix scrub vs try-flush bug (#8011 Samuel Just)
  • osd: fix stderr with -f or -d (Dan Mick)
  • osd: misc FIEMAP fixes (Ma Jianpeng)
  • osd: optimize Finisher (Xinze Chi)
  • osd: store PG metadata in per-collection objects for better concurrency (Sage Weil)
  • pyrados: add object lock support (#6114 Mehdi Abaakouk)
  • pyrados: fix misnamed wait_* routings (#10104 Dan Mick)
  • pyrados: misc cleanups (Kefu Chai)
  • qa: add large auth ticket tests (Ilya Dryomov)
  • qa: many ‘make check’ improvements (Loic Dachary)
  • qa: misc tests (Loic Dachary, Yan, Zheng)
  • rgw: conditional PUT on ETag (#8562 Ray Lv)
  • rgw: fix error codes (#10334 #10329 Yehuda Sadeh)
  • rgw: index swift keys appropriately (#10471 Yehuda Sadeh)
  • rgw: prevent illegal bucket policy that doesn’t match placement rule (Yehuda Sadeh)
  • rgw: run radosgw as apache with systemd (#10125 Loic Dachary)
  • rgw: support X-Storage-Policy header for Swift storage policy compat (Yehuda Sadeh)
  • rgw: use rn for http headers (#9254 Yehuda Sadeh)
  • rpm: misc fixes (Key Dreyer)

v0.90

This is the last development release before Christmas. There are some API cleanups for librados and librbd, and lots of bug fixes across the board for the OSD, MDS, RGW, and CRUSH. The OSD also gets support for discard (potentially helpful on SSDs, although it is off by default), and there are several improvements to ceph-disk.

The next two development releases will be getting a slew of new functionality for hammer. Stay tuned!

Upgrading

  • Previously, the formatted output of ‘ceph pg stat -f …’ was a full pg dump that included all metadata about all PGs in the system. It is now a concise summary of high-level PG stats, just like the unformatted ‘ceph pg stat’ command.
  • All JSON dumps of floating point values were incorrecting surrounding the value with quotes. These quotes have been removed. Any consumer of structured JSON output that was consuming the floating point values was previously having to interpret the quoted string and will most likely need to be fixed to take the unquoted number.

Notable Changes

  • arch: fix NEON feaeture detection (#10185 Loic Dachary)
  • build: adjust build deps for yasm, virtualenv (Jianpeng Ma)
  • build: improve build dependency tooling (Loic Dachary)
  • ceph-disk: call partx/partprobe consistency (#9721 Loic Dachary)
  • ceph-disk: fix dmcrypt key permissions (Loic Dachary)
  • ceph-disk: fix umount race condition (#10096 Blaine Gardner)
  • ceph-disk: init=none option (Loic Dachary)
  • ceph-monstore-tool: fix shutdown (#10093 Loic Dachary)
  • ceph-objectstore-tool: fix import (#10090 David Zafman)
  • ceph-objectstore-tool: many improvements and tests (David Zafman)
  • ceph.spec: package rbd-replay-prep (Ken Dreyer)
  • common: add ‘perf reset …’ admin command (Jianpeng Ma)
  • common: do not unlock rwlock on destruction (Federico Simoncelli)
  • common: fix block device discard check (#10296 Sage Weil)
  • common: remove broken CEPH_LOCKDEP optoin (Kefu Chai)
  • crush: fix tree bucket behavior (Rongze Zhu)
  • doc: add build-doc guidlines for Fedora and CentOS/RHEL (Nilamdyuti Goswami)
  • doc: enable rbd cache on openstack deployments (Sebastien Han)
  • doc: improved installation nots on CentOS/RHEL installs (John Wilkins)
  • doc: misc cleanups (Adam Spiers, Sebastien Han, Nilamdyuti Goswami, Ken Dreyer, John Wilkins)
  • doc: new man pages (Nilamdyuti Goswami)
  • doc: update release descriptions (Ken Dreyer)
  • doc: update sepia hardware inventory (Sandon Van Ness)
  • librados: only export public API symbols (Jason Dillaman)
  • libradosstriper: fix stat strtoll (Dongmao Zhang)
  • libradosstriper: fix trunc method (#10129 Sebastien Ponce)
  • librbd: fix list_children from invalid pool ioctxs (#10123 Jason Dillaman)
  • librbd: only export public API symbols (Jason Dillaman)
  • many coverity fixes (Danny Al-Gaaf)
  • mds: ‘flush journal’ admin command (John Spray)
  • mds: fix MDLog IO callback deadlock (John Spray)
  • mds: fix deadlock during journal probe vs purge (#10229 Yan, Zheng)
  • mds: fix race trimming log segments (Yan, Zheng)
  • mds: store backtrace for stray dir (Yan, Zheng)
  • mds: verify backtrace when fetching dirfrag (#9557 Yan, Zheng)
  • mon: add max pgs per osd warning (Sage Weil)
  • mon: fix _ratio units and types (Sage Weil)
  • mon: fix JSON dumps to dump floats as flots and not strings (Sage Weil)
  • mon: fix formatter ‘pg stat’ command output (Sage Weil)
  • msgr: async: several fixes (Haomai Wang)
  • msgr: simple: fix rare deadlock (Greg Farnum)
  • osd: batch pg log trim (Xinze Chi)
  • osd: clean up internal ObjectStore interface (Sage Weil)
  • osd: do not abort deep scrub on missing hinfo (#10018 Loic Dachary)
  • osd: fix ghobject_t formatted output to include shard (#10063 Loic Dachary)
  • osd: fix osd peer check on scrub messages (#9555 Sage Weil)
  • osd: fix pgls filter ops (#9439 David Zafman)
  • osd: flush snapshots from cache tier immediately (Sage Weil)
  • osd: keyvaluestore: fix getattr semantics (Haomai Wang)
  • osd: keyvaluestore: fix key ordering (#10119 Haomai Wang)
  • osd: limit in-flight read requests (Jason Dillaman)
  • osd: log when scrub or repair starts (Loic Dachary)
  • osd: support for discard for journal trim (Jianpeng Ma)
  • qa: fix osd create dup tests (#10083 Loic Dachary)
  • rgw: add location header when object is in another region (VRan Liu)
  • rgw: check timestamp on s3 keystone auth (#10062 Abhishek Lekshmanan)
  • rgw: make sysvinit script set ulimit -n properly (Sage Weil)
  • systemd: better systemd unit files (Owen Synge)
  • tests: ability to run unit tests under docker (Loic Dachary)

v0.89

This is the second development release since Giant. The big items include the first batch of scrub patchs from Greg for CephFS, a rework in the librados object listing API to properly handle namespaces, and a pile of bug fixes for RGW. There are also several smaller issues fixed up in the performance area with buffer alignment and memory copies, osd cache tiering agent, and various CephFS fixes.

Upgrading

  • New ability to list all objects from all namespaces can fail or return incomplete results when not all OSDs have been upgraded. Features rados –all ls, rados cppool, rados export, rados cache-flush-evict-all and rados cache-try-flush-evict-all can also fail or return incomplete results.

Notable Changes

  • buffer: add list::get_contiguous (Sage Weil)
  • buffer: avoid rebuild if buffer already contiguous (Jianpeng Ma)
  • ceph-disk: improved systemd support (Owen Synge)
  • ceph-disk: set guid if reusing journal partition (Dan van der Ster)
  • ceph-fuse, libcephfs: allow xattr caps in inject_release_failure (#9800 John Spray)
  • ceph-fuse, libcephfs: fix I_COMPLETE_ORDERED checks (#9894 Yan, Zheng)
  • ceph-fuse: fix dentry invalidation on 3.18+ kernels (#9997 Yan, Zheng)
  • crush: fix detach_bucket (#10095 Sage Weil)
  • crush: fix several bugs in adjust_item_weight (Rongze Zhu)
  • doc: add dumpling to firefly upgrade section (#7679 John Wilkins)
  • doc: document erasure coded pool operations (#9970 Loic Dachary)
  • doc: file system osd config settings (Kevin Dalley)
  • doc: key/value store config reference (John Wilkins)
  • doc: update openstack docs for Juno (Sebastien Han)
  • fix cluster logging from non-mon daemons (Sage Weil)
  • init-ceph: check for systemd-run before using it (Boris Ranto)
  • librados: fix infinite loop with skipped map epochs (#9986 Ding Dinghua)
  • librados: fix iterator operator= bugs (#10082 David Zafman, Yehuda Sadeh)
  • librados: fix null deref when pool DNE (#9944 Sage Weil)
  • librados: fix timer race from recent refactor (Sage Weil)
  • libradosstriper: fix shutdown hang (Dongmao Zhang)
  • librbd: don’t close a closed parent in failure path (#10030 Jason Dillaman)
  • librbd: fix diff test (#10002 Josh Durgin)
  • librbd: fix locking for readahead (#10045 Jason Dillaman)
  • librbd: refactor unit tests to use fixtures (Jason Dillaman)
  • many many coverity cleanups (Danny Al-Gaaf)
  • mds: a whole bunch of initial scrub infrastructure (Greg Farnum)
  • mds: fix compat_version for MClientSession (#9945 John Spray)
  • mds: fix reply snapbl (Yan, Zheng)
  • mon: allow adding tiers to fs pools (#10135 John Spray)
  • mon: fix MDS health status from peons (#10151 John Spray)
  • mon: fix caching for min_last_epoch_clean (#9987 Sage Weil)
  • mon: fix error output for add_data_pool (#9852 Joao Eduardo Luis)
  • mon: include entity name in audit log for forwarded requests (#9913 Joao Eduardo Luis)
  • mon: paxos: allow reads while proposing (#9321 #9322 Joao Eduardo Luis)
  • msgr: asyncmessenger: add kqueue support (#9926 Haomai Wang)
  • osd, librados: revamp PG listing API to handle namespaces (#9031 #9262 #9438 David Zafman)
  • osd, mon: send intiial pg create time from mon to osd (#9887 David Zafman)
  • osd: allow whiteout deletion in cache pool (Sage Weil)
  • osd: cache pool: ignore min flush age when cache is full (Xinze Chi)
  • osd: erasure coding: allow bench.sh to test ISA backend (Yuan Zhou)
  • osd: erasure-code: encoding regression tests, corpus (#9420 Loic Dachary)
  • osd: fix journal shutdown race (Sage Weil)
  • osd: fix object age eviction (Zhiqiang Wang)
  • osd: fix object atime calculation (Xinze Chi)
  • osd: fix past_interval display bug (#9752 Loic Dachary)
  • osd: journal: fix alignment checks, avoid useless memmove (Jianpeng Ma)
  • osd: journal: update committed_thru after replay (#6756 Samuel Just)
  • osd: keyvaluestore_dev: optimization (Chendi Xue)
  • osd: make misdirected op checks robust for EC pools (#9835 Sage Weil)
  • osd: removed some dead code (Xinze Chi)
  • qa: parallelize make check (Loic Dachary)
  • qa: tolerate nearly-full disk for make check (Loic Dachary)
  • rgw: create subuser if needed when creating user (#10103 Yehuda Sadeh)
  • rgw: fix If-Modified-Since (VRan Liu)
  • rgw: fix content-length update (#9576 Yehuda Sadeh)
  • rgw: fix disabling of max_size quota (#9907 Dong Lei)
  • rgw: fix incorrect len when len is 0 (#9877 Yehuda Sadeh)
  • rgw: fix object copy content type (#9478 Yehuda Sadeh)
  • rgw: fix user stags in get-user-info API (#9359 Ray Lv)
  • rgw: remove swift user manifest (DLO) hash calculation (#9973 Yehuda Sadeh)
  • rgw: return timestamp on GET/HEAD (#8911 Yehuda Sadeh)
  • rgw: set ETag on object copy (#9479 Yehuda Sadeh)
  • rgw: update bucket index on attr changes, for multi-site sync (#5595 Yehuda Sadeh)

v0.88

This is the first development release after Giant. The two main features merged this round are the new AsyncMessenger (an alternative implementation of the network layer) from Haomai Wang at UnitedStack, and support for POSIX file locks in ceph-fuse and libcephfs from Yan, Zheng. There is also a big pile of smaller items that re merged while we were stabilizing Giant, including a range of smaller performance and bug fixes and some new tracepoints for LTTNG.

Notable Changes

  • ceph-disk: Scientific Linux support (Dan van der Ster)
  • ceph-disk: respect –statedir for keyring (Loic Dachary)
  • ceph-fuse, libcephfs: POSIX file lock support (Yan, Zheng)
  • ceph-fuse, libcephfs: fix cap flush overflow (Greg Farnum, Yan, Zheng)
  • ceph-fuse, libcephfs: fix root inode xattrs (Yan, Zheng)
  • ceph-fuse, libcephfs: preserve dir ordering (#9178 Yan, Zheng)
  • ceph-fuse, libcephfs: trim inodes before reconnecting to MDS (Yan, Zheng)
  • ceph: do not parse injectargs twice (Loic Dachary)
  • ceph: make ‘ceph -s’ output more readable (Sage Weil)
  • ceph: new ‘ceph tell mds.$name_or_rank_or_gid’ (John Spray)
  • ceph: test robustness (Joao Eduardo Luis)
  • ceph_objectstore_tool: behave with sharded flag (#9661 David Zafman)
  • cephfs-journal-tool: fix journal import (#10025 John Spray)
  • cephfs-journal-tool: skip up to expire_pos (#9977 John Spray)
  • cleanup rados.h definitions with macros (Ilya Dryomov)
  • common: shared_cache unit tests (Cheng Cheng)
  • config: add $cctid meta variable (Adam Crume)
  • crush: fix buffer overrun for poorly formed rules (#9492 Johnu George)
  • crush: improve constness (Loic Dachary)
  • crushtool: add –location <id> command (Sage Weil, Loic Dachary)
  • default to libnss instead of crypto++ (Federico Gimenez)
  • doc: ceph osd reweight vs crush weight (Laurent Guerby)
  • doc: document the LRC per-layer plugin configuration (Yuan Zhou)
  • doc: erasure code doc updates (Loic Dachary)
  • doc: misc updates (Alfredo Deza, VRan Liu)
  • doc: preflight doc fixes (John Wilkins)
  • doc: update PG count guide (Gerben Meijer, Laurent Guerby, Loic Dachary)
  • keyvaluestore: misc fixes (Haomai Wang)
  • keyvaluestore: performance improvements (Haomai Wang)
  • librados: add rados_pool_get_base_tier() call (Adam Crume)
  • librados: cap buffer length (Loic Dachary)
  • librados: fix objecter races (#9617 Josh Durgin)
  • libradosstriper: misc fixes (Sebastien Ponce)
  • librbd: add missing python docstrings (Jason Dillaman)
  • librbd: add readahead (Adam Crume)
  • librbd: fix cache tiers in list_children and snap_unprotect (Adam Crume)
  • librbd: fix performance regression in ObjectCacher (#9513 Adam Crume)
  • librbd: lttng tracepoints (Adam Crume)
  • librbd: misc fixes (Xinxin Shu, Jason Dillaman)
  • mds: fix sessionmap lifecycle bugs (Yan, Zheng)
  • mds: initialize root inode xattr version (Yan, Zheng)
  • mds: introduce auth caps (John Spray)
  • mds: misc bugs (Greg Farnum, John Spray, Yan, Zheng, Henry Change)
  • misc coverity fixes (Danny Al-Gaaf)
  • mon: add ‘ceph osd rename-bucket …’ command (Loic Dachary)
  • mon: clean up auth list output (Loic Dachary)
  • mon: fix ‘osd crush link’ id resolution (John Spray)
  • mon: fix misc error paths (Joao Eduardo Luis)
  • mon: fix paxos off-by-one corner case (#9301 Sage Weil)
  • mon: new ‘ceph pool ls [detail]’ command (Sage Weil)
  • mon: wait for writeable before cross-proposing (#9794 Joao Eduardo Luis)
  • msgr: avoid useless new/delete (Haomai Wang)
  • msgr: fix delay injection bug (#9910 Sage Weil, Greg Farnum)
  • msgr: new AsymcMessenger alternative implementation (Haomai Wang)
  • msgr: prefetch data when doing recv (Yehuda Sadeh)
  • osd: add erasure code corpus (Loic Dachary)
  • osd: add misc tests (Loic Dachary, Danny Al-Gaaf)
  • osd: cleanup boost optionals (William Kennington)
  • osd: expose non-journal backends via ceph-osd CLI (Hoamai Wang)
  • osd: fix JSON output for stray OSDs (Loic Dachary)
  • osd: fix ioprio options (Loic Dachary)
  • osd: fix transaction accounting (Jianpeng Ma)
  • osd: misc optimizations (Xinxin Shu, Zhiqiang Wang, Xinze Chi)
  • osd: use FIEMAP_FLAGS_SYNC instead of fsync (Jianpeng Ma)
  • rados: fix put of /dev/null (Loic Dachary)
  • rados: parse command-line arguments more strictly (#8983 Adam Crume)
  • rbd-fuse: fix memory leak (Adam Crume)
  • rbd-replay-many (Adam Crume)
  • rbd-replay: –anonymize flag to rbd-replay-prep (Adam Crume)
  • rbd: fix ‘rbd diff’ for non-existent objects (Adam Crume)
  • rbd: fix error when striping with format 1 (Sebastien Han)
  • rbd: fix export for image sizes over 2GB (Vicente Cheng)
  • rbd: use rolling average for rbd bench-write throughput (Jason Dillaman)
  • rgw: send explicit HTTP status string (Yehuda Sadeh)
  • rgw: set length for keystone token validation request (#7796 Yehuda Sadeh, Mark Kirkwood)
  • udev: fix rules for CentOS7/RHEL7 (Loic Dachary)
  • use clock_gettime instead of gettimeofday (Jianpeng Ma)
  • vstart.sh: set up environment for s3-tests (Luis Pabon)