This reverts commit 5bc55338f5.
Conflicts:
src/test/Makefile.am (no longer exists)
src/test/erasure-code/Makefile.am (no longer exists)
Signed-off-by: David Zafman <dzafman@redhat.com>
When we read the conf values from the conf file we call handle_conf_change which
calls set_xattr_limits_via_conf but this is before m_fs_type is initialised so
we fall through to the default comaprison with
filestore_max_xattr_value_size_other (1024) and erroneously issue the warning.
This happens at every startup but subsequent calls once the filestore is mounted
proceed as expected. Don't call set_xattr_limits_via_conf unless the filestore
is mounted.
Fixes: http://tracker.ceph.com/issues/17420
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
RefCountedObject::put() prints log using cct, but RadosClient
relinquishes the reference to cct too early, so when its
`RefCountedObject` member variables print log when they are
destructed, the cct is already freed. hence we have a segfault.
to address this problem, we need postpone destructure of it after all
other RefCountedObject member variables are destroyed.
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit makes rocksdb an external cmake project. This ensures
that rocksdb is no longer built from src/rocksdb, and that make clean
works correctly.
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
This fixes a silly assert that's hit during image creation
(cli/api) when the data pool specified is same as the pool
specified by -p/--pool option (or the default).
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Prior to this change, the documentation pages contained different ways
to enable EPEL. Pick a simple, secure (https) way and standardize on
that.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Prior to this change, there were double-colon ("::") characters in the
HTML docs to indicate literal blocks.
The proceeding paragraphs were not pre-formatted because there was no
newline between the double-colon and the to-be-pre-formatted paragraph.
Move the "::" characters inline to simplify the syntax and make Sphinx
properly interpret these texts as literal blocks.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Introduces Mantle, a programmable metadata load balancer. Policies for making
migration decisions are written in Lua but the Migrator and Balancer modules
still do fragmentation and migration. If the Lua balancer fails, control falls
back to the original balancer implementation.
Signed-off-by: Michael Sevilla <mikesevilla3@gmail.com>
Without the patch front-ends issueed a lot of small IO operations
leading to increased overhead on syscalls and to the fragmentation
of an HTTP message across multiple TCP segments. The later was
occuring when the Nagle's algorithm hadn't been able to form
a single TCP segment (usually when running on extremely fast
network interfaces like loopback).
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
std::string and thus boost::string_ref ARE OBLIGED to carry multiple
0x00 and count them to the length of a string. We need to take that
into consideration and sanitize the size of a ceph::buffer::list used
to store metadata values (x-amz-meta-*, X-Container-Meta-*, etags).
Otherwise we might send 0x00 to clients.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Fix#17562 (backtrace check fails when scrubbing directory created by fsstress)
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>