]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Sat, 30 Jan 2016 14:00:12 +0000 (09:00 -0500)]
Merge pull request #7396 from tchaikov/wip-14537
mon: compact full epochs also
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 30 Jan 2016 13:59:55 +0000 (08:59 -0500)]
Merge pull request #7402 from liewegas/wip-rados-bench
rados: make rados bench metadata backward compatible
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Sat, 30 Jan 2016 13:59:37 +0000 (08:59 -0500)]
Merge pull request #7418 from renhwsky/renhw-wip-monmapmonitor-cleanup
mon: some cleanup in MonmapMonitor.cc
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Sage Weil [Sat, 30 Jan 2016 13:59:01 +0000 (08:59 -0500)]
Merge pull request #7420 from mikulely/fix-osd-mon-exit-issue
osd, mon: fix exit issue
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 30 Jan 2016 13:58:35 +0000 (08:58 -0500)]
Merge pull request #7430 from xiexingguo/xxg-wip-kstore
osd: kstore: fix decode logic and add flush
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 30 Jan 2016 13:49:33 +0000 (08:49 -0500)]
Merge pull request #7432 from branch-predictor/bp-fix-read-bench
rados: fix wrong op/object sizes in rand/seq bench
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 30 Jan 2016 13:48:45 +0000 (08:48 -0500)]
Merge pull request #7436 from liewegas/wip-bash
tests: qa/workunits/objectstore/test_fuse.sh: no bashism
Josh Durgin [Fri, 29 Jan 2016 23:14:57 +0000 (15:14 -0800)]
Merge pull request #7404 from sahithi-rv/Mutex
rbd_fuse: replaced pthread_mutex*() functions with ceph Mutex wrapper
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yehuda Sadeh [Fri, 29 Jan 2016 17:28:41 +0000 (09:28 -0800)]
Merge pull request #6131 from rzarzynski/wip-admincreds-in-s3-keystone
rgw: support admin credentials in S3-related Keystone authentication.
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Radoslaw Zarzynski [Fri, 29 Jan 2016 11:14:41 +0000 (12:14 +0100)]
rgw: support admin credentials in S3-related Keystone authentication.
Fixes: #13302
Backport: infernalis, hammer
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Loic Dachary [Fri, 29 Jan 2016 14:44:42 +0000 (21:44 +0700)]
Merge pull request #7298 from racpatel/wip-doc-rac2
doc :- fixing image in section ERASURE CODING
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Jiaying Ren [Fri, 29 Jan 2016 08:29:01 +0000 (16:29 +0800)]
ceph_osd.cc: fix unreachable flush call
The calling chain for generic_server_usage():
generic_server_usage()
->generic_usage(true)
->exit(1)
cout.flush()
any statements after generic_server_usage() would not be reached,so we
need to flush cout in generic_usage().
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
John Coyle [Thu, 15 Oct 2015 02:54:05 +0000 (22:54 -0400)]
cmake: musl libc does not implement backtrace. Added feature check and fallback to libexecinfo.
Signed-off-by: John Coyle <dx9err@gmail.com>
Sage Weil [Fri, 29 Jan 2016 13:50:07 +0000 (08:50 -0500)]
Merge pull request #7264 from ceph/wip-doc-RGW
doc: rgw: port changes from downstream to upstream
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 29 Jan 2016 13:49:17 +0000 (08:49 -0500)]
Merge pull request #7244 from mikulely/fix-authtool-doc
doc: remove redundant space in ceph-authtool/monmaptool doc
ritz303 [Thu, 14 Jan 2016 18:40:19 +0000 (12:40 -0600)]
doc: Updated the RPM section for RHEL and CentOS
Fixes: #10245
Signed-off-by: Aron Gunn <ritz_303@yahoo.com>
Sage Weil [Fri, 29 Jan 2016 13:46:47 +0000 (08:46 -0500)]
Merge pull request #7027 from mathslinux/fix-s3-csharp-doc
doc: fix S3 C# example
Sage Weil [Fri, 29 Jan 2016 13:46:15 +0000 (08:46 -0500)]
Merge pull request #7000 from zhouyuan/fix_cache_tier_doc
doc: fix misleading configuration guide on cache tiering
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 29 Jan 2016 13:45:16 +0000 (08:45 -0500)]
Merge pull request #6930 from wido/rgw-key-docs
doc: use 'ceph auth get-or-create' for creating RGW keyring
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 29 Jan 2016 13:43:31 +0000 (08:43 -0500)]
Merge pull request #7384 from wido/mirroring
doc: script and guidelines for mirroring Ceph
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Sage Weil [Fri, 29 Jan 2016 13:39:39 +0000 (08:39 -0500)]
Merge pull request #7435 from xiexingguo/xxg-wip-14561
osd: BlueStore: fix null pointer access
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 29 Jan 2016 13:33:28 +0000 (08:33 -0500)]
Merge pull request #7271 from somnathr/wip-transaction-delete
osd: avoid heap allocations for ObjectStore::Transaction
http://pulpito.ceph.com/sage-2016-01-28_12:50:51-rados-wip-sage-testing3---basic-mira/
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 29 Jan 2016 13:29:23 +0000 (08:29 -0500)]
Merge pull request #6440 from stiopaa1/scrubbingInfo
mon: warn if pg(s) not scrubbed
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Fri, 29 Jan 2016 13:28:30 +0000 (08:28 -0500)]
Merge pull request #7075 from shun-s/shun-fix
global: do not start two daemons with a single pid-file
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 29 Jan 2016 13:28:03 +0000 (08:28 -0500)]
Merge pull request #7111 from chenji-kael/master
osd: FileStore: print file name before osd assert if read file failed
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 29 Jan 2016 13:27:13 +0000 (08:27 -0500)]
Merge pull request #7268 from ifed01/wip-14400
common: snappy decompressor may assert when handling segmented input bufferlist
Reviewed-by: Haomai Wang <haomai@xsky.com>
Sage Weil [Fri, 29 Jan 2016 13:26:39 +0000 (08:26 -0500)]
Merge pull request #7276 from caibo2014/fix-messager-null
mon/MonClient: avoid null pointer error when configured incorrectly
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 29 Jan 2016 13:26:05 +0000 (08:26 -0500)]
Merge pull request #7330 from ifed01/wip-pool-stat-cleanup
librados: remove duplicate definitions for rados pool_stat_t and cluster_stat_t
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 29 Jan 2016 13:25:36 +0000 (08:25 -0500)]
Merge pull request #7340 from ceph/wip-portable-time
common: ake ceph_time clocks work under BSD
Reviewed-by: Erwan Velu <erwan@redhat.com>
Sage Weil [Fri, 29 Jan 2016 13:24:46 +0000 (08:24 -0500)]
Merge pull request #7341 from songbaisen/song7
mon: consider the pool size when setting pool crush rule
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 29 Jan 2016 13:24:04 +0000 (08:24 -0500)]
Merge pull request #7355 from yuanjingkai/master
os/fs: fix io_getevents argument
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 29 Jan 2016 13:23:23 +0000 (08:23 -0500)]
Merge pull request #7348 from xiexingguo/xxg-wip-14484
osd: BlueStore: fix space leak
http://pulpito.ceph.com/sage-2016-01-27_18:39:48-rados-wip-sage-testing---basic-smithi/
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 29 Jan 2016 13:22:55 +0000 (08:22 -0500)]
Merge pull request #7368 from somnathr/wip-jemalloc-build
build: allow jemalloc enabled build with rocksdb-static
http://pulpito.ceph.com/sage-2016-01-27_18:39:48-rados-wip-sage-testing---basic-smithi/
Reviewed-by: Sage Weil <sage@redhat.com>
xie xingguo [Fri, 29 Jan 2016 13:07:39 +0000 (21:07 +0800)]
BlueStore: fix null pointer access
Fixes: #14561
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Fri, 29 Jan 2016 13:06:38 +0000 (08:06 -0500)]
qa/workunits/objectstore/test_fuse.sh: no bashism
Signed-off-by: Sage Weil <sage@redhat.com>
xie xingguo [Fri, 29 Jan 2016 12:16:43 +0000 (20:16 +0800)]
BlueStore: fix typo
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Sahithi R V [Thu, 28 Jan 2016 17:46:25 +0000 (23:16 +0530)]
rbd_fuse:replaced pthread_mutex*() functions with ceph Mutex wrapper
Signed-off-by: Sahithi R V <tansy.rv@gmail.com>
xie xingguo [Fri, 29 Jan 2016 10:42:19 +0000 (18:42 +0800)]
kstore: flush before we really start a clone
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 29 Jan 2016 10:40:37 +0000 (18:40 +0800)]
kstore: flush before we really start a truncate
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 29 Jan 2016 10:05:27 +0000 (18:05 +0800)]
BlueStore: add fast check against empty list
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 29 Jan 2016 10:01:19 +0000 (18:01 +0800)]
kstore: add fast check against empty list
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Piotr Dałek [Fri, 29 Jan 2016 10:38:53 +0000 (11:38 +0100)]
tools/rados: fix wrong op/object sizes in rand/seq bench
Metadata contain correct information about last bench write run, yet
these are ignored in subsequent bench rand/seq runs, resulting in
wrong perf numbers and failures when not using --no-verify.
Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
xie xingguo [Fri, 29 Jan 2016 09:57:15 +0000 (17:57 +0800)]
kstore: simplify open_collection logic a bit
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 29 Jan 2016 09:53:30 +0000 (17:53 +0800)]
kstore: fix unmatched type of decode
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Jiaying Ren [Fri, 29 Jan 2016 08:25:48 +0000 (16:25 +0800)]
ceph_osd.cc/ceph_mon.cc: cleanup unreachable exit call
The calling chain of usage() is:
usage()
->generic_server_usage()
->exit(1)
exit(0)
so the exit(0) after usage() would not be reached.
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
renhwztetecs [Fri, 29 Jan 2016 05:42:32 +0000 (13:42 +0800)]
mon:some cleanup in MonmapMonitor.h
delete unused "get_monmap(MonMap &m)"
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
renhwztetecs [Fri, 29 Jan 2016 05:40:24 +0000 (13:40 +0800)]
mon:some cleanup in MonmapMonitor.cc
remove the processing of ”mon add“ && “mon remove” in the preprocess_command;
delete unused "get_monmap(MonMap &m)"
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
Gregory Farnum [Fri, 29 Jan 2016 05:28:54 +0000 (21:28 -0800)]
Merge pull request #7312 from jcsp/wip-14365
mds, client: fix locking around handle_conf_change
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Greg Farnum [Fri, 29 Jan 2016 05:28:48 +0000 (21:28 -0800)]
Merge remote-tracking branch 'origin/greg-fs-testing-126'
Greg Farnum [Fri, 29 Jan 2016 05:28:37 +0000 (21:28 -0800)]
Merge remote-tracking branch 'origin/jewel'
Gregory Farnum [Fri, 29 Jan 2016 05:28:09 +0000 (21:28 -0800)]
Merge pull request #7297 from ukernel/jewel-13903
client: properly trim unlinked inode
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Gregory Farnum [Fri, 29 Jan 2016 05:26:06 +0000 (21:26 -0800)]
Merge pull request #7262 from ukernel/jewel-14380
Be more careful about the "mds setmap" command to prevent breakage.
Reviewed-by: John Spray <john.spray@redhat.com>
Jason Dillaman [Fri, 29 Jan 2016 03:25:19 +0000 (22:25 -0500)]
Merge pull request #7369 from mauri/fix-message-typo
rbd: fix error message typo
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Fri, 29 Jan 2016 02:00:20 +0000 (10:00 +0800)]
Merge pull request #7387 from theanalyst/fix/gitignore
remove unused src/messages/#MOSDOp.h# file
Reviewed-by: Kefu Chai <kchai@redhat.com>
Josh Durgin [Thu, 28 Jan 2016 17:05:00 +0000 (09:05 -0800)]
Merge pull request #7345 from x11562/rbd_snap_rename
rbd: add "--dest-snap" optional for snap rename
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Thu, 28 Jan 2016 16:43:38 +0000 (00:43 +0800)]
Merge pull request #7393 from tchaikov/wip-cmake
fix the autotools and cmake build (the new fusestore needs libfuse)
Reviewed-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Orit Wasserman [Thu, 28 Jan 2016 16:30:52 +0000 (17:30 +0100)]
Merge pull request #7403 from rzarzynski/wip-rgw-dumpconlen-cosmetics
rgw: cosmetic improvements in dump_content_length()
Radoslaw Zarzynski [Thu, 28 Jan 2016 16:19:56 +0000 (17:19 +0100)]
rgw: cosmetic improvements in dump_content_length().
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Sage Weil [Thu, 28 Jan 2016 16:00:42 +0000 (11:00 -0500)]
rados: make rados bench metadata backward compatible
We recently made a distinction between op size and object size, and broke
our ability to read metadata from old runs. Change our format to be
backward compatible.
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Thu, 28 Jan 2016 12:43:45 +0000 (20:43 +0800)]
ceph-objectstore-tool: disable fuse support if !HAVE_LIBFUSE
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Jan 2016 09:45:30 +0000 (17:45 +0800)]
osd: disable FuseStore if !HAVE_LIBFUSE
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Jan 2016 09:23:23 +0000 (17:23 +0800)]
make: disable FuseStore if !WITH_FUSE
* configure.ac: "#define HAVE_LIBFUSE" if libfuse is found
* os/Makefile.am: do not compile FuseStore.cc if libfuse is not found
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Jan 2016 06:47:07 +0000 (14:47 +0800)]
cmake: link against libfuse if HAVE_LIBFUSE
* use ${FUSE_LIBRARIES} instead of "fuse" when referencing libfuse.
* do not compile FuseStore.cc if !HAVE_LIBFUSE.
* CMakeLists.txt: s/HAVE_FUSE/HAVE_LIBFUSE/, to match with the one
defined for config.h.in.cmake, otherwise we need two vars:
HAVE_LIBFUSE, and HAVE_FUSE
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Jan 2016 07:04:40 +0000 (15:04 +0800)]
cmake: remove the copyright of FindSnappy.cmake
as we've basically removed all the HyperTable code.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Jan 2016 10:09:53 +0000 (02:09 -0800)]
mon: compact full epochs also
by compacting the ${prefix}.${start}..${prefix}..${end} does not
necessary compact the range of ${prefix}."full_"${start}..
${prefix}."full_"${end}. so when more and more epochs get trimmed
with out a full range compaction, the size of monitor store could
be very large.
Fixes: #14537
Signed-off-by: Kefu Chai <kchai@redhat.com>
Wido den Hollander [Fri, 18 Dec 2015 15:40:38 +0000 (16:40 +0100)]
Script and Guidelines for mirroring Ceph
This commit introduces a script which admins can use to mirror
the Ceph packages to their local systems.
With this script they can easily sync from a mirror local to them.
The README explains user on how and when to sync the sources and
how they can become a official mirror for Ceph.
Signed-off-by: Wido den Hollander <wido@42on.com>
Kefu Chai [Thu, 28 Jan 2016 07:35:16 +0000 (15:35 +0800)]
Merge pull request #6875 from dx9/wip-cmake-ccache
cmake: support ccache via a WITH_CCACHE build option
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
x11562 [Tue, 26 Jan 2016 05:52:46 +0000 (13:52 +0800)]
rbd: simplify snap rename arguments
Signed-off-by: Na Xie <xie.na@h3c.com>
Josh Durgin [Wed, 27 Jan 2016 22:47:56 +0000 (14:47 -0800)]
Merge pull request #7337 from clever215/rbd_nbd
rbd-nbd: Add an argument validation for nbds_max
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Josh Durgin [Wed, 27 Jan 2016 22:45:49 +0000 (14:45 -0800)]
Merge pull request #7385 from trociny/fix-journal-flush-commit-position
journal: flush commit position on metadata shutdown
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Josh Durgin [Wed, 27 Jan 2016 22:44:59 +0000 (14:44 -0800)]
Merge pull request #7382 from dillaman/wip-14510
librbd: block maintenance ops until after journal is ready
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Somnath Roy [Mon, 18 Jan 2016 19:48:24 +0000 (14:48 -0500)]
OSD: Deleting transaction object right after applying transaction
Presently, the transaction object is been deleted by the Finisher
thread asynchronously. In heavy load scenario specially if we
unleash journal throttle more, we are seeing high memory usage by
the OSDs because of this. In this new scheme, with the help of
move semantics transaction objects will be deleted synchronously
from the filestore worker threads. We are seeing very much
controllable memory growth now as well as ~3 to 4% cpu usage
benefit because of some reduction of 'new' , 'delete' calls.
Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
Josh Durgin [Wed, 27 Jan 2016 22:35:13 +0000 (14:35 -0800)]
Merge pull request #7259 from trociny/wip-14264
librbd: API: async open and close
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Wed, 27 Jan 2016 22:34:57 +0000 (14:34 -0800)]
Merge pull request #7302 from dillaman/wip-14434
librbd: journal shut down flush race condition
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Wed, 27 Jan 2016 22:34:43 +0000 (14:34 -0800)]
Merge pull request #7299 from dillaman/wip-librbd-update-features
librbd: fix internal handling of dynamic feature updates
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Abhishek Lekshmanan [Wed, 27 Jan 2016 22:23:18 +0000 (23:23 +0100)]
gitignore: ignore backup files from editors etc.
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Wed, 27 Jan 2016 22:16:00 +0000 (23:16 +0100)]
remove unused source file
This file was possibly accidentally committed in the tree, thanks
@BranchPredictor for bringing this up in irc
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Yehuda Sadeh [Wed, 27 Jan 2016 20:36:35 +0000 (12:36 -0800)]
Merge pull request #7381 from ceph/wip-rgw-static-website-yehuda
RGW static website feature
- currently disabled by default
- partial error page handling
- a few known failures
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Robin H. Johnson <robin.johnson@dreamhost.com>
Mykola Golub [Sun, 24 Jan 2016 10:26:36 +0000 (12:26 +0200)]
journal: flush commit position on metadata shutdown
A crash was observed on JournalTrimmer destroy, which was called
by the Journaler after metadata shutdown. JournalTrimmer destructor
also calls flush_commit_position, but at that time metadata m_timer
is already null and it crushed there.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Sage Weil [Wed, 27 Jan 2016 19:45:11 +0000 (14:45 -0500)]
Merge pull request #7223 from liewegas/wip-collection-handles
osd: collection handles
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Wed, 27 Jan 2016 19:39:21 +0000 (14:39 -0500)]
Merge pull request #7134 from liewegas/wip-fusestore
osd: implement fuse interface for ObjectStore
Reviewed-by: Samuel Just <sjust@redhat.com>
Sage Weil [Mon, 18 Jan 2016 16:10:05 +0000 (11:10 -0500)]
osd: use collection handle where possible
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 18 Jan 2016 17:43:11 +0000 (12:43 -0500)]
osd: associate a CollectionHandle& with PGBackend
Make this a ref to the PG's handle because the backend is
constructed before the handle is opened.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 18 Jan 2016 16:07:28 +0000 (11:07 -0500)]
osd: associate a CollectionHandle with each PG
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 18 Jan 2016 16:05:51 +0000 (11:05 -0500)]
os/memstore: implement handle-based read methods
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 18 Jan 2016 16:05:32 +0000 (11:05 -0500)]
os/memstore: implement open_collection
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 18 Jan 2016 16:05:00 +0000 (11:05 -0500)]
os/bluestore: implement CollectionHandle based read methods
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 18 Jan 2016 16:04:41 +0000 (11:04 -0500)]
os/bluestore: implement open_collection
Fix up create and remove so that they poison a Collection that
gets removed.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 18 Jan 2016 14:36:36 +0000 (09:36 -0500)]
os/ObjectStore: add CollectionHandle wrappers for all read ops
The backend can optionally implement the handle-based variant. If
it does not, the wrappers will call the legacy coll_t version.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 18 Jan 2016 14:36:02 +0000 (09:36 -0500)]
os/ObjectStore: add CollectionHandle
Signed-off-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Wed, 27 Jan 2016 19:14:28 +0000 (14:14 -0500)]
librbd: block maintenance until after journal is ready
Ops were already blocked when the requests were received via
watch/notify. Requests are now blocked for local requests as
well.
Fixes: #14510
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Yehuda Sadeh [Wed, 27 Jan 2016 19:07:43 +0000 (11:07 -0800)]
Merge branch 'wip-rgw-static-website-yehuda'
Conflicts:
src/rgw/rgw_common.h
src/rgw/rgw_op.h
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_s3.h
Sage Weil [Fri, 15 Jan 2016 00:24:59 +0000 (19:24 -0500)]
os/FuseStore: improve readdir for omap and attr
Use new-style fuse readdir interface for omap and attr. We aren't
particularly efficient, but we won't completely break if there are a
lot of attrs or omap entries.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 15 Jan 2016 00:17:53 +0000 (19:17 -0500)]
os/FuseStore: wait for commit and flush in all updates
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 14 Jan 2016 16:32:15 +0000 (11:32 -0500)]
os/FuseStore: use offset for readdir
This allows us to list large directories.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 14 Jan 2016 13:45:38 +0000 (08:45 -0500)]
qa/workunits/objectstore/test_fuse.sh: simple workunit test
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Jan 2016 18:12:58 +0000 (13:12 -0500)]
os/FuseStore: add 'type' file in root dir
This also acts as a sentinel to indicate whether we have mounted.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Jan 2016 18:12:14 +0000 (13:12 -0500)]
os/ObjectStore: add get_type()
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Jan 2016 18:04:52 +0000 (13:04 -0500)]
ceph-objectstore-tool: drop filestore-specific sanity check
Just let mount() fail
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Jan 2016 18:04:27 +0000 (13:04 -0500)]
ceph-objectstore-tool: add --op mkfs
Signed-off-by: Sage Weil <sage@redhat.com>