]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
John Spray [Sat, 23 Sep 2017 17:21:47 +0000 (13:21 -0400)]
mgr: fix crashable DaemonStateIndex::get calls
This function was recently fixed to return null
on missing entries: handle that properly.
Fixes: http://tracker.ceph.com/issues/17737
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sat, 23 Sep 2017 15:36:25 +0000 (16:36 +0100)]
Merge pull request #17850 from batrick/vstart-confg-path
qa: revert "qa: use config_path property instead of literal"
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Sat, 23 Sep 2017 03:23:50 +0000 (11:23 +0800)]
Merge pull request #17881 from joscollin/wip-mgr-signed-unsigned-warning
mgr: silence warning from -Wsign-compare
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 22 Sep 2017 21:09:39 +0000 (16:09 -0500)]
Merge pull request #17756 from jcsp/wip-19291
mgr: set explicit thread name
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Fri, 22 Sep 2017 21:09:09 +0000 (16:09 -0500)]
Merge pull request #17808 from xiexingguo/wip-eqduot-vs-enospc
osd/PrimaryLogPG: prepare_transaction - fix EDQUOT vs ENOSPC
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 22 Sep 2017 21:08:14 +0000 (16:08 -0500)]
Merge pull request #17819 from neha-ojha/wip-cbt-teuthology-fix-pg-num
qa/suites/rados/perf: create pool with lower pg_num
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 22 Sep 2017 21:07:51 +0000 (16:07 -0500)]
Merge pull request #17827 from tchaikov/wip-mono-heartbeat
common: use mono clock for HeartbeatMap
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 22 Sep 2017 21:05:50 +0000 (16:05 -0500)]
Merge pull request #17844 from liewegas/wip-21259
os/bluestore: debug bluestore cache shutdown
Sage Weil [Fri, 22 Sep 2017 21:04:22 +0000 (16:04 -0500)]
Merge pull request #17845 from liewegas/wip-21408
os/bluestore: ignore 0x2000~2000 extent oddity from luminous upgrade
Reviewed-by: Varada Kari <varada.kari@gmail.com>
Patrick Donnelly [Fri, 22 Sep 2017 18:33:33 +0000 (11:33 -0700)]
Merge PR #17853 into master
* refs/remotes/upstream/pull/17853/head:
mds: check ongoing catter-gather process before capping log
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 22 Sep 2017 18:33:31 +0000 (11:33 -0700)]
Merge PR #17851 into master
* refs/remotes/upstream/pull/17851/head:
client: use unique_ptr for locks
client: use unique_ptr for Formatter
Reviewed-by: Jos Collin <jcollin@redhat.com>
Patrick Donnelly [Fri, 22 Sep 2017 18:33:29 +0000 (11:33 -0700)]
Merge PR #17843 into master
* refs/remotes/upstream/pull/17843/head:
ceph_volume_client: perform snapshot operations in
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
vasukulkarni [Fri, 22 Sep 2017 18:22:02 +0000 (11:22 -0700)]
Merge pull request #17757 from ceph/wip-rgw-ansible-var
qa/tests: Add additional required ceph-ansible vars due to upstream changes
Nathan Cutler [Fri, 22 Sep 2017 15:07:02 +0000 (17:07 +0200)]
Merge pull request #17910 from smithfarm/wip-21499
tests: point-to-point-x: upgrade client.1 to -x along with cluster nodes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Fri, 22 Sep 2017 15:01:59 +0000 (23:01 +0800)]
Merge pull request #17904 from carltonf/wip-fix-21498
ceph-disk: fix '--runtime' omission for ceph-osd service
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Sep 2017 14:51:44 +0000 (22:51 +0800)]
Merge pull request #17770 from aclamk/fix-bluestore-fio-hash
bluestore/fio: Fixed problem with all objects having the same hash
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Eric Ivancich [Fri, 22 Sep 2017 13:57:33 +0000 (09:57 -0400)]
Merge pull request #17901 from tchaikov/wip-cmake-gperftools
cmake: update the error message for gperftools bug
Nathan Cutler [Thu, 21 Sep 2017 20:50:06 +0000 (22:50 +0200)]
qa: point-to-point-x: upgrade client.1 to -x along with cluster nodes
The client.1 rgw in workload_x had not been upgraded to -x.
Fixes: http://tracker.ceph.com/issues/21499
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Fri, 22 Sep 2017 04:44:36 +0000 (12:44 +0800)]
Merge pull request #17806 from tchaikov/wip-osdc-new-options
osdc/Journaler: use new style options
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Fri, 22 Sep 2017 04:43:03 +0000 (12:43 +0800)]
Merge pull request #17823 from xiexingguo/wip-clone-bytes
osd/osd_type: get_clone_bytes - inline size() for overlapping size
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Sep 2017 04:42:27 +0000 (12:42 +0800)]
Merge pull request #17794 from hjwsm1989/wip-21425
qa/suites/rest/basic/tasks/rest_test: more whitelisting
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Sep 2017 04:41:21 +0000 (12:41 +0800)]
Merge pull request #17744 from xiexingguo/wip-blue-eio
os/bluestore: propagate read-EIO to high level callers
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 22 Sep 2017 04:40:18 +0000 (12:40 +0800)]
Merge pull request #17460 from dengquan/master
java/native: fix milliseconds to mtime/atime conversion
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Sep 2017 04:33:36 +0000 (12:33 +0800)]
Merge pull request #17422 from aclamk/fix-cmake-unsupported-allocator
cmake: in case of bad "ALLOCATOR" selected issue warning
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Sep 2017 04:32:13 +0000 (12:32 +0800)]
Merge pull request #17374 from jcsp/wip-mgr-config-tidy
mgr: use new style config opts + add metadata
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Sep 2017 04:30:41 +0000 (12:30 +0800)]
Merge pull request #17309 from jcsp/wip-daemonserver-locks
mgr: locking fixes
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Tue, 19 Sep 2017 11:16:24 +0000 (19:16 +0800)]
osdc/Journaler: use new style options
also use uint64_t for these options, as they are casted to uint64_t when
reading from conf.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Sep 2017 04:24:07 +0000 (12:24 +0800)]
Merge pull request #17830 from Yan-waller/wip-walle-0920primarypg
osd/PrimaryLogPG: misc cleanups
Reviewed-by: Kefu Chai <kchai@redhat.com>
Carl Xiong [Fri, 22 Sep 2017 03:55:33 +0000 (11:55 +0800)]
ceph-disk: fix '--runtime' omission for ceph-osd service
f425a127b introduces a regression that ceph-disk omits "--runtime" when
enabling ceph-osd@$ID.service units for device-backed OSDs.
Fixes: http://tracker.ceph.com/issues/21498
Signed-off-by: Carl Xiong <cxiong@suse.com>
Kefu Chai [Fri, 22 Sep 2017 02:38:01 +0000 (10:38 +0800)]
cmake: update the error message for gperftools bug
it's a follow-up of #17788
Signed-off-by: Kefu Chai <kchai@redhat.com>
Boris Ranto [Fri, 22 Sep 2017 02:35:26 +0000 (04:35 +0200)]
Merge pull request #17891 from b-ranto/wip-selinux-lnk-getattr
selinux: Allow getattr on lnk sysfs files
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Sage Weil [Fri, 22 Sep 2017 02:25:52 +0000 (21:25 -0500)]
Merge pull request #17739 from liewegas/wip-filestore-configs
common/options: document filestore and filejournal options
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 22 Sep 2017 02:25:36 +0000 (21:25 -0500)]
Merge pull request #17740 from liewegas/wip-objecter-configs
common/options: document objecter, filer, and journal options
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 22 Sep 2017 02:25:17 +0000 (21:25 -0500)]
Merge pull request #17579 from liewegas/wip-kill-snapdirs
osd: kill snapdirs
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Sep 2017 02:04:38 +0000 (10:04 +0800)]
Merge pull request #17895 from ivancich/wip-fix-mclock-coverity
tests: fix uninitialized value found by coverity scan
Reviewed-by: Kefu Chai <kchai@redhat.com>
Vasu Kulkarni [Thu, 21 Sep 2017 22:34:31 +0000 (15:34 -0700)]
use ovh instead of vps
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
J. Eric Ivancich [Thu, 21 Sep 2017 13:40:47 +0000 (09:40 -0400)]
tests: fix uninitialized value found by coverity scan
Unit test for mclock priority queue had a default constructor, which
didn't initialize a value.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
Sage Weil [Thu, 21 Sep 2017 19:19:47 +0000 (15:19 -0400)]
osd: make shutdown debug conditional (and off by default)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 14 Sep 2017 21:23:25 +0000 (17:23 -0400)]
common/options: document filestore and filejournal options
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 8 Sep 2017 19:28:59 +0000 (15:28 -0400)]
osd/PrimaryLogPG: can_create false for cache ops
Some cache ops do writes, but none of them *create* objects, so we
should not set can_create.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 8 Sep 2017 19:24:42 +0000 (15:24 -0400)]
osd/PrimaryLogPG: drop odd maintain_ssc hack
This was added two years ago by
b61f3e43f1c9d43daa0dedd7cbd0fe5787cbdfbb ,
but I can see why it is needed here. The test case for that
original bug (from
a3442cf07841a7269713e30ca270f2f9c356a598 ) passes
fine.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Sep 2017 19:11:21 +0000 (15:11 -0400)]
ceph-objectstore-tool: drop pre-snapset support for setting up snapmapper
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Sep 2017 19:09:04 +0000 (15:09 -0400)]
ceph-objectstore-tool: drop head_exists corruption
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 21:12:56 +0000 (17:12 -0400)]
ceph_test_rados_api_pool: make LibRadosPools.PoolList tolerate long pool names
There was a baked-in assumption that the first pool was <20 chars.
No more!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 17:42:49 +0000 (13:42 -0400)]
osd/osd_types: object_info_t: remove legacy_snaps
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 17:41:38 +0000 (13:41 -0400)]
osd/PrimaryLogPG: drop last legacy_snaps users (just debug output!)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 17:39:46 +0000 (13:39 -0400)]
osd/osd_types: SnapSet: remove head_exists
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 17:39:35 +0000 (13:39 -0400)]
osd: drop last head_exists = true calls
No more users!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 17:37:48 +0000 (13:37 -0400)]
osd/PrimaryLogPG: find_object_context: drop !head_exists path
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 17:36:42 +0000 (13:36 -0400)]
osd/PrimaryLogPG: do_osd_ops: head_exists is always true for LIST_SNAPS
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 17:35:32 +0000 (13:35 -0400)]
osd/osd_types: SnapSet: drop is_legacy
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 17:35:07 +0000 (13:35 -0400)]
osd/PrimaryLogPG: start_flush: drop legacy snapset handling
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 17:34:31 +0000 (13:34 -0400)]
osd/osd_types: default head_exists = true
This will be helpful as we start removing code that would otherwise
set this to true in some convoluted way.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 17:33:56 +0000 (13:33 -0400)]
osd/PrimaryLogPG: finish_promote: drop legacy snapset handling
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 17:33:09 +0000 (13:33 -0400)]
osd/PrimaryLogPG: do_copy_get: drop legacy snapset path
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 16:43:44 +0000 (12:43 -0400)]
osd/PrimaryLogPG: _delete_oid: drop legacy snapset handling
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 16:42:16 +0000 (12:42 -0400)]
osd/PrimaryLogPG: do_osd_ops: drop legacy snapset handling from LIST_SNAPS
This is so much simpler, yay!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 16:41:45 +0000 (12:41 -0400)]
osd/PrimaryLogPG: on_local_recover: drop legacy snapset handling
This was there to deal with jewel peers, which are no more.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 16:40:59 +0000 (12:40 -0400)]
osd/PG: _scan_snaps: drop legacy snapset handling
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 16:38:25 +0000 (12:38 -0400)]
osd/PrimaryLogPG: find_object_context: drop legacy snapset handling
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 16:15:08 +0000 (12:15 -0400)]
osd/PrimaryLogPG: issue_repop: drop obsolete condition on head_obc
The only user is trim_object, which sets obc = clone, head_obc =
head.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 16:13:03 +0000 (12:13 -0400)]
osd/PrimaryLogPG: snapset_obc -> head_obc
This is only used for trim_object, now!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 16:11:32 +0000 (12:11 -0400)]
osd/PrimaryLogPG: do_op: drop snapset_obc lookup on snapdir
We'll never find it. This also means we can drop the goofy hack
to clear it for cache tiers.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 16:09:06 +0000 (12:09 -0400)]
osd/PrimaryLogPG: trim_object: ctx->snapset_obc -> head_obc
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 16:06:13 +0000 (12:06 -0400)]
osd/PrimaryLogPG: trim_object: simplify a bit more for post-snapdir world
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Sep 2017 16:03:53 +0000 (12:03 -0400)]
osd/PrimaryLogPG: trim_object: drop legacy SnapSet handling
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 20 Sep 2017 07:13:35 +0000 (15:13 +0800)]
common: use mono clock for HeartbeatMap
to avoid problems when admin sets system clock.
see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53901 for the reason
why we cannot use atomic<time_point>.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Xinze Chi <xinze@xsky.com>
Boris Ranto [Thu, 21 Sep 2017 15:24:07 +0000 (17:24 +0200)]
selinux: Allow getattr on lnk sysfs files
This showed up during downstream testing for luminous. We are doing
getattr on the sysfs lnk files and the current policy does not allow
this.
Signed-off-by: Boris Ranto <branto@redhat.com>
Xie Xingguo [Thu, 21 Sep 2017 13:02:57 +0000 (21:02 +0800)]
Merge pull request #17872 from joscollin/wip-osdmap-signed-unsigned-warning
osd: silence warnings from -Wsign-compare
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Jos Collin [Thu, 21 Sep 2017 09:05:39 +0000 (14:35 +0530)]
mgr: silence warning from -Wsign-compare
Fixed the warning:
ceph/src/mgr/Mgr.cc: In lambda function:
ceph/src/mgr/Mgr.cc:413:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (unsigned int osd_id = 0; osd_id < osd_map.get_max_osd(); ++osd_id) {
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Jos Collin <jcollin@redhat.com>
Jos Collin [Thu, 21 Sep 2017 07:05:53 +0000 (12:35 +0530)]
osd: silence warnings from -Wsign-compare
Fixed the warning :
ceph/src/osd/OSDMap.cc: In member function ‘int OSDMap::validate_crush_rules(CrushWrapper*, std::ostream*) const’:
ceph/src/osd/OSDMap.cc:3278:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pool.get_size() < (int)newcrush->get_rule_mask_min_size(ruleno) ||
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ceph/src/osd/OSDMap.cc:3279:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pool.get_size() > (int)newcrush->get_rule_mask_max_size(ruleno)) {
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Jos Collin <jcollin@redhat.com>
Kefu Chai [Thu, 21 Sep 2017 03:10:10 +0000 (11:10 +0800)]
Merge pull request #17833 from mogeb/cache-tiering-doc
doc: update link to placing-different-pools
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yan, Zheng [Thu, 21 Sep 2017 02:56:07 +0000 (10:56 +0800)]
mds: check ongoing catter-gather process before capping log
When deactivating mds, MDLog::trim() may start scatter-gather
process on mdsdir inode. Locker::scatter_writebehind() submits
log entry. So mds should make sure there is no scatter-gather
before capping log.
Fixes: http://tracker.ceph.com/issues/21467
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Patrick Donnelly [Thu, 21 Sep 2017 01:31:09 +0000 (18:31 -0700)]
Merge PR #17849 into master
* refs/remotes/upstream/pull/17849/head:
qa: get config only on running MDS
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 16 Mar 2017 18:35:49 +0000 (14:35 -0400)]
client: use unique_ptr for locks
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 16 Mar 2017 18:32:01 +0000 (14:32 -0400)]
client: use unique_ptr for Formatter
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 20 Sep 2017 23:09:04 +0000 (16:09 -0700)]
qa: revert "qa: use config_path property instead of literal"
This reverts commit
f95798b3adb30c866725ef26aee75c4811655752 .
The config_path method wasn't available through inheritance as I thought. Oops.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 20 Sep 2017 22:44:40 +0000 (15:44 -0700)]
qa: get config only on running MDS
Fixes: http://tracker.ceph.com/issues/21466
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 20 Sep 2017 19:38:25 +0000 (12:38 -0700)]
Merge PR #17791 into master
* refs/remotes/upstream/pull/17791/head:
client: set client_try_dentry_invalidate to false by default
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 20 Sep 2017 19:38:23 +0000 (12:38 -0700)]
Merge PR #17784 into master
* refs/remotes/upstream/pull/17784/head:
vstart: create MDSs before filesystems
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 20 Sep 2017 19:38:21 +0000 (12:38 -0700)]
Merge PR #17783 into master
* refs/remotes/upstream/pull/17783/head:
mon/MDSMonitor: fix clog msgs on MDS rank add/rm
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 20 Sep 2017 19:38:18 +0000 (12:38 -0700)]
Merge PR #17778 into master
* refs/remotes/upstream/pull/17778/head:
client: move Fh init to ctor
Reviewed-by: Jos Collin <jcollin@redhat.com>
Patrick Donnelly [Wed, 20 Sep 2017 19:38:16 +0000 (12:38 -0700)]
Merge PR #17768 into master
* refs/remotes/upstream/pull/17768/head:
ceph: do link/rename semantic checks after srcdn is readable
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Wed, 20 Sep 2017 16:38:46 +0000 (12:38 -0400)]
os/bluestore: ignore 0x2000~2000 extent oddity from luminous upgrade
Luminous does a block_size granularity freelist, and assumes that
0~ROUND_UP_TO(SUPER_RESERVED,block_size) is used. Current master uses
min_alloc_size granularity and changes that assumption to
0~ROUND_UP_TO(SUPER_RESERVED,min_alloc_size). That means if master
fsck's a luminous-created bluestore, it will think 0x2000~2000 is used
(current baked-in min_alloc_size-based assumption) but the old freelist
says it is free (old mkfs assumption). The disparity is harmless since
the extent is below min_alloc_size, so ignore it.
Fixes: http://tracker.ceph.com/issues/21408
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 20 Sep 2017 16:27:20 +0000 (11:27 -0500)]
Merge pull request #17807 from xiexingguo/wip-kill-add-interval-usage
osd/PrimaryLogPG: kill add_interval_usage
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Wed, 20 Sep 2017 16:26:41 +0000 (09:26 -0700)]
Merge pull request #17723 from amitkumar50/cov-librados-3
rados: Initialization of alignment
Reviewed-by: Jos Collin <jcollin@redhat.com>
Mohamad Gebai [Wed, 20 Sep 2017 15:58:08 +0000 (17:58 +0200)]
doc: update 'ceph osd pool set' example
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
Sage Weil [Thu, 7 Sep 2017 21:12:42 +0000 (17:12 -0400)]
osd: debug_bluestore on shutdown
...just like we do with filestore etc.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Sep 2017 21:11:30 +0000 (17:11 -0400)]
os/bluestore: dump stray cache content on shutdown
Tracking down http://tracker.ceph.com/issues/21259.
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 20 Sep 2017 15:08:47 +0000 (23:08 +0800)]
Merge pull request #17747 from tchaikov/wip-qa
qa/standalone: respect $TEMPDIR
Reviewed-by: David Zafman <dzafman@redhat.com>
Josh Durgin [Wed, 20 Sep 2017 15:07:56 +0000 (08:07 -0700)]
Merge pull request #17828 from jdurgin/wip-21428
osd/PrimaryLogPG: request osdmap update in the right block
Reviewed-by: Sage Weil <sage@redhat.com>
Ramana Raja [Wed, 20 Sep 2017 14:57:22 +0000 (20:27 +0530)]
ceph_volume_client: perform snapshot operations in
... client configured snap directory name, instead of in hard-coded
'.snap' directory.
Fixes: http://tracker.ceph.com/issues/21476
Signed-off-by: Ramana Raja <rraja@redhat.com>
Mohamad Gebai [Wed, 20 Sep 2017 11:19:55 +0000 (13:19 +0200)]
doc: update link to placing-different-pools
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
Yan Jun [Wed, 20 Sep 2017 08:06:56 +0000 (16:06 +0800)]
osd/PrimaryLogPG: drop unused variables
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
Yan Jun [Wed, 20 Sep 2017 08:47:13 +0000 (16:47 +0800)]
osd/PrimaryLogPG: avoid accessing value of map.end()
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
Josh Durgin [Wed, 20 Sep 2017 05:18:35 +0000 (01:18 -0400)]
osd/PrimaryLogPG: request osdmap update in the right block
Fixes: http://tracker.ceph.com/issues/21428
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Wed, 20 Sep 2017 04:35:16 +0000 (12:35 +0800)]
Merge pull request #17785 from dzafman/wip-add-repair
test: Fix ceph-objectstore-tool usage check
Reviewed-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Wed, 20 Sep 2017 03:13:42 +0000 (11:13 +0800)]
osd/osd_type: get_clone_bytes - inline size() for overlapping size
This is faster and simpler. A similar issue can be found at:
https://github.com/ceph/ceph/pull/17807
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Wed, 20 Sep 2017 03:22:49 +0000 (11:22 +0800)]
Merge pull request #17138 from Liuchang0812/wip-updata-osd-hostname-in-metaupdater
mgr: preventing blank hostname in DaemonState
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Wed, 20 Sep 2017 03:11:02 +0000 (11:11 +0800)]
Merge pull request #17738 from jtlayton/wip-jlayton-20988
common: lockdep fixes
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>