]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agobluestore: set next object as ghobject_t::get_max() when start.hobj.is_max() 11495/head
Haomai Wang [Fri, 14 Oct 2016 14:17:22 +0000 (22:17 +0800)]
bluestore: set next object as ghobject_t::get_max() when start.hobj.is_max()

Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Xinze Chi <xinze@xsky.com>
8 years agoMerge pull request #11491 from xiexingguo/xxg-wip-fs-1014
Sage Weil [Fri, 14 Oct 2016 14:14:59 +0000 (09:14 -0500)]
Merge pull request #11491 from xiexingguo/xxg-wip-fs-1014

os/filestore: fix potential result code overwriting

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11482 from ifed01/wip-bluestore-gc-fixes2
Sage Weil [Fri, 14 Oct 2016 14:13:28 +0000 (09:13 -0500)]
Merge pull request #11482 from ifed01/wip-bluestore-gc-fixes2

os/bluestore: GC infra refactor, more UTs and GC range calculation fixes

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11490 from xiexingguo/xxg-wip-bluestore-1014
Igor Fedotov [Fri, 14 Oct 2016 14:01:58 +0000 (17:01 +0300)]
Merge pull request #11490 from xiexingguo/xxg-wip-bluestore-1014

os/bluestore: use iterator for erase() method directly

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: use iterator for erase() method directly 11490/head
xie xingguo [Fri, 14 Oct 2016 03:27:13 +0000 (11:27 +0800)]
os/bluestore: use iterator for erase() method directly

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/blustore: fix compile warning 11482/head
Igor Fedotov [Fri, 14 Oct 2016 12:33:15 +0000 (12:33 +0000)]
os/blustore: fix compile warning

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: fix GC gc_end_offset miscalculation
Igor Fedotov [Thu, 13 Oct 2016 14:02:38 +0000 (14:02 +0000)]
os/bluestore: fix GC gc_end_offset miscalculation

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: isolate GC stuff to be able to cover it with UT
Igor Fedotov [Wed, 12 Oct 2016 16:13:00 +0000 (19:13 +0300)]
os/bluestore: isolate GC stuff to be able to cover it with UT

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #11487 from batrick/cephfs-gid
John Spray [Fri, 14 Oct 2016 10:06:58 +0000 (12:06 +0200)]
Merge pull request #11487 from batrick/cephfs-gid

cephfs: add gid to asok status

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11357 from batrick/i17518
John Spray [Fri, 14 Oct 2016 10:04:28 +0000 (12:04 +0200)]
Merge pull request #11357 from batrick/i17518

mds: use parse_filesystem in parse_role to handle exceptions and reuse parsing code

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11380 from stiopaa1/mds_snapserver_addOverrideToVirt
John Spray [Fri, 14 Oct 2016 08:49:15 +0000 (10:49 +0200)]
Merge pull request #11380 from stiopaa1/mds_snapserver_addOverrideToVirt

mds/SnapServer.h: add override to virtual functs

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11402 from stiopaa1/mds_fsmapRemoveUnneededUseCount
John Spray [Fri, 14 Oct 2016 08:48:26 +0000 (10:48 +0200)]
Merge pull request #11402 from stiopaa1/mds_fsmapRemoveUnneededUseCount

mds/FSMap.cc: remove unneeded use of count

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11435 from stiopaa1/mds_damageTableMoveSharePtr
John Spray [Fri, 14 Oct 2016 08:47:18 +0000 (10:47 +0200)]
Merge pull request #11435 from stiopaa1/mds_damageTableMoveSharePtr

mds/DamageTable.cc: move shared ptrs

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoos/filestore: fix potential result code overwriting 11491/head
xie xingguo [Fri, 14 Oct 2016 07:13:02 +0000 (15:13 +0800)]
os/filestore: fix potential result code overwriting

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11484 from ceph/wip-move-ranges-tp
Sage Weil [Fri, 14 Oct 2016 00:22:20 +0000 (19:22 -0500)]
Merge pull request #11484 from ceph/wip-move-ranges-tp

tracing/objectstore.tp: add missing move_ranges_... tp

8 years agotracing/objectstore.tp: add missing move_ranges_... tp 11484/head
Sage Weil [Thu, 13 Oct 2016 20:57:58 +0000 (16:57 -0400)]
tracing/objectstore.tp: add missing move_ranges_... tp

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agocephfs: add gid to asok status 11487/head
Patrick Donnelly [Thu, 13 Oct 2016 03:30:32 +0000 (23:30 -0400)]
cephfs: add gid to asok status

This is useful e.g. for building a database with a unique ID for each
entity.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #11468 from xiexingguo/xxg-wip-bluestore-1013
Sage Weil [Thu, 13 Oct 2016 19:21:10 +0000 (14:21 -0500)]
Merge pull request #11468 from xiexingguo/xxg-wip-bluestore-1013

os/bluestore: traverse buffer_map in reverse order when spliting BufferSpace

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11296 from liewegas/wip-fixes
Sage Weil [Thu, 13 Oct 2016 19:00:45 +0000 (14:00 -0500)]
Merge pull request #11296 from liewegas/wip-fixes

osd: drop stray debug message

8 years agoMerge pull request #11237 from liewegas/wip-ec-move
Sage Weil [Thu, 13 Oct 2016 18:23:48 +0000 (13:23 -0500)]
Merge pull request #11237 from liewegas/wip-ec-move

os: move_ranges_destroy_src

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11426 from ceph/wip-rgw-17371
Casey Bodley [Thu, 13 Oct 2016 16:05:41 +0000 (12:05 -0400)]
Merge pull request #11426 from ceph/wip-rgw-17371

rgw: loses realm/period/zonegroup/zone data: period overwritten if somewhere in the cluster is still running Hammer

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #11391 from agraf/fix-aarch64-crc-v3
Kefu Chai [Thu, 13 Oct 2016 14:44:04 +0000 (22:44 +0800)]
Merge pull request #11391 from agraf/fix-aarch64-crc-v3

AArch64: Detect crc32 extension support from assembler

Reviewed-by: Yazen Ghannam <yazen.ghannam@linaro.org>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11451 from liewegas/wip-bluestore-reshard-fixes
Sage Weil [Thu, 13 Oct 2016 14:05:25 +0000 (09:05 -0500)]
Merge pull request #11451 from liewegas/wip-bluestore-reshard-fixes

os/bluestore: fix writes that span existing shard boundaries

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: force reshard if new extent spans shard boundary 11451/head
Sage Weil [Thu, 13 Oct 2016 13:42:17 +0000 (09:42 -0400)]
os/bluestore: force reshard if new extent spans shard boundary

A new write may create a new lextent that spans an
existing shard boundary.  If that happens, set a flag
so that we force a reshard when the onode is written.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11452 from liewegas/wip-bluestore-keys
Igor Fedotov [Thu, 13 Oct 2016 12:07:46 +0000 (15:07 +0300)]
Merge pull request #11452 from liewegas/wip-bluestore-keys

os/bluestore: fix onode vs extent key suffix
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: add checking to catch unspecified compression algorithm 11468/head
xie xingguo [Thu, 13 Oct 2016 09:23:20 +0000 (17:23 +0800)]
os/bluestore: add checking to catch unspecified compression algorithm

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: traverse buffer_map in reverse order
xie xingguo [Thu, 13 Oct 2016 07:32:13 +0000 (15:32 +0800)]
os/bluestore: traverse buffer_map in reverse order

Which is more efficient.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11454 from zealoussnow/wip-1013
Kefu Chai [Thu, 13 Oct 2016 07:31:41 +0000 (15:31 +0800)]
Merge pull request #11454 from zealoussnow/wip-1013

doc: fix dead link of "os-recommendations" in troubleshooting-osd

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agocommon/config_opts: comment nit
xie xingguo [Thu, 13 Oct 2016 06:40:37 +0000 (14:40 +0800)]
common/config_opts: comment nit

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: kill bluestore_shared_blob_hash_table_size_ratio
xie xingguo [Thu, 13 Oct 2016 06:39:00 +0000 (14:39 +0800)]
os/bluestore: kill bluestore_shared_blob_hash_table_size_ratio

Which is depreciated by https://github.com/ceph/ceph/commit/7260166da20bfe31469498e55265b40a12f80652#diff-6519c151b74b5a9355a697be278a4382

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: fix tips when adding buffer to cache
xie xingguo [Thu, 13 Oct 2016 03:19:18 +0000 (11:19 +0800)]
os/bluestore: fix tips when adding buffer to cache

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agodoc: fix dead link of "os-recommendations" in troubleshooting-osd 11454/head
Leo Zhang [Thu, 13 Oct 2016 02:38:10 +0000 (10:38 +0800)]
doc: fix dead link of "os-recommendations" in troubleshooting-osd

Signed-off-by: Leo Zhang <nguzcf@gmail.com>
8 years agoMerge pull request #11439 from xiexingguo/xxg-wip-bluestore-1012
Sage Weil [Wed, 12 Oct 2016 22:28:50 +0000 (17:28 -0500)]
Merge pull request #11439 from xiexingguo/xxg-wip-bluestore-1012

os/bluestore: avoid polluting shard info if need resharding

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: fix onode vs extent key suffix 11452/head
Sage Weil [Wed, 12 Oct 2016 22:27:14 +0000 (18:27 -0400)]
os/bluestore: fix onode vs extent key suffix

I set the extent key suffix as 'x', thinking that was
not a valid hex character and would let us quickly
identify extent keys (vs onode keys, which end with an
encoded u64). But that doesn't work: the keys encode
integer values in raw form--not in hex
(pretty_binary_string just prints it out that way in
the debug log).

Fix by appending 'o' to the onode keys, so that we will
always have a trailing 'o' or 'x' and can use the last
char reliably to determine the type.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11269 from yehudasa/wip-multipart-uploads-cp
Casey Bodley [Wed, 12 Oct 2016 18:48:28 +0000 (14:48 -0400)]
Merge pull request #11269 from yehudasa/wip-multipart-uploads-cp

rgw: multipart upload copy

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #11403 from bassamtabbara/wip-cmake-allocator-fix
Kefu Chai [Wed, 12 Oct 2016 17:01:39 +0000 (01:01 +0800)]
Merge pull request #11403 from bassamtabbara/wip-cmake-allocator-fix

cmake: find gperftools package for tcmalloc_minimal too

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11442 from wjwithagen/wip-wjw-freebsd-readme
Kefu Chai [Wed, 12 Oct 2016 16:41:02 +0000 (00:41 +0800)]
Merge pull request #11442 from wjwithagen/wip-wjw-freebsd-readme

README.FreeBSD: update to match the bimonthly FreeBSD status report

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11449 from dzafman/wip-scrub-prep
David Zafman [Wed, 12 Oct 2016 16:35:40 +0000 (09:35 -0700)]
Merge pull request #11449 from dzafman/wip-scrub-prep

test/osd-scrub-repair.sh: Use test case specific object names to help…

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoREADME.FreeBSD: update to match the bimonthly FreeBSD status report 11442/head
Willem Jan Withagen [Wed, 12 Oct 2016 09:11:39 +0000 (11:11 +0200)]
README.FreeBSD: update to match the bimonthly FreeBSD status report

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agotest/osd-scrub-repair.sh: Use test case specific object names to help with diagnostics 11449/head
David Zafman [Wed, 12 Oct 2016 01:08:12 +0000 (18:08 -0700)]
test/osd-scrub-repair.sh: Use test case specific object names to help with diagnostics

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoos/bluestore: avoid polluting shard info if need resharding 11439/head
xie xingguo [Wed, 12 Oct 2016 08:12:14 +0000 (16:12 +0800)]
os/bluestore: avoid polluting shard info if need resharding

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: remove dead code from reshard()
Sage Weil [Tue, 11 Oct 2016 22:36:32 +0000 (18:36 -0400)]
os/bluestore: remove dead code from reshard()

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11422 from xiexingguo/xxg-wip-bluestore-1011
Sage Weil [Tue, 11 Oct 2016 22:22:16 +0000 (17:22 -0500)]
Merge pull request #11422 from xiexingguo/xxg-wip-bluestore-1011

os/bluestore: fix race condtion during blob spliting

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agomds/DamageTable.cc: move shared ptrs 11435/head
Michal Jarzabek [Tue, 11 Oct 2016 18:54:16 +0000 (19:54 +0100)]
mds/DamageTable.cc: move shared ptrs

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agoMerge pull request #11394 from liewegas/wip-bluestore-shared-blob-intrusive
Sage Weil [Tue, 11 Oct 2016 18:25:32 +0000 (13:25 -0500)]
Merge pull request #11394 from liewegas/wip-bluestore-shared-blob-intrusive

os/bluestore: use std::unordered_map for SharedBlob lookup

8 years agomds: use parse_filesystem in parse_role 11357/head
Patrick Donnelly [Mon, 10 Oct 2016 22:16:16 +0000 (18:16 -0400)]
mds: use parse_filesystem in parse_role

This allows us to reuse code in parse_filesystem and avoid
get_filesystem which may fail if the fscid does not exist. This would
result in the program (mon) aborting due to the uncaught exception.

Fixes: http://tracker.ceph.com/issues/17518
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agomds: group filesystem access methods
Patrick Donnelly [Mon, 10 Oct 2016 22:14:18 +0000 (18:14 -0400)]
mds: group filesystem access methods

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agomds: use reference to avoid copy
Patrick Donnelly [Mon, 10 Oct 2016 22:13:33 +0000 (18:13 -0400)]
mds: use reference to avoid copy

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agomds: fully encapsulate filesystems map
Patrick Donnelly [Mon, 10 Oct 2016 21:06:52 +0000 (17:06 -0400)]
mds: fully encapsulate filesystems map

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agocmake: find gperftools package for tcmalloc_minimal too 11403/head
Bassam Tabbara [Mon, 10 Oct 2016 21:37:58 +0000 (14:37 -0700)]
cmake: find gperftools package for tcmalloc_minimal too

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
8 years agoMerge pull request #11233 from zealoussnow/wip-0927
Kefu Chai [Tue, 11 Oct 2016 15:48:21 +0000 (23:48 +0800)]
Merge pull request #11233 from zealoussnow/wip-0927

doc: fix start development cluster operation in index.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoos/bluestore: use std::unordered_map for SharedBlob lookup 11394/head
Sage Weil [Mon, 10 Oct 2016 19:59:51 +0000 (15:59 -0400)]
os/bluestore: use std::unordered_map for SharedBlob lookup

Many blobs aren't shared.  Save 8 bytes per SharedBlob by using a normal
unordered_map instead of instrusive::set.

More importantly, perhaps, it avoids us having to tune the intrusive
unordered_set size manually.  std::unordered_map does this automatically
for you, but the intrusive one does not.  And it's unclear how to
statically size it given that it's a per-collection structure and we have
no idea how many objects we'll have, how many blobs per object, and how
many objects will be cloned.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11183 from liewegas/wip-msgr-features
Kefu Chai [Tue, 11 Oct 2016 15:01:10 +0000 (23:01 +0800)]
Merge pull request #11183 from liewegas/wip-msgr-features

msg: make loopback Connection feature accurate all the time

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoos/bluestore: improve ExtentMap::reshard() readability a little 11422/head
xiexingguo [Tue, 11 Oct 2016 14:22:42 +0000 (22:22 +0800)]
os/bluestore: improve ExtentMap::reshard() readability a little

As ep, sp and esp can be a little confusing.

Signed-off-by: xiexingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11427 from ifed01/wip-bluestore-fix-test
Sage Weil [Tue, 11 Oct 2016 14:17:19 +0000 (09:17 -0500)]
Merge pull request #11427 from ifed01/wip-bluestore-fix-test

test/store_test: fix errors on the whole test suite run caused by the…

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: add sanity check to shard offset when updating
xiexingguo [Tue, 11 Oct 2016 14:16:34 +0000 (22:16 +0800)]
os/bluestore: add sanity check to shard offset when updating

Signed-off-by: xiexingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: fix race conditon during blob spliting
xiexingguo [Tue, 11 Oct 2016 14:14:22 +0000 (22:14 +0800)]
os/bluestore: fix race conditon during blob spliting

Signed-off-by: xiexingguo <xie.xingguo@zte.com.cn>
8 years agotest/store_test: fix errors on the whole test suite run caused by the lack of properi... 11427/head
Igor Fedotov [Tue, 11 Oct 2016 14:11:51 +0000 (14:11 +0000)]
test/store_test: fix errors on the whole test suite run caused by the lack of properites restore in some test cases

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: don't scan omap kvpair during fsck()
xie xingguo [Tue, 11 Oct 2016 11:14:38 +0000 (19:14 +0800)]
os/bluestore: don't scan omap kvpair during fsck()

Because it does not check anything, and removing it can
speed up the process of fsck()

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: kiill dead member from bluestore_shared_blob_t
xie xingguo [Tue, 11 Oct 2016 07:32:48 +0000 (15:32 +0800)]
os/bluestore: kiill dead member from bluestore_shared_blob_t

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agorgw: avoid corruption when running old radosgw-admin on a newer rgw 11426/head
Orit Wasserman [Tue, 11 Oct 2016 12:18:29 +0000 (14:18 +0200)]
rgw: avoid corruption when running old radosgw-admin on a newer rgw

Fixes:http://tracker.ceph.com/issues/17371
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #11150 from renhwztetecs/renhw-wip-mds-server-open
John Spray [Tue, 11 Oct 2016 10:27:21 +0000 (12:27 +0200)]
Merge pull request #11150 from renhwztetecs/renhw-wip-mds-server-open

mds/server: merge the snapshot request judgment

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11209 from david-z/wip-clear-dup-logic-mdsmonitor
John Spray [Tue, 11 Oct 2016 10:26:56 +0000 (12:26 +0200)]
Merge pull request #11209 from david-z/wip-clear-dup-logic-mdsmonitor

mon: clear duplicated logic in MDSMonitor

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11358 from stiopaa1/mds_sessionmaph_unneededCount
John Spray [Tue, 11 Oct 2016 10:26:03 +0000 (12:26 +0200)]
Merge pull request #11358 from stiopaa1/mds_sessionmaph_unneededCount

mds/SessionMap.h: remove unneeded use of count

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11362 from batrick/i17531
John Spray [Tue, 11 Oct 2016 10:24:10 +0000 (12:24 +0200)]
Merge pull request #11362 from batrick/i17531

mds: respawn using /proc/self/exe

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11359 from batrick/i17276
John Spray [Tue, 11 Oct 2016 10:23:50 +0000 (12:23 +0200)]
Merge pull request #11359 from batrick/i17276

client: add pid to metadata

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agorgw: Fix missing master zone for default region conversion
Orit Wasserman [Tue, 11 Oct 2016 09:19:01 +0000 (11:19 +0200)]
rgw: Fix missing master zone for default region conversion

Fixes:http://tracker.ceph.com/issues/17371
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: mark configuration as converted to avoid corruption when running older admins
Orit Wasserman [Tue, 11 Oct 2016 09:00:00 +0000 (11:00 +0200)]
rgw: mark configuration as converted to avoid corruption when running older admins

Fixes: http://tracker.ceph.com/issues/17371
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #11395 from dillaman/wip-17549
Mykola Golub [Tue, 11 Oct 2016 07:55:55 +0000 (10:55 +0300)]
Merge pull request #11395 from dillaman/wip-17549

librbd: ignore notify errors on missing image header

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #11404 from bassamtabbara/wip-fix-yasm-system-check
Kefu Chai [Tue, 11 Oct 2016 07:29:16 +0000 (15:29 +0800)]
Merge pull request #11404 from bassamtabbara/wip-fix-yasm-system-check

cmake: Fix for cross compiling

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11356 from dillaman/wip-17528
Mykola Golub [Tue, 11 Oct 2016 05:58:45 +0000 (08:58 +0300)]
Merge pull request #11356 from dillaman/wip-17528

librbd: update internals to use optional separate data pool

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #11297 from stiopaa1/mds_sessionmap_avoidCopyingPlusConst
Gregory Farnum [Mon, 10 Oct 2016 21:47:15 +0000 (15:47 -0600)]
Merge pull request #11297 from stiopaa1/mds_sessionmap_avoidCopyingPlusConst

mds/SessionMap.cc: avoid copying and add const

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11283 from jcsp/wip-print-legacy-client-fscid
Gregory Farnum [Mon, 10 Oct 2016 21:46:55 +0000 (15:46 -0600)]
Merge pull request #11283 from jcsp/wip-print-legacy-client-fscid

mds: include legacy client fsid in FSMap print

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agocmake: Fix for cross compiling 11404/head
Bassam Tabbara [Tue, 4 Oct 2016 23:55:27 +0000 (16:55 -0700)]
cmake: Fix for cross compiling

The check for yasm tool was calling uname -m which will not
work when cross compiling. Use CMAKE_SYSTEM_PROCESSOR instead.

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
8 years agomds/FSMap.cc: remove unneeded use of count 11402/head
Michal Jarzabek [Sun, 9 Oct 2016 13:07:41 +0000 (14:07 +0100)]
mds/FSMap.cc: remove unneeded use of count

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agoMerge pull request #11206 from dzafman/wip-16474
David Zafman [Mon, 10 Oct 2016 20:55:16 +0000 (13:55 -0700)]
Merge pull request #11206 from dzafman/wip-16474

osd: Remove extra call to reg_next_scrub() during splits

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agoMerge pull request #11399 from theanalyst/wip-release-notes
Loic Dachary [Mon, 10 Oct 2016 20:17:18 +0000 (22:17 +0200)]
Merge pull request #11399 from theanalyst/wip-release-notes

scripts/release-notes: allow title guesses from gh tags & description update

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agobuild/ops: ceph-release-notes guess pr title based on gh tags 11399/head
Abhishek Lekshmanan [Mon, 10 Oct 2016 19:37:03 +0000 (21:37 +0200)]
build/ops: ceph-release-notes guess pr title based on gh tags

We add a switch --use-tags which helps guess the component of the pr
based on gh tags, still needs work, but provides better estimates when
looking at really large release notes where guessing each pr would be
too much work

Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
8 years agoscripts: add description to ceph-release-notes
Abhishek Lekshmanan [Mon, 10 Oct 2016 19:36:29 +0000 (21:36 +0200)]
scripts: add description to ceph-release-notes

Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
8 years agolibrbd: include pool id in data block prefix if data pool enabled 11356/head
Jason Dillaman [Thu, 6 Oct 2016 19:40:56 +0000 (15:40 -0400)]
librbd: include pool id in data block prefix if data pool enabled

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: initialize the data pool IO context during image open state machine
Jason Dillaman [Thu, 6 Oct 2016 19:19:26 +0000 (15:19 -0400)]
librbd: initialize the data pool IO context during image open state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: store data pool id with image header during creation
Jason Dillaman [Thu, 6 Oct 2016 19:04:51 +0000 (15:04 -0400)]
librbd: store data pool id with image header during creation

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11355 from dillaman/wip-17424
Mykola Golub [Mon, 10 Oct 2016 18:07:44 +0000 (21:07 +0300)]
Merge pull request #11355 from dillaman/wip-17424

rbd: add support for separate image data pool

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #10731 from yehudasa/wip-rgw-sync-plugins
Casey Bodley [Mon, 10 Oct 2016 17:51:10 +0000 (13:51 -0400)]
Merge pull request #10731 from yehudasa/wip-rgw-sync-plugins

rgw: sync modules, metadata search

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agolibrbd: ignore notify errors on missing image header 11395/head
Jason Dillaman [Mon, 10 Oct 2016 15:57:03 +0000 (11:57 -0400)]
librbd: ignore notify errors on missing image header

The rename op on v1 images fails since the header no longer exists. In
the general case, the removal of the header object will also fail the
watcher which has its own recovery path.

Fixes: http://tracker.ceph.com/issues/17549
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11363 from xiexingguo/xxg-wip-fix-rbd-warn
Jason Dillaman [Mon, 10 Oct 2016 15:07:11 +0000 (11:07 -0400)]
Merge pull request #11363 from xiexingguo/xxg-wip-fix-rbd-warn

cls_rbd: silence compiler warnings

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11371 from stiopaa1/mds_cinode_removeCount
Sage Weil [Mon, 10 Oct 2016 15:03:25 +0000 (10:03 -0500)]
Merge pull request #11371 from stiopaa1/mds_cinode_removeCount

mds/CInode.h: remove unneeded use of count

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11383 from stiopaa1/mds_fsmap_passSharedPtrByConstRef
Sage Weil [Mon, 10 Oct 2016 15:00:05 +0000 (10:00 -0500)]
Merge pull request #11383 from stiopaa1/mds_fsmap_passSharedPtrByConstRef

mds/FSMap: pass shared_ptr by const ref

8 years agorbd: include data pool name within info command 11355/head
Jason Dillaman [Thu, 6 Oct 2016 18:49:25 +0000 (14:49 -0400)]
rbd: include data pool name within info command

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agorbd: support overriding image data pool when creating images
Jason Dillaman [Thu, 6 Oct 2016 18:31:27 +0000 (14:31 -0400)]
rbd: support overriding image data pool when creating images

Fixes: http://tracker.ceph.com/issues/17424
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11290 from trociny/wip-17017
Jason Dillaman [Mon, 10 Oct 2016 14:41:25 +0000 (10:41 -0400)]
Merge pull request #11290 from trociny/wip-17017

rbd-mirror HA: move librbd::image_watcher::Notifier to librbd::object_watcher

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11260 from runsisi/wip-fix-mirror-image-disable
Jason Dillaman [Mon, 10 Oct 2016 14:40:33 +0000 (10:40 -0400)]
Merge pull request #11260 from runsisi/wip-fix-mirror-image-disable

librbd: fix rollback if failed to disable mirroring for image

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11301 from liewegas/wip-bluestore-buffered-write
Sage Weil [Mon, 10 Oct 2016 14:40:06 +0000 (09:40 -0500)]
Merge pull request #11301 from liewegas/wip-bluestore-buffered-write

os/bluestore: allow default to buffered write

Reviewed-by: Mark Nelson <mnelson@redhat.com>
8 years agoMerge pull request #11370 from ceph/wip-krbd-unmap-options
Jason Dillaman [Mon, 10 Oct 2016 14:17:09 +0000 (10:17 -0400)]
Merge pull request #11370 from ceph/wip-krbd-unmap-options

rbd: expose rbd unmap options

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11255 from dzafman/wip-scrub-boundary
Sage Weil [Mon, 10 Oct 2016 14:12:16 +0000 (09:12 -0500)]
Merge pull request #11255 from dzafman/wip-scrub-boundary

osd: fix scrub boundary to not include a SnapSet

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agomsg: make loopback Connection feature accurate all the time 11183/head
Sage Weil [Mon, 10 Oct 2016 13:55:54 +0000 (09:55 -0400)]
msg: make loopback Connection feature accurate all the time

In 626360aab05545ddacb0ac28e54a70e31fd5695d we made the
OSD cluster loopback connection CEPH_FEATURES_ALL, but
all other loopback connections got features == 0.  I
can't come up with any reason we wouldn't want those
connections to have accurate feature bits, so let's just
use CEPH_FEATURES_ALL for all of them.

While we're here, make the cflags argument required.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11377 from xiexingguo/xxg-wip-bluestore-1008
Sage Weil [Mon, 10 Oct 2016 13:48:43 +0000 (08:48 -0500)]
Merge pull request #11377 from xiexingguo/xxg-wip-bluestore-1008

os/bluestore: drop inline_dirty from struct ExtentMap

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoAArch64: Detect crc32 extension support from assembler 11391/head
Alexander Graf [Mon, 26 Sep 2016 14:26:37 +0000 (16:26 +0200)]
AArch64: Detect crc32 extension support from assembler

The used compiler may or may not be recent enough to recognize the
crc32 extended cpu type. However, it does not really have to know about
them either, since all we do is pass inline assembly instructions to
the assembler.

This patch moves the crc cpu extension detection from compiler based
to assembler based, so that we can build optimized code even when the
compiler does not know about the cpu type yet.

Fixes: http://tracker.ceph.com/issues/17516
Signed-off-by: Alexander Graf <agraf@suse.de>
8 years agoos/bluestore: narrow scope of 'pos' 11377/head
xie xingguo [Mon, 10 Oct 2016 11:39:18 +0000 (19:39 +0800)]
os/bluestore: narrow scope of 'pos'

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11281 from jcsp/wip-17466
John Spray [Mon, 10 Oct 2016 11:21:07 +0000 (13:21 +0200)]
Merge pull request #11281 from jcsp/wip-17466

mds: handle bad standby_for_fscids in fsmap

Reviewed-by: Greg Farnum <gfarnum@redhat.com>