]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
root [Sun, 19 Jun 2016 07:36:06 +0000 (13:06 +0530)]
rgw: Add documentation for RGW default quota
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
root [Sun, 19 Jun 2016 07:18:42 +0000 (12:48 +0530)]
rgw: Do not bother to check against conf values during quota handling
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
root [Mon, 23 May 2016 10:04:58 +0000 (15:34 +0530)]
rgw: Let the default quota settings take effect during user creation
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
Sage Weil [Sat, 18 Jun 2016 16:48:22 +0000 (12:48 -0400)]
Merge pull request #9778 from ifed01/wip-bluestore-blob-reduce
os/bluestore: reduce bluestore blob
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 18 Jun 2016 16:48:01 +0000 (12:48 -0400)]
Merge pull request #9750 from ifed01/wip-bluestore-csum-output-fix
os/bluestore: fix improper blob's csum visualization.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 18 Jun 2016 16:47:43 +0000 (12:47 -0400)]
Merge pull request #9756 from liewegas/wip-bluestore-diet
os/bluestore: remove unused bluestore fields
Reviewed-by: Allen Samuels <allen.samuels@sandisk.com>
Kefu Chai [Sat, 18 Jun 2016 15:51:41 +0000 (23:51 +0800)]
Merge pull request #9119 from runsisi/wip-fix-cmake-desc
cmake: update description for cmake module Findkeyutils.cmake
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 18 Jun 2016 14:28:06 +0000 (22:28 +0800)]
Merge pull request #9799 from stiopaa1/common_address_helper_changeScope
common/address_helper.cc:move variables closer...
Reviewed-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Sat, 18 Jun 2016 14:21:13 +0000 (10:21 -0400)]
Merge pull request #9797 from Yan-waller/yj-wip-rgwcompiling
rgw: kill compiling warning
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Michal Jarzabek [Sat, 18 Jun 2016 12:15:42 +0000 (13:15 +0100)]
common/address_helper.cc:move variables closer...
... to the point where they are first used.
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Yan Jun [Sat, 18 Jun 2016 07:54:55 +0000 (15:54 +0800)]
rgw: kill compiling warning
test/rgw/test_http_manager.cc: In member function ‘virtual void HTTPManager_SignalThread_Test::TestBody()’:
test/rgw/test_http_manager.cc:40:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < num_requests; i++) {
^
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
vasukulkarni [Fri, 17 Jun 2016 22:41:17 +0000 (15:41 -0700)]
Merge pull request #9764 from vasukulkarni/master
mention change of owner for /var/log/ceph
Samuel Just [Fri, 17 Jun 2016 21:46:11 +0000 (14:46 -0700)]
Merge pull request #9599 from sdieffen/feature15904
added -f flag for formatting to rados command line tool
Reviewed-by: Samuel Just <sjust@redhat.com>
Orit Wasserman [Fri, 17 Jun 2016 18:54:02 +0000 (20:54 +0200)]
Merge pull request #9785 from cbodley/wip-rgw-httpmgr-select
rgw: fix deadlock in RGWHTTPManager when HAVE_CURL_MULTI_WAIT=0
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Ali Maredia [Fri, 17 Jun 2016 18:11:24 +0000 (14:11 -0400)]
Merge pull request #9765 from dx9/wip-run-cmake
cmake: add arguments to cmake invocation to support cache configuration
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Fri, 17 Jun 2016 17:57:28 +0000 (13:57 -0400)]
Merge pull request #9634 from ceph/cmake-git-rev
Update git rev parsing in CMake
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Fri, 17 Jun 2016 17:51:03 +0000 (13:51 -0400)]
Merge pull request #9601 from ceph/wip-cmake
cmake: add ceph_test_* used by qa units and ceph-qa-suite tasks
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Orit Wasserman [Fri, 17 Jun 2016 17:25:24 +0000 (19:25 +0200)]
Merge pull request #9725 from SUSE/wip-16327
rgw: check for -ERR_NOT_MODIFIED in rgw_rest_s3.cc
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Casey Bodley [Fri, 17 Jun 2016 02:51:54 +0000 (22:51 -0400)]
rgw: add pipe fd to set for select() in do_curl_wait()
when HAVE_CURL_MULTI_WAIT is 0, the pipe fd is never added to the
readfds for select(), so FD_ISSET() is always false. this prevents us
from ever trying to read from the fd, and the pipe's buffer eventually
fills up and deadlocks callers of RGWHTTPManager::signal_thread() when
they try to write to the pipe
Fixes: http://tracker.ceph.com/issues/16368
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 16 Jun 2016 23:55:07 +0000 (19:55 -0400)]
test/rgw: add unit test for HTTPManager
unit test to detect a deadlock in RGWHTTPManager::signal_thread() when
HAVE_CURL_MULTI_WAIT=0
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 17 Jun 2016 15:58:50 +0000 (11:58 -0400)]
Merge pull request #9779 from smanjara/wip-zone-rename
rgw: added zone rename to radosgw_admin
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Orit Wasserman [Fri, 17 Jun 2016 15:32:09 +0000 (17:32 +0200)]
Merge pull request #9686 from weiqiaomiao/wqm-wip-rgw-output
rgw: remove unnecessary output
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Fri, 17 Jun 2016 15:30:29 +0000 (17:30 +0200)]
Merge pull request #9687 from theanalyst/rgw/orphans-find-msg
rgw-admin: don't print on ENOENT for orphans find
Reviewed-by" Orit Wasserman <owasserm@redhat.com>
Samuel Just [Fri, 17 Jun 2016 15:08:45 +0000 (08:08 -0700)]
Merge pull request #9736 from tchaikov/wip-test-timeout
test: disable dup test for mds respawn cmd
Reviewed-by: Samuel Just <sjust@redhat.com>
Haomai Wang [Fri, 17 Jun 2016 14:29:55 +0000 (22:29 +0800)]
Merge pull request #9086 from ceph/wip-15849
msg/async/AsyncConnection: create writable event for in progress connection
Sage Weil [Fri, 17 Jun 2016 14:26:56 +0000 (10:26 -0400)]
Merge pull request #9461 from liewegas/wip-msgr2
doc: msgr2 protocol spec
Sage Weil [Fri, 17 Jun 2016 14:24:59 +0000 (10:24 -0400)]
Merge pull request #8963 from yuyuyu101/wip-15758
msg/async: Separated nonfast message and fast dispatch message thread
Reviewed-by: Sage Weil <sage@redhat.com>
Igor Fedotov [Fri, 17 Jun 2016 11:51:35 +0000 (14:51 +0300)]
os/bluestore: change bluestore_extent_ref_map_t key value(i.e. offset) from 64 to 32 bits.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Igor Fedotov [Thu, 16 Jun 2016 16:51:38 +0000 (19:51 +0300)]
os/bluestore: remove bluestore_blob_t::length field
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Shilpa Jagannath [Fri, 17 Jun 2016 12:59:42 +0000 (18:29 +0530)]
rgw: added zone rename to radosgw_admin
Added zone rename option to radosgw-admin help
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Mykola Golub [Fri, 17 Jun 2016 11:15:56 +0000 (14:15 +0300)]
Merge pull request #9759 from dillaman/wip-16352
rbd-mirror: ensure replay status formatter has completed before stopping
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Fri, 17 Jun 2016 11:15:16 +0000 (14:15 +0300)]
Merge pull request #9730 from dillaman/wip-16329
rbd-mirror: gracefully handle missing sync point snapshots
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Fri, 17 Jun 2016 11:14:50 +0000 (14:14 +0300)]
Merge pull request #9751 from dillaman/wip-16348
librbd: unable to disable journaling feature if in unexpected mirror state
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Kefu Chai [Fri, 17 Jun 2016 11:02:17 +0000 (19:02 +0800)]
Merge pull request #8749 from Aran85/wip-check-failure-grace
mon/osdmonitor: decouple adjust_heartbeat_grace and min_down_reporters
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 17 Jun 2016 10:53:40 +0000 (18:53 +0800)]
Merge pull request #8827 from majianpeng/ceph-tell-osd
osd/OSD: make 'ceph tell osd.x get_command_descriptions' work.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 17 Jun 2016 10:49:50 +0000 (18:49 +0800)]
Merge pull request #9056 from stiopaa1/osd_pistate_localstruct
osd/OSD.cc: make pistate a local struct
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 17 Jun 2016 05:54:59 +0000 (13:54 +0800)]
qa/workunits/cephtool/test.sh: disable dup test for mds respawn cmd
we set the CEPH_CLI_TEST_DUP_COMMAND enn var to verify the successful
commands are idempotent. but some of them are just not. among the other
things:
- ceph tell mds.a exit
- ceph tell mds.a respawn
the respawn command restart the mds daemon, its bind port changes and
all run-time status are reset. so strictly speaking, even the from the
point of view of client, this command is not idempotent. further more,
it fails the test, if the client sends the 2nd command too soon. because
the monitor might not able to update the re-spawned mds address before
the client asking for the new fsmap. so the cephfs client will just
use the old address of the specified mds, and hence will send the
request to port no one is listening anymore.
Signed-off-by: Kefu Chai <kchai@redhat.com>
John Coyle [Thu, 17 Mar 2016 13:37:45 +0000 (09:37 -0400)]
cmake: add arguments to cmake invocation to support cache configuration
Signed-off-by: John Coyle <dx9err@gmail.com>
Vasu Kulkarni [Thu, 16 Jun 2016 23:42:34 +0000 (16:42 -0700)]
Also mention change of owner for /var/log/ceph
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Sage Weil [Thu, 16 Jun 2016 18:35:02 +0000 (14:35 -0400)]
os/bluestore/bluestore_types: drop overlay types
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 16 Jun 2016 18:34:18 +0000 (14:34 -0400)]
os/bluestore/bluestore_types: drop overlay fields from wal and onode
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 16 Jun 2016 18:33:30 +0000 (14:33 -0400)]
os/bluestore: drop overlay support
We can resurrect this from the history if/when we decide we want it.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 16 Jun 2016 18:25:24 +0000 (14:25 -0400)]
os/bluestore/bluestore_types: remove flags from lextent_t
Signed-off-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Thu, 16 Jun 2016 21:32:20 +0000 (17:32 -0400)]
rbd-mirror: ensure replay status formatter has completed before stopping
Fixes: http://tracker.ceph.com/issues/16352
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Wed, 15 Jun 2016 09:17:30 +0000 (05:17 -0400)]
os/bluestore: drop old bluestore_extent_t
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 15 Jun 2016 09:17:21 +0000 (05:17 -0400)]
os/bluestore: extent_t -> pextent_t
Signed-off-by: Sage Weil <sage@redhat.com>
Ali Maredia [Thu, 16 Jun 2016 18:19:46 +0000 (14:19 -0400)]
Merge pull request #9753 from liewegas/wip-readme
README: update with vstart, test, and make check instructions
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Sage Weil [Thu, 16 Jun 2016 18:18:12 +0000 (14:18 -0400)]
README.md: note where make check test log output goes
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 16 Jun 2016 17:55:11 +0000 (13:55 -0400)]
README.md: document running a test cluster
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 16 Jun 2016 17:47:12 +0000 (13:47 -0400)]
README.md: simplify cmake instructions
Assume build is subdir of the ceph.git checkout.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 16 Jun 2016 17:44:46 +0000 (13:44 -0400)]
README.md: drop obsolete comment about debian squeeze
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 16 Jun 2016 17:44:35 +0000 (13:44 -0400)]
README.md: get source first (including submodules!)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 15 Jun 2016 20:54:53 +0000 (16:54 -0400)]
README.md: document how to run unit tests (with autotools)
Signed-off-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Thu, 16 Jun 2016 18:05:16 +0000 (14:05 -0400)]
Merge pull request #9151 from fullerdj/wip-djf-15706
rbd: add methods to set and get snapshot limits
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 16 Jun 2016 18:03:01 +0000 (14:03 -0400)]
Merge pull request #9292 from marcan/pyrbd-aio
pybind: AIO bindings for RBD
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 16 Jun 2016 18:00:48 +0000 (14:00 -0400)]
Merge pull request #9333 from VictorDenisov/consistency_groups_only_crud
rbd: initial operations for consistency groups
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 16 Jun 2016 18:00:28 +0000 (14:00 -0400)]
Merge pull request #9535 from xinxinsh/wip-bug
librbd: object_may_exist always return true when you write an empty object
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 16 Jun 2016 17:55:12 +0000 (13:55 -0400)]
Merge pull request #9682 from yuyuyu101/wip-fix-task-finisher
librbd: cancel all tasks should wait until finisher is done
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Igor Fedotov [Thu, 16 Jun 2016 14:25:24 +0000 (17:25 +0300)]
os/bluestore: fix improper blob's csum visualization.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Jason Dillaman [Thu, 16 Jun 2016 14:37:56 +0000 (10:37 -0400)]
journal: do not log watch errors against deleted journal
The peer rbd-mirror process will eventually notice that the journal has
been removed and clean itself up. This avoids flooding the log with
expected error messages when journaling is disabled.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Thu, 16 Jun 2016 14:29:10 +0000 (10:29 -0400)]
Merge pull request #9567 from liewegas/wip-bluestore-blobcache
os/bluestore: convert cache to be blob-based (vs onode-based)
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Sage Weil [Thu, 9 Jun 2016 19:35:57 +0000 (15:35 -0400)]
os/bluestore: include device offsets in csum error message
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 9 Jun 2016 19:22:13 +0000 (15:22 -0400)]
os/bluestore: remove Onode's BufferSpace
(now unused)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 9 Jun 2016 19:21:43 +0000 (15:21 -0400)]
os/bluestore: change _do_read to use blob cache
Signed-off-by: Sage Weil <sage@redhat.com>
Matt Benjamin [Thu, 16 Jun 2016 13:54:58 +0000 (09:54 -0400)]
Merge pull request #9748 from Yan-waller/yj-wip-rgwstoreuserinfo
rgw/user: remove needless bufferlist encoding
build verfiied, there can be no side effect
Jason Dillaman [Thu, 16 Jun 2016 13:38:28 +0000 (09:38 -0400)]
librbd: force-remove journal when disabling feature and removing image
If mirroring is enabled, it's nearly certain that the peer rbd-mirror
daemon will be a registered client within the journal. Without
forcing the removal, this would prevent the removal from occurring.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 16 Jun 2016 13:31:03 +0000 (09:31 -0400)]
librbd: ignore ENOENT error when removing image from mirror directory
Fixes: http://tracker.ceph.com/issues/16348
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Mykola Golub [Thu, 16 Jun 2016 09:51:50 +0000 (12:51 +0300)]
Merge pull request #9720 from dillaman/wip-16202
qa/workunits: rados cppool now requires --yes-i-really-really-mean-it
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Yan Jun [Thu, 16 Jun 2016 08:42:13 +0000 (16:42 +0800)]
rgw/user: remove needless bufferlist encoding
info encoded but never be used.
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
Victor Denisov [Wed, 25 May 2016 23:10:02 +0000 (16:10 -0700)]
mailmap: Victor Denisov affiliation
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
Victor Denisov [Wed, 25 May 2016 02:10:33 +0000 (19:10 -0700)]
rbd: Add cg create, cg list, cg remove commands
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
Victor Denisov [Fri, 27 May 2016 03:51:43 +0000 (20:51 -0700)]
librbd: Add cg_create, cg_list, cg_remove
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
Victor Denisov [Fri, 27 May 2016 03:59:56 +0000 (20:59 -0700)]
cls_rbd: Add cg_create, cg_dir_add, cg_dir_remove, cg_dir_list
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
Jason Dillaman [Wed, 15 Jun 2016 21:49:54 +0000 (17:49 -0400)]
qa/workunits/rbd: increase writes in large image count test
This will help to test edge cases where the remote image does
or does not own the exclusive lock when the sync starts.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Dan Mick [Wed, 15 Jun 2016 22:50:05 +0000 (15:50 -0700)]
Merge pull request #9708 from tchaikov/wip-make_rocksdb_makefile-without-rdb
script/make_rocksdb_makefile.sh: do not include rocksdb/tools/rdb/*
Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Sage Weil <sweil@redhat.com>
John Spray [Wed, 15 Jun 2016 22:43:28 +0000 (23:43 +0100)]
Merge pull request #9713 from xiexingguo/xxg-wip-server_droppin
server: drop locks and auth pins before waiting for trunc
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 15 Jun 2016 22:42:43 +0000 (23:42 +0100)]
Merge pull request #9710 from xiexingguo/xxg-wip-server_duplock
Server: avoid duplicated call to acquire_locks()
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 15 Jun 2016 22:42:01 +0000 (23:42 +0100)]
Merge pull request #9706 from xiexingguo/xxg-wip-server_dcr
mds/server: avoid side-effect of more() method
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 15 Jun 2016 22:41:37 +0000 (23:41 +0100)]
Merge pull request #9647 from xiexingguo/xxg-wip-server_hcr
server: fix potential access violation
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 15 Jun 2016 22:40:43 +0000 (23:40 +0100)]
Merge pull request #8737 from david-z/wip-mds-slow-req-output
mds: ceph status outputs mds slow request for better monitoring
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Jason Dillaman [Wed, 15 Jun 2016 21:42:59 +0000 (17:42 -0400)]
rbd-mirror: prune sync points referencing missing snapshots
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 15 Jun 2016 20:34:44 +0000 (16:34 -0400)]
rbd-mirror: ignore empty snapshot sequence mapping
This invalid condition will be gracefully detected and handled
when the snapshot mappings are computed.
Fixes: http://tracker.ceph.com/issues/16329
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 7 Jun 2016 19:26:25 +0000 (15:26 -0400)]
os/bluestore: inline and simplify _read_whole_blob
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 7 Jun 2016 21:38:36 +0000 (17:38 -0400)]
os/bluestore: use _dump_blob_map helper
Unify bnode and onode dump output.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 7 Jun 2016 19:07:12 +0000 (15:07 -0400)]
os/bluestore: do writes into blob buffer cache
No change to the read-side yet.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 8 Jun 2016 15:49:55 +0000 (11:49 -0400)]
ceph_test_objectstore: use single bl_eq helper
Use a single bl comparator helper that dumps buffers if they do not match.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 9 Jun 2016 19:20:45 +0000 (15:20 -0400)]
os/bluestore: clean up csum read error checks
Fix warning message and return error code.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 7 Jun 2016 18:57:03 +0000 (14:57 -0400)]
os/bluestore: use Blob* in WriteContext::write_item
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 7 Jun 2016 18:26:30 +0000 (14:26 -0400)]
os/bluestore: switch to intrusive_set for blobs
Switch from a map of bare bluestore_blob_t's to an intrusive_set of
Blob structs that includes id, bluestore_blob_t, and BufferSpace. The
buffer cache portion isn't used yet, but it is properly initialized with
the Cache parent.
There is no real functional change here except that during clone we move
the existing Blob from the Onode's BlobMap to the Bnode's without any
copying.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 7 Jun 2016 17:24:17 +0000 (13:24 -0400)]
os/bluestore: move blob_map out of onode_t
Move the blob_map index out of the onode_t proper. None of the (important)
onode_t methods use the blob_map, which is expected since blobs may exist
in the onode or bnode map. Instead, move it into Onode, parallel the
Bnode counterpart.
This will allow us to create a blob map that includes the buffer cache
with an encode/decode and lifecycle independent of the onode_t.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 15 Jun 2016 19:57:30 +0000 (15:57 -0400)]
Merge pull request #9526 from liewegas/wip-bluestore-csum2
os/bluestore: vary csum chunk sizes based on hints
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Sage Weil [Wed, 15 Jun 2016 19:23:17 +0000 (15:23 -0400)]
os/bluestore: add crc32c_16 and crc32c_8
This is much faster than a slice-by-8 crc16, perhaps even without the
intel instructions.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 15 Jun 2016 19:20:21 +0000 (15:20 -0400)]
os/bluestore: whitespace
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 6 Jun 2016 21:22:51 +0000 (17:22 -0400)]
compressor/snappy: style cleanup
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 6 Jun 2016 21:13:16 +0000 (17:13 -0400)]
compressor/snappy: compress to page-aligned memory buffer
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 6 Jun 2016 20:46:09 +0000 (16:46 -0400)]
os/bluestore: remove unused ext_offset region_t field
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 6 Jun 2016 20:00:26 +0000 (16:00 -0400)]
os/bluestore: simplify spare read path, remove pextent constraint
The previous read code had the constraint that a physical extent had to
be a multiple of the csum chunk size. This isn't needed: we might have
a csum_block of 1MB and min_alloc_size of 4KB and that's okay.
Collapse the two helpers into a single loop that uses the blob_t::map()
method to do the pextent part of the read. This is simpler and avoids
the temporary extents2read structure.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 6 Jun 2016 18:53:22 +0000 (14:53 -0400)]
os/bluestore: csum_block -> csum_chunk
Be consistent with terminology.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 6 Jun 2016 18:52:22 +0000 (14:52 -0400)]
os/bluestore: ensure blob_t::put_ref respects csum chunk size
We can't deallocate part of a csum chunk.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 6 Jun 2016 18:49:38 +0000 (14:49 -0400)]
ceph_test_objectstore: test larger writes from Synthetic
Signed-off-by: Sage Weil <sage@redhat.com>