]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Tue, 13 Sep 2016 18:11:56 +0000 (14:11 -0400)]
rocksdb: pull up to master (4.12 + a few patches)
This includes Somnath's fix for log recycling.
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Tue, 13 Sep 2016 15:04:50 +0000 (23:04 +0800)]
Merge pull request #11046 from stiopaa1/common_timer_deleteCopyConstrAndAssign
common/Timer.h: delete copy constr and assign op
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 13 Sep 2016 15:01:34 +0000 (23:01 +0800)]
Merge pull request #11057 from liewegas/wip-os-fuse
qa/workunits/objectstore/test_fuse.sh: make test_fuse.sh work with filestore
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 13 Sep 2016 13:57:48 +0000 (08:57 -0500)]
Merge pull request #11064 from ilc/make-srpm
make-srpm.sh: A simple script to make the srpm for ceph.
Sage Weil [Tue, 13 Sep 2016 13:56:20 +0000 (08:56 -0500)]
Merge pull request #11061 from xiexingguo/xxg-wip-bs-0913
os/bluestore: fix shard_info::dump()
Reviewed-by: Sage Weil <sage@redhat.com>
Ira Cooper [Tue, 13 Sep 2016 13:29:07 +0000 (09:29 -0400)]
make-srpm.sh: A simple script to make the srpm for ceph.
This is a simple script to make the srpm for ceph based
on make-dist.
Yes, it is short, but it will stop many people from
having to solve the same problem.
Signed-off-by: Ira Cooper <ira@redhat.com>
Sage Weil [Tue, 13 Sep 2016 13:40:03 +0000 (09:40 -0400)]
qa/workunits/objecstore/test_fuse.sh: make it work with filestore
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Tue, 13 Sep 2016 08:46:29 +0000 (09:46 +0100)]
Merge pull request #11016 from wido/snap-max-uid
mds: Set mds_snap_max_uid to
4294967294
Reviewed-by: John Spray <john.spray@redhat.com>
xie xingguo [Tue, 13 Sep 2016 06:06:22 +0000 (14:06 +0800)]
os/bluestore: fix dump of shard_info
which shall include the "extents" field too.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Casey Bodley [Mon, 12 Sep 2016 17:38:39 +0000 (13:38 -0400)]
Merge pull request #10873 from dreamhost/wip-17136
rgw: Fix Host->bucket fallback logic inversion
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yehuda Sadeh [Mon, 12 Sep 2016 15:18:06 +0000 (08:18 -0700)]
Merge pull request #10918 from tianshan/fix-bucket-decode-v
rgw: fix rgw_bucket_dir_entry decode v
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Mon, 12 Sep 2016 14:20:40 +0000 (09:20 -0500)]
Merge pull request #11040 from xiexingguo/xxg-wip-bluestore-0910
os/bluestore: fix leak of result-checking of _fsck_check_extents
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 12 Sep 2016 13:55:20 +0000 (21:55 +0800)]
Merge pull request #11047 from tchaikov/wip-long-live-readdir
ceph_mon: use readdir() as readdir_r() is deprecated
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Sage Weil [Mon, 12 Sep 2016 13:37:32 +0000 (08:37 -0500)]
Merge pull request #11033 from xiexingguo/xxg-wip-bluestore-0909
os/bluestore: fix potential access violation during rename
Reviewed-by: Sage Weil <sage@redhat.com>
Mykola Golub [Mon, 12 Sep 2016 09:10:21 +0000 (12:10 +0300)]
Merge pull request #11044 from dillaman/wip-17227
librbd: ignore partial refresh error when acquiring exclusive lock
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Mon, 12 Sep 2016 09:08:46 +0000 (12:08 +0300)]
Merge pull request #11037 from dillaman/wip-17254
librbd: possible deadlock if cluster connection closed after image
Reviewed-by: Xiaoxi Chen <xiaoxchen@ebay.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Kefu Chai [Mon, 12 Sep 2016 03:56:09 +0000 (11:56 +0800)]
ceph_mon: use readdir() as readdir_r() is deprecated
see https://lwn.net/Articles/696469/, readdir_r() is deprecated by glibc
since 2.24. so let's use readdir() instead.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 12 Sep 2016 03:11:51 +0000 (11:11 +0800)]
Merge pull request #10941 from ceph/8.31.16-fix-install-deps
install-deps: exit non-zero when we cannot match distro
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 12 Sep 2016 02:50:12 +0000 (10:50 +0800)]
Merge pull request #11043 from stiopaa1/osd_osd_removeUnneededReturns
osd/OSD.cc: remove unneeded returns
Reviewed-by: Kefu Chai <kchai@redhat.com>
Michal Jarzabek [Sun, 11 Sep 2016 10:17:27 +0000 (11:17 +0100)]
osd/OSD.cc: remove unneeded returns
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Michal Jarzabek [Sun, 11 Sep 2016 19:19:57 +0000 (20:19 +0100)]
common/Timer.h: delete copy constr and assign op
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Jason Dillaman [Sun, 11 Sep 2016 13:08:41 +0000 (09:08 -0400)]
librbd: ignore partial refresh error when acquiring exclusive lock
Fixes: http://tracker.ceph.com/issues/17227
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Sun, 11 Sep 2016 10:09:09 +0000 (18:09 +0800)]
Merge pull request #11041 from stiopaa1/osd_replicatedpg_removeClassRedeclaration
osd/ReplicatedPG: remove class redeclaration
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 11 Sep 2016 03:52:44 +0000 (11:52 +0800)]
Merge pull request #10952 from codeyz/dev
crush/CrushCompiler.cc:884
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 11 Sep 2016 03:49:17 +0000 (11:49 +0800)]
Merge pull request #10986 from stiopaa1/osd_osd_remove_repeated_searching_of_map
osd/OSD.cc: remove repeated searching of map
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 11 Sep 2016 03:39:49 +0000 (11:39 +0800)]
Merge pull request #11000 from stiopaa1/osd_osd_removeUnneededSearchMap
osd/OSD.cc: remove unneeded searching of map
Reviewed-by: Jun Huang <hjwsm1989@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 11 Sep 2016 03:37:16 +0000 (11:37 +0800)]
Merge pull request #10935 from branch-predictor/bp-optimized-crush-ln
crush: don't normalize input of crush_ln iteratively
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sun, 11 Sep 2016 03:26:36 +0000 (11:26 +0800)]
Merge pull request #10776 from ceph/wip-offline-split
ceph-objectstore-tool: add a way to split filestore directories offline
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 11 Sep 2016 03:23:36 +0000 (11:23 +0800)]
Merge pull request #10011 from songbaisen/a16
mon: remove the redundant list swap in paxos commit_proposal
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 11 Sep 2016 03:22:08 +0000 (11:22 +0800)]
Merge pull request #10872 from rjfd/wip-16776
Enable builds without ceph-test subpackage
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Michal Jarzabek [Sat, 10 Sep 2016 18:17:57 +0000 (19:17 +0100)]
osd/ReplicatedPG: remove class redeclaration
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Jason Dillaman [Fri, 9 Sep 2016 14:42:50 +0000 (10:42 -0400)]
librbd: possible deadlock if cluster connection closed after image
Fixes: http://tracker.ceph.com/issues/17254
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
xie xingguo [Sat, 10 Sep 2016 10:33:42 +0000 (18:33 +0800)]
os/bluestore: drop bluestore_blob_id_t
which is not used anymore.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Sat, 10 Sep 2016 10:08:52 +0000 (18:08 +0800)]
os/bluestore: kill fill() method from bluestore_extent_ref_map_t
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Sat, 10 Sep 2016 09:58:54 +0000 (17:58 +0800)]
os/bluestore: add sanity check during extent loading
Otherwise there are potential extent leaks.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Mykola Golub [Sat, 10 Sep 2016 08:23:45 +0000 (11:23 +0300)]
Merge pull request #11034 from dillaman/wip-17251
librbd: potential seg fault when blacklisting an image client
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
xie xingguo [Sat, 10 Sep 2016 07:35:26 +0000 (15:35 +0800)]
os/bluestore: fix leak of result-checking of _fsck_check_extents
We shall not ignore the result of _fsck_check_extents() durint fsck().
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Sat, 10 Sep 2016 02:12:52 +0000 (10:12 +0800)]
os/bluestore: using is_spanning() for spanning checking
Otherwise is_spanning() has no caller and shall be deleted.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Sat, 10 Sep 2016 02:05:32 +0000 (10:05 +0800)]
os/bluestore: fix race condition
The empty() method also needs to be called under the protection of lock.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Sat, 10 Sep 2016 01:25:05 +0000 (09:25 +0800)]
os/bluestore: simplify extent_shard_key a little
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 9 Sep 2016 10:58:25 +0000 (18:58 +0800)]
os/bluestore: return onode_key to caller
The get_key_extent_shard() method shall decompose extent_shard_key
into onode_key and offset, but currently we don't fill onode_key
and return it to caller.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 9 Sep 2016 10:56:24 +0000 (18:56 +0800)]
os/bluestore: make extent key generation a little faster
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 9 Sep 2016 10:52:20 +0000 (18:52 +0800)]
os/bluestore: fix potential access violation during rename
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Gregory Meno [Wed, 31 Aug 2016 21:29:30 +0000 (21:29 +0000)]
install-deps: exit non-zero when we cannot match distro
Signed-off-by: Gregory Meno <gmeno@redhat.com>
John Spray [Fri, 9 Sep 2016 17:09:13 +0000 (18:09 +0100)]
Merge pull request #11001 from stiopaa1/client_barrier_moveCBlockSyncClass
client/barrier: move C_Block_Sync class to .cc
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 9 Sep 2016 16:03:11 +0000 (17:03 +0100)]
Merge pull request #10606 from jcsp/wip-mds-standby-trim
mds: trim null dentries proactively
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Josh Durgin [Fri, 5 Aug 2016 18:45:00 +0000 (11:45 -0700)]
ceph-objectstore-tool: add a way to split filestore directories offline
Use the usual split code, and split each dir that meets the
usual split criteria.
This can be run with lower than usual split settings, to avoid costly
online splits. To make sure the directories are not merged again, use
a load merge threshold (e.g. filestore merge threshold = 1), and
adjust the split multiplier accordingly.
Fixes: http://tracker.ceph.com/issues/17220
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Mykola Golub [Fri, 9 Sep 2016 13:33:43 +0000 (16:33 +0300)]
Merge pull request #10985 from dillaman/wip-16921
rbd-nbd: fix kernel deadlock during teuthology testing
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Ricardo Dias [Tue, 30 Aug 2016 07:29:00 +0000 (08:29 +0100)]
deb: Moved ceph-client-debug from ceph-base to ceph-test package
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 23 Aug 2016 11:36:55 +0000 (13:36 +0200)]
rpm: Added ceph_test_package bcond flag to control the build of ceph-test package
Fixes: http://tracker.ceph.com/issues/16776
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 23 Aug 2016 11:32:47 +0000 (13:32 +0200)]
cmake: Use WITH_TESTS flag to guard the build of ceph-test scripts/binaries
Signed-off-by: Ricardo Dias <rdias@suse.com>
Jason Dillaman [Fri, 9 Sep 2016 12:31:52 +0000 (08:31 -0400)]
librbd: potential seg fault when blacklisting an image client
Fixes: http://tracker.ceph.com/issues/17251
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 8 Sep 2016 15:51:34 +0000 (11:51 -0400)]
librbd: ignore cache busy errors when shrinking an image
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 8 Sep 2016 13:59:37 +0000 (09:59 -0400)]
librbd: invalidate cache before trimming image
Any potential writeback outside the extents of a shrunk image
would result in orphaned objects.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 7 Sep 2016 15:49:26 +0000 (11:49 -0400)]
rbd-nbd: mask out-of-bounds IO errors caused by image shrink
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 5 Sep 2016 14:01:45 +0000 (10:01 -0400)]
rbd-nbd: fix kernel deadlock during teuthology testing
Fixes: http://tracker.ceph.com/issues/16921
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Ricardo Dias [Tue, 23 Aug 2016 11:31:05 +0000 (13:31 +0200)]
rpm: Renamed bcond tests flag to make_check
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 19 Jul 2016 09:51:01 +0000 (11:51 +0200)]
rpm: Moved ceph-client-debug from ceph-base to ceph-test package
Signed-off-by: Ricardo Dias <rdias@suse.com>
Kefu Chai [Fri, 9 Sep 2016 08:26:38 +0000 (16:26 +0800)]
Merge pull request #10723 from ceph/wip-os-fuse
os/FuseStore: fix several FuseStore issues
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 9 Sep 2016 05:47:40 +0000 (13:47 +0800)]
Merge pull request #9767 from dx9/wip-safe-io
safe_io: Improve portability by replacing loff_t type usage with off_t.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 9 Sep 2016 05:21:08 +0000 (13:21 +0800)]
Merge pull request #11028 from ceph/wip-17450
cmake: set ARM_CRC_FLAGS from the CRC test rather than ARM_NEON_FLAGS
Reviewed-by: Kefu Chai <kchai@redhat.com>
Dan Mick [Fri, 9 Sep 2016 03:28:55 +0000 (20:28 -0700)]
Set ARM_CRC_FLAGS from the CRC test rather than ARM_NEON_FLAGS
Fixes: http://tracker.ceph.com/issues/17250
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Haomai Wang [Fri, 9 Sep 2016 02:56:21 +0000 (10:56 +0800)]
Merge pull request #10302 from stiopaa1/msg_asyncconn_addConstToMemFun
msg/AsyncConnection: add const to mem functions
Reviewed-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Fri, 9 Sep 2016 02:56:08 +0000 (10:56 +0800)]
Merge pull request #10114 from stiopaa1/msg_asyncmess_get_proto_version_addConst
msg/AsyncMessenger: add const to function
Reviewed-by: Haomai Wang <haomai@xsky.com>
Kefu Chai [Fri, 9 Sep 2016 02:55:24 +0000 (10:55 +0800)]
Merge pull request #11015 from tchaikov/wip-optional-py3
cmake: make py3 a nice-to-have
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Matt Benjamin [Fri, 9 Sep 2016 01:48:38 +0000 (21:48 -0400)]
Merge branch 'rgwfs-fix-rgw-lookup' of https://github.com/cmgitdream/ceph into cmgitdream-rgwfs-fix-rgw-lookup
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Michal Jarzabek [Tue, 6 Sep 2016 20:06:40 +0000 (21:06 +0100)]
osd/OSD.cc: remove unneeded searching of map
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Michal Jarzabek [Tue, 6 Sep 2016 22:24:09 +0000 (23:24 +0100)]
client/barrier: move C_Block_Sync class to .cc
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Michal Jarzabek [Sat, 2 Jul 2016 16:02:36 +0000 (17:02 +0100)]
msg/AsyncMessenger: add const to function
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Michal Jarzabek [Thu, 14 Jul 2016 17:50:38 +0000 (18:50 +0100)]
msg/AsyncConnection: add const to mem functions
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Dan Mick [Thu, 8 Sep 2016 19:12:39 +0000 (12:12 -0700)]
Merge pull request #11003 from ceph/wip-cmake
cmake: include(SIMDExt) in src/CMakeLists.txt
Sage Weil [Thu, 8 Sep 2016 18:39:29 +0000 (13:39 -0500)]
Merge pull request #11023 from liewegas/wip-bluefs-extent-append
os/bluestore/BlueFS: only extend extent on same bdev
Sage Weil [Thu, 8 Sep 2016 18:29:58 +0000 (14:29 -0400)]
os/bluestore/BlueFS: only extend extent on same bdev
Signed-off-by: Sage Weil <sage@redhat.com>
Matt Benjamin [Thu, 8 Sep 2016 18:26:40 +0000 (14:26 -0400)]
Merge pull request #10822 from Yan-waller/yj-wip-rgwfile-0823
rgw_file: fix return value signedness (rgw_readdir)
verified: f23
Haomai Wang [Thu, 8 Sep 2016 16:47:46 +0000 (00:47 +0800)]
Merge pull request #10321 from stiopaa1/async_EventSelect_addoverride
msg/EventSelect.h: add override to virtual funct
Reviewed-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Thu, 8 Sep 2016 16:47:21 +0000 (00:47 +0800)]
Merge pull request #10318 from stiopaa1/async_eventkqueue_addOverride
msg/EventKqueue.h: add override to virtual func
Reviewed-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Thu, 8 Sep 2016 16:47:01 +0000 (00:47 +0800)]
Merge pull request #10314 from stiopaa1/async_eventpoll_addOverride
msg/EventPoll.h: add override to virtual functions
Reviewed-by: Haomai Wang <haomai@xsky.com>
Matt Benjamin [Thu, 8 Sep 2016 16:13:56 +0000 (12:13 -0400)]
Merge pull request #10882 from stiopaa1/rgw_rgw_coroutine_moveWaitContextClass
rgw/rgw_coroutine: move WaitContext to .cc file
verified: f23
Matt Benjamin [Thu, 8 Sep 2016 15:14:39 +0000 (11:14 -0400)]
Merge pull request #10929 from atheism/rgw-lc-fix-typo
rgw: fix typo of "minite" to "minute" in rgw_lc.cc
verified: f23
Sage Weil [Thu, 8 Sep 2016 14:10:09 +0000 (09:10 -0500)]
Merge pull request #11010 from liewegas/wip-bluefs-compaction-race
os/bluestore/BlueFS: do not start racing async compaction
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
Sage Weil [Thu, 8 Sep 2016 14:07:33 +0000 (09:07 -0500)]
Merge pull request #11013 from xiexingguo/xxg-wip-fix-cmake-check
build: drop dryrun of autogen.sh from run-cmake-check.sh script
Sage Weil [Thu, 8 Sep 2016 14:03:14 +0000 (09:03 -0500)]
Merge pull request #11012 from majianpeng/bluefs-buffered-io
os/bluestore/BlueFS: For logs of rocksdb & bluefs only use directio.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 8 Sep 2016 14:02:07 +0000 (09:02 -0500)]
Merge pull request #11009 from liewegas/wip-bluestore-keys
os/bluestore: make onode keys more efficient (and sort correctly)
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Thu, 8 Sep 2016 08:47:59 +0000 (16:47 +0800)]
cmake: make py3 a nice-to-have
python3 is not a hard requirement to build ceph, so make it optional.
add an option named "WITH_PYTHON3" which accepts ON, OFF, or CHECK.
Fixes: http://tracker.ceph.com/issues/17103
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 8 Sep 2016 13:35:47 +0000 (08:35 -0500)]
Merge pull request #11017 from ifed01/wip-bluestore-cleanup
os/bluestore: remove some copy-pastes
Reviewed-by: Sage Weil <sage@redhat.com>
Igor Fedotov [Thu, 8 Sep 2016 13:20:01 +0000 (13:20 +0000)]
os/bluestore: remove some copy-pastes
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Igor Fedotov [Thu, 8 Sep 2016 13:17:00 +0000 (16:17 +0300)]
Merge pull request #11011 from liewegas/wip-bluestore-inline-bl
os/bluestore: fix a few memory utilization leaks and wasters
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Wido den Hollander [Thu, 8 Sep 2016 12:44:57 +0000 (14:44 +0200)]
mds: Set mds_snap_max_uid to
4294967294
Since kernel version 2.6 the Linux kernel supports 32-bit integers
and thus the limit is no longer 65536.
By setting this to a higher default value we make sure that all users
will be allowed to create snapshots in the future by default.
Signed-off-by: Wido den Hollander <wido@42on.com>
Jianpeng Ma [Thu, 8 Sep 2016 11:40:41 +0000 (19:40 +0800)]
os/bluestore/BlueFS: For logs of rocksdb & bluefs only use directio.
Now it use bluefs_buffered_io to control whether use buffer or directio
when write. But in fact for logs of rocksdb & bluefs, whether
bluefs_buffer_io is true or false, the logs only need directio.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
John Spray [Thu, 8 Sep 2016 09:30:45 +0000 (10:30 +0100)]
Merge pull request #10957 from ukernel/wip-17172
client: properly set inode number of created inode in replay request
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Thu, 8 Sep 2016 09:15:43 +0000 (17:15 +0800)]
Merge pull request #9936 from onyb/wip-ceph-disk-py3
ceph-disk: Compatibility fixes for Python 3
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Thu, 8 Sep 2016 06:10:10 +0000 (14:10 +0800)]
build: drop dryrun of autogen.sh from run-cmake-check.sh script
Introduced by https://github.com/ceph/ceph/pull/11007.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Mon, 27 Jun 2016 20:09:22 +0000 (13:09 -0700)]
os/FuseStore: only flush if dirty
No need to rewrite the object unless it was changed.
This partially fixes truncate.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 27 Jun 2016 18:59:24 +0000 (11:59 -0700)]
qa/workunits/objectstore: fix test_fuse.sh
We switched from @ to # a while back.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 7 Sep 2016 20:46:57 +0000 (16:46 -0400)]
os/bluestore: do not waste memory on cached encoded blobs
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 7 Sep 2016 20:45:29 +0000 (16:45 -0400)]
buffer: implement buffer::list::reserve(n)
Make sure we have N bytes of append_buffer reserved. On
a new or cleared list, this allocates exactly that much
runway, allowing us to control memory usage.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 7 Sep 2016 19:58:26 +0000 (15:58 -0400)]
os/bluestore/BlueFS: fix Dir memory leak
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 7 Sep 2016 19:29:30 +0000 (15:29 -0400)]
os/bluestore/BlueFS: do not start racing async compaction
Compaction is triggred from sync_metadata. If one compaction is
in progress and another thread also calls sync_metadata, do not
trigger a second async compaction!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 7 Sep 2016 18:30:33 +0000 (14:30 -0400)]
unittest_bluestore_types: resurrect blob and extent_map unit tests
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 7 Sep 2016 19:25:15 +0000 (15:25 -0400)]
os/bluestore: bits for unit tests
Signed-off-by: Sage Weil <sage@redhat.com>