]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoMerge branch 'master' into wip-remove-unused-class-declaration 12466/head
Sage Weil [Fri, 16 Dec 2016 23:38:32 +0000 (17:38 -0600)]
Merge branch 'master' into wip-remove-unused-class-declaration

8 years agoMerge pull request #12538 from liewegas/wip-workunits
Sage Weil [Fri, 16 Dec 2016 21:38:24 +0000 (15:38 -0600)]
Merge pull request #12538 from liewegas/wip-workunits

qa/tasks/workunit: retry on ceph.git if checkout fails

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #12534 from liewegas/wip-truncate-fix
Sage Weil [Fri, 16 Dec 2016 20:08:59 +0000 (14:08 -0600)]
Merge pull request #12534 from liewegas/wip-truncate-fix

osd/PrimaryLogPG: don't truncate if we don't have to for WRITEFULL

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoqa/tasks/workunit: retry on ceph.git if checkout fails 12538/head
Sage Weil [Fri, 16 Dec 2016 20:06:16 +0000 (15:06 -0500)]
qa/tasks/workunit: retry on ceph.git if checkout fails

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12486 from dillaman/wip-18247
Mykola Golub [Fri, 16 Dec 2016 19:15:02 +0000 (21:15 +0200)]
Merge pull request #12486 from dillaman/wip-18247

librbd: keep rbd_default_features setting as bitmask

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #12514 from vasukulkarni/wip-cd-shaman
Sage Weil [Fri, 16 Dec 2016 17:46:38 +0000 (11:46 -0600)]
Merge pull request #12514 from vasukulkarni/wip-cd-shaman

qa/tasks/ceph_deploy: use dev option instead of dev-commit

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoReplicatedPG: don't truncate if we don't have to for WRITEFULL 12534/head
Samuel Just [Fri, 16 Dec 2016 03:07:03 +0000 (19:07 -0800)]
ReplicatedPG: don't truncate if we don't have to for WRITEFULL

Signed-off-by: Samuel Just <sjust@redhat.com>
8 years agoMerge pull request #10160 from jmunhoz/bugfix-16463-presigned-url
Yehuda Sadeh [Fri, 16 Dec 2016 16:42:10 +0000 (08:42 -0800)]
Merge pull request #10160 from jmunhoz/bugfix-16463-presigned-url

rgw: aws4: add presigned url bugfix in runtime

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #12530 from liewegas/wip-bluestore-ceph-disk
Sage Weil [Fri, 16 Dec 2016 16:24:42 +0000 (10:24 -0600)]
Merge pull request #12530 from liewegas/wip-bluestore-ceph-disk

ceph-disk: adjust bluestore default device sizes

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #12516 from hjwsm1989/fix-rpg
Sage Weil [Fri, 16 Dec 2016 15:27:09 +0000 (09:27 -0600)]
Merge pull request #12516 from hjwsm1989/fix-rpg

osd/PG: fix the unreadable log in choose_acting

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12521 from kylinstorage/wip-for-coverity
Sage Weil [Fri, 16 Dec 2016 15:24:24 +0000 (09:24 -0600)]
Merge pull request #12521 from kylinstorage/wip-for-coverity

osd/osdmap: fix divide by zero error

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12507 from ifed01/wip-bluestore-fix-cache
Sage Weil [Fri, 16 Dec 2016 15:02:12 +0000 (09:02 -0600)]
Merge pull request #12507 from ifed01/wip-bluestore-fix-cache

os/bluestore: fix target_buffer value overflow in Cache::trim()

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #12525 from trociny/wip-18261
Jason Dillaman [Fri, 16 Dec 2016 14:47:40 +0000 (09:47 -0500)]
Merge pull request #12525 from trociny/wip-18261

rbd: fix json formatting for image and journal status output

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoceph-disk: default DB size of 20GB 12530/head
Sage Weil [Fri, 16 Dec 2016 14:45:16 +0000 (09:45 -0500)]
ceph-disk: default DB size of 20GB

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph-disk: default WAL size of 576 MB
Sage Weil [Fri, 16 Dec 2016 14:45:06 +0000 (09:45 -0500)]
ceph-disk: default WAL size of 576 MB

Enough for 2 256MB write buffers, and then some.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agolibrbd: keep rbd_default_features setting as bitmask 12486/head
Jason Dillaman [Wed, 14 Dec 2016 18:13:15 +0000 (13:13 -0500)]
librbd: keep rbd_default_features setting as bitmask

Support both human readable, comma delimited list of feature
names and also integer bitmask value. Attempting to read the
setting will always result in the feature bitmask integer
value.

This is required to avoid breaking backwards compatibility with
librbd clients that are dependent on the older behavior (e.g.
OpenStack).

Fixes: http://tracker.ceph.com/issues/18247
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12407 from majianpeng/rbd-stripe-unit
Jason Dillaman [Fri, 16 Dec 2016 14:21:26 +0000 (09:21 -0500)]
Merge pull request #12407 from majianpeng/rbd-stripe-unit

rbd : make option --stripe-unit w/ B/K/M work

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12484 from runsisi/wip-fix-rollback-warn
Jason Dillaman [Fri, 16 Dec 2016 13:45:48 +0000 (08:45 -0500)]
Merge pull request #12484 from runsisi/wip-fix-rollback-warn

librbd: ignore error when object map is already locked by current client

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agorbd: fix json formatting for image and journal status output 12525/head
Mykola Golub [Fri, 16 Dec 2016 10:50:50 +0000 (12:50 +0200)]
rbd: fix json formatting for image and journal status output

Fixes: http://tracker.ceph.com/issues/18261
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agorbd: make option --stripe-unit w/ B/K/M work. 12407/head
Jianpeng Ma [Fri, 16 Dec 2016 09:56:04 +0000 (17:56 +0800)]
rbd: make option --stripe-unit w/ B/K/M work.

As 'man rbd' said:  --stripe-unit size-in-B/K/M. But w/ B/K/M, the
command failed and said invalid options. So fix it.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agoosdmap: fix divide by zero error 12520/head 12521/head
Yunchuan Wen [Fri, 16 Dec 2016 09:28:35 +0000 (17:28 +0800)]
osdmap: fix divide by zero error

*** CID 1397255:  Incorrect expression  (DIVIDE_BY_ZERO)
/home/brad/working/src/ceph/src/osd/OSDMap.cc: 2995 in
OSDMap::summarize_mapping_stats(OSDMap*, const std::set<long,
std::less<long>, std::allocator<long>> *,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char>> *, ceph::Formatter *) const()
2989         f->open_object_section("utilization");
2990       if (newmap) {
2991         if (f) {
2992           f->dump_unsigned("moved_pgs", moved_pg);
2993           f->dump_unsigned("total_pgs", total_pg);
2994         } else {
>>>     CID 1397255:  Incorrect expression  (DIVIDE_BY_ZERO)
>>>     In expression "(float)moved_pg * 100. / (float)total_pg",
division by expression "total_pg" which may be zero has undefined
behavior.
2995           ss << "moved " << moved_pg << " / " << total_pg
2996       << " (" << ((float)moved_pg * 100.0 / (float)total_pg) <<
"%)\n";
2997         }
2998       }
2999       if (f) {
3000         f->dump_float("avg_pgs", avg_pg);

Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
8 years ago osd/PG: fix the unreadable log in choose_acting 12516/head
huangjun [Fri, 16 Dec 2016 07:35:02 +0000 (15:35 +0800)]
  osd/PG: fix the unreadable log in choose_acting
          To avoid the log like: failed to fill position ^B
Signed-off-by: huangjun <hjwsm1989@gmail.com>
8 years agolibrbd: ignore error when object map is already locked by current client 12484/head
runsisi [Wed, 14 Dec 2016 07:18:18 +0000 (15:18 +0800)]
librbd: ignore error when object map is already locked by current client

otherwise when using rbd cli to rollback image with object-map feature
enabled, the following error message will be printed out on the screen,
which is confusing to users:
  librbd::object_map::LockRequest: failed to lock object map: (17) File exists

Fixes: http://tracker.ceph.com/issues/16179
Signed-off-by: runsisi <runsisi@zte.com.cn>
8 years agorgw: aws4: add rgw_s3_auth_aws4_force_boto2_compat conf option 10160/head
Javier M. Mellid [Mon, 1 Aug 2016 19:00:28 +0000 (21:00 +0200)]
rgw: aws4: add rgw_s3_auth_aws4_force_boto2_compat conf option

Runtime bugfix to handle presigned urls computed with canonical requests using
the port number once.

Boto2 computes canonical requests using the port number twice although it
should be used once only. This behaviour is a bug supported by AWS S3. Boto2 is
used in RGW S3 as reference implementation.

The client-side tools not supporting this boto2 bug will fail although they
should work too.

In order to support both presigned url implementations this patch adds a config
option to compute a second signature. With this option disabled, the code will
compute two signatures when the first signature is not valid. The aws4 auth
succeed if some of the two signatures is valid.

The config option rgw_s3_auth_aws4_force_boto2_compat, is enabled by default so
one signature, working with boto2, is computed only.

Fixes: http://tracker.ceph.com/issues/16463
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
8 years agoMerge pull request #12463 from wjwithagen/wip-wjw-freebsd-osd-avoidports
Yuri Weinstein [Thu, 15 Dec 2016 22:41:34 +0000 (14:41 -0800)]
Merge pull request #12463 from wjwithagen/wip-wjw-freebsd-osd-avoidports

FreeBSD/OSD.cc: add client_messenger to the avoid_ports set.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agouse dev option instead of dev-commit 12514/head
Vasu Kulkarni [Thu, 15 Dec 2016 22:11:00 +0000 (14:11 -0800)]
use dev option instead of dev-commit

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #12500 from badone/wip-doc-PGPool
Samuel Just [Thu, 15 Dec 2016 22:00:22 +0000 (14:00 -0800)]
Merge pull request #12500 from badone/wip-doc-PGPool

doc/dev/osd_internals: add pgpool.rst

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agoMerge pull request #12511 from liewegas/wip-workunits
Sage Weil [Thu, 15 Dec 2016 20:15:31 +0000 (14:15 -0600)]
Merge pull request #12511 from liewegas/wip-workunits

qa/workunits/rbd: fix

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoqa/workunits: use relative path instead of wget from git 12511/head
Sage Weil [Thu, 15 Dec 2016 20:10:28 +0000 (15:10 -0500)]
qa/workunits: use relative path instead of wget from git

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12508 from liewegas/wip-qa-admin-socket
Sage Weil [Thu, 15 Dec 2016 19:53:10 +0000 (13:53 -0600)]
Merge pull request #12508 from liewegas/wip-qa-admin-socket

qa/tasks/admin_socket: subst in repo name

8 years agodoc/dev/osd_internals: add pgpool.rst 12500/head
Brad Hubbard [Thu, 15 Dec 2016 05:06:11 +0000 (15:06 +1000)]
doc/dev/osd_internals: add pgpool.rst

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoqa/tasks/workunit.py: add CEPH_BASE env var
Sage Weil [Thu, 15 Dec 2016 18:26:14 +0000 (13:26 -0500)]
qa/tasks/workunit.py: add CEPH_BASE env var

Root of git checkout

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/tasks/workunit: leave workunits inside git checkout
Sage Weil [Thu, 15 Dec 2016 18:25:23 +0000 (13:25 -0500)]
qa/tasks/workunit: leave workunits inside git checkout

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/tasks/admin_socket: subst in repo name 12508/head
Sage Weil [Thu, 15 Dec 2016 18:35:02 +0000 (13:35 -0500)]
qa/tasks/admin_socket: subst in repo name

It is either ceph.git or ceph-ci.git.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: fix target_buffer value overflow in Cache::trim() when metadata_ratio... 12507/head
Igor Fedotov [Thu, 15 Dec 2016 16:22:16 +0000 (16:22 +0000)]
os/bluestore: fix target_buffer value overflow in Cache::trim() when metadata_ratio is set to 1

Signed-off-by: Igor Fedotov<ifedotov@mirantis.com>
8 years agoMerge pull request #12396 from xiaoxichen/fix_diff
Jason Dillaman [Thu, 15 Dec 2016 16:03:08 +0000 (11:03 -0500)]
Merge pull request #12396 from xiaoxichen/fix_diff

librbd: use proper snapshot when computing diff parent overlap

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12482 from badone/wip-librados-objectcursor-leak
Sage Weil [Thu, 15 Dec 2016 16:01:04 +0000 (10:01 -0600)]
Merge pull request #12482 from badone/wip-librados-objectcursor-leak

librados: Memory leaks in object_list_begin and object_list_end

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12286 from dillaman/wip-18123
Sage Weil [Thu, 15 Dec 2016 16:00:47 +0000 (10:00 -0600)]
Merge pull request #12286 from dillaman/wip-18123

rados: optionally support reading omap key from file

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12462 from XinzeChi/wip-blk-link
Sage Weil [Thu, 15 Dec 2016 16:00:26 +0000 (10:00 -0600)]
Merge pull request #12462 from XinzeChi/wip-blk-link

common/blkdev: use realpath instead of readlink to resolve the recurs…

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12488 from liewegas/wip-bluestore-enc
Sage Weil [Thu, 15 Dec 2016 15:40:23 +0000 (09:40 -0600)]
Merge pull request #12488 from liewegas/wip-bluestore-enc

os/bluestore: fix ondisk encoding for blobs

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
8 years agoos/bluestore/bluestore_types: bluestore_onode_t: varint encoding 12488/head
Varada Kari [Thu, 15 Dec 2016 10:03:49 +0000 (15:33 +0530)]
os/bluestore/bluestore_types: bluestore_onode_t: varint encoding

Changing the uint32_t encoding to varint encoding saves around 120 bytes
per onode.

Signed-off-by: Varada Kari <varada.kari@sandisk.com>
8 years agoMerge pull request #12502 from kylinstorage/wip-ctypos2
Xie Xingguo [Thu, 15 Dec 2016 10:22:50 +0000 (18:22 +0800)]
Merge pull request #12502 from kylinstorage/wip-ctypos2

fix typos

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agorc/rgw/rgw_rados.cc : fix typos 12502/head
xianxiaxiao [Thu, 15 Dec 2016 09:24:56 +0000 (09:24 +0000)]
rc/rgw/rgw_rados.cc : fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agorc/rgw/rgw_coroutine.cc : fix typos
xianxiaxiao [Thu, 15 Dec 2016 09:24:24 +0000 (09:24 +0000)]
rc/rgw/rgw_coroutine.cc : fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agorc/os/memstore/MemStore.h : fix typos
xianxiaxiao [Thu, 15 Dec 2016 09:23:46 +0000 (09:23 +0000)]
rc/os/memstore/MemStore.h : fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agorc/os/filestore/FileStore.cc : fix typos
xianxiaxiao [Thu, 15 Dec 2016 09:23:05 +0000 (09:23 +0000)]
rc/os/filestore/FileStore.cc : fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agorc/os/bluestore/NVMEDevice.cc :fix typos
xianxiaxiao [Thu, 15 Dec 2016 09:22:29 +0000 (09:22 +0000)]
rc/os/bluestore/NVMEDevice.cc :fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agorc/mon/DumplingMonCommands.h :fix typos
xianxiaxiao [Thu, 15 Dec 2016 09:21:40 +0000 (09:21 +0000)]
rc/mon/DumplingMonCommands.h :fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agoMerge pull request #12495 from kylinstorage/wip-ctypos
Xie Xingguo [Thu, 15 Dec 2016 02:42:26 +0000 (10:42 +0800)]
Merge pull request #12495 from kylinstorage/wip-ctypos

Wip ctypos

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #12479 from badone/wip-ceph_test_rados_api_list-leak
Brad Hubbard [Thu, 15 Dec 2016 01:58:44 +0000 (11:58 +1000)]
Merge pull request #12479 from badone/wip-ceph_test_rados_api_list-leak

test/rados/list.cc: Memory leak in ceph_test_rados_api_list

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agosrc/os/bluestore/BlueStore.cc:fix typos 12495/head
xianxiaxiao [Wed, 14 Dec 2016 02:33:47 +0000 (02:33 +0000)]
src/os/bluestore/BlueStore.cc:fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agoMerge pull request #12493 from athanatos/wip-18113-qa
Samuel Just [Thu, 15 Dec 2016 00:07:27 +0000 (16:07 -0800)]
Merge pull request #12493 from athanatos/wip-18113-qa

Wip 18113 qa

8 years agoMerge remote-tracking branch 'ceph-qa-suite/master' into wip-18113-qa 12493/head
Samuel Just [Thu, 15 Dec 2016 00:05:35 +0000 (16:05 -0800)]
Merge remote-tracking branch 'ceph-qa-suite/master' into wip-18113-qa

8 years agoMerge pull request #1310 from ceph/wip-18113
Samuel Just [Wed, 14 Dec 2016 23:57:24 +0000 (15:57 -0800)]
Merge pull request #1310 from ceph/wip-18113

test: Update for new error message when doing scrub with deep-scrub e…

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agotest/rados/list.cc: Memory leak in ceph_test_rados_api_list 12479/head
Brad Hubbard [Wed, 14 Dec 2016 04:01:32 +0000 (14:01 +1000)]
test/rados/list.cc: Memory leak in ceph_test_rados_api_list

Valgrind flags a memory leak when we create a temporary from
rados_object_list_end()

Fixes: http://tracker.ceph.com/issues/18250
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #12438 from songbaisen/s6
Yuri Weinstein [Wed, 14 Dec 2016 21:49:24 +0000 (13:49 -0800)]
Merge pull request #12438 from songbaisen/s6

 mon: make it more clearly to debug for paxos state

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12461 from liupan1111/wip-replace-atomic
Yuri Weinstein [Wed, 14 Dec 2016 21:48:28 +0000 (13:48 -0800)]
Merge pull request #12461 from liupan1111/wip-replace-atomic

osd: remove the lock heartbeat_update_lock, and change heatbeat_need_…

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12452 from ceph/wip-rgw-fix-cr-deadlock
Yehuda Sadeh [Wed, 14 Dec 2016 21:42:51 +0000 (13:42 -0800)]
Merge pull request #12452 from ceph/wip-rgw-fix-cr-deadlock

rgw: use explicit flag to cancel RGWCoroutinesManager::run()

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #12487 from athanatos/wip-rpg-rename
Samuel Just [Wed, 14 Dec 2016 21:27:54 +0000 (13:27 -0800)]
Merge pull request #12487 from athanatos/wip-rpg-rename

src: rename ReplicatedPG to PrimaryLogPG

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agoos/bluestore/bluestore_types: bluestore_blob_t: varint encode csum_data length
Sage Weil [Wed, 14 Dec 2016 20:13:26 +0000 (15:13 -0500)]
os/bluestore/bluestore_types: bluestore_blob_t: varint encode csum_data length

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: version shard and spanning blob buffers, not each blob
Sage Weil [Wed, 14 Dec 2016 20:09:36 +0000 (15:09 -0500)]
os/bluestore: version shard and spanning blob buffers, not each blob

Instead of versioning every blob encoding, and adding a full byte
per blob, instead version the entire shard or spanning blob
chunk, since they are always encoded together.

We overload the 'features' argument here to pass through a
struct_v.  This is slightly abusing an argument that is normally
used for feature bits, but only slightly.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoinclude/denc: pass features through to decode() on featured objects
Sage Weil [Wed, 14 Dec 2016 20:06:38 +0000 (15:06 -0500)]
include/denc: pass features through to decode() on featured objects

This allows featured objects the *option* to do something
meaningful with the features.  Generally the decoding is feature
independent, but in some cases decoding might be dependent on the
struct_v or features from a containing context and we need to
pass it through.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore/bluestore_types: single byte for blob struct_v
Sage Weil [Wed, 14 Dec 2016 19:39:30 +0000 (14:39 -0500)]
os/bluestore/bluestore_types: single byte for blob struct_v

We forego decoding compatibility by older code by dropping
compat_v and len.  We have to keep struct_v per blob here because
decode doesn't have a feature bit argument (yet?).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #7639 from linuxbox2/wip-rgw-header
Yehuda Sadeh [Wed, 14 Dec 2016 19:35:24 +0000 (11:35 -0800)]
Merge pull request #7639 from linuxbox2/wip-rgw-header

rgw: add option to log custom HTTP headers (rgw_log_http_headers)

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #12268 from dzafman/wip-18113
Samuel Just [Wed, 14 Dec 2016 19:34:24 +0000 (11:34 -0800)]
Merge pull request #12268 from dzafman/wip-18113

osd: When deep-scrub errors present upgrade regular scrubs

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agoos/bluestore/bluestore_types: fix bluestore_pextent_t encoding
Varada Kari [Wed, 14 Dec 2016 19:34:03 +0000 (14:34 -0500)]
os/bluestore/bluestore_types: fix bluestore_pextent_t encoding

Signed-off-by: Varada Kari <varada.kari@sandisk.com>
8 years agosrc: rename ReplicatedPG to PrimaryLogPG 12487/head
Samuel Just [Wed, 14 Dec 2016 18:18:27 +0000 (10:18 -0800)]
src: rename ReplicatedPG to PrimaryLogPG

It's been confusing for a long time that EC pools are implemented by
ReplicatedPG.  What PG/ReplicatedPG really implement is the concept
of a PG where consistency is managed by the primary via a log.

Signed-off-by: Samuel Just <sjust@redhat.com>
8 years agoMerge pull request #12453 from liewegas/qa-suite-master
Sage Weil [Wed, 14 Dec 2016 17:39:42 +0000 (11:39 -0600)]
Merge pull request #12453 from liewegas/qa-suite-master

master: merge ceph-qa-suite

8 years agomerge ceph-qa-suite 12453/head
Sage Weil [Wed, 14 Dec 2016 17:29:58 +0000 (11:29 -0600)]
merge ceph-qa-suite

8 years agomove ceph-qa-suite dirs into qa/
Sage Weil [Wed, 14 Dec 2016 17:29:55 +0000 (11:29 -0600)]
move ceph-qa-suite dirs into qa/

8 years agoRevert "tasks/workunit.py: depth 1 clone"
Sage Weil [Wed, 14 Dec 2016 17:28:23 +0000 (12:28 -0500)]
Revert "tasks/workunit.py: depth 1 clone"

This reverts commit 4faf77a649cb3f8ddf497ca81937b3dbf63a18dc.

8 years agoMerge pull request #12420 from dillaman/wip-16176
Mykola Golub [Wed, 14 Dec 2016 17:23:12 +0000 (19:23 +0200)]
Merge pull request #12420 from dillaman/wip-16176

librbd: properly order concurrent updates to the object map

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
8 years agoMerge pull request #1307 from ceph/wip-workunit-repo
Zack Cerza [Wed, 14 Dec 2016 17:21:05 +0000 (10:21 -0700)]
Merge pull request #1307 from ceph/wip-workunit-repo

tasks/workunit: use correct git mirror url

8 years agotasks/workunit.py: depth 1 clone
Sage Weil [Wed, 14 Dec 2016 17:19:44 +0000 (12:19 -0500)]
tasks/workunit.py: depth 1 clone

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agotasks/workunit: remove kludge to use git.ceph.com
Sage Weil [Wed, 14 Dec 2016 17:18:29 +0000 (12:18 -0500)]
tasks/workunit: remove kludge to use git.ceph.com

This was hard-coded to ceph.git (almost) and breaks when
you specify --ceph-repo.  Remove it entirely.  We'll see if
github.com is better at handling our load than it used to
be!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12483 from trociny/wip-18242
Jason Dillaman [Wed, 14 Dec 2016 16:40:09 +0000 (11:40 -0500)]
Merge pull request #12483 from trociny/wip-18242

rbd-nbd: invalid error code for "failed to read nbd request" messages

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #1309 from ceph/wip-16800-kefu
Sage Weil [Wed, 14 Dec 2016 15:56:25 +0000 (09:56 -0600)]
Merge pull request #1309 from ceph/wip-16800-kefu

tasks/ceph: restore context of osd mount path before mkfs

8 years agoMerge pull request #12476 from liewegas/wip-vstart-rados
Sage Weil [Wed, 14 Dec 2016 15:23:52 +0000 (09:23 -0600)]
Merge pull request #12476 from liewegas/wip-vstart-rados

CMakeLists: add vstart-base target

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agorgw: add 'rgw log http headers' gloss to config-ref.rst 7639/head
Matt Benjamin [Thu, 8 Dec 2016 15:11:42 +0000 (10:11 -0500)]
rgw: add 'rgw log http headers' gloss to config-ref.rst

Explain the option for upstream doc.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #12393 from dachary/wip-18036-throttle
Sage Weil [Wed, 14 Dec 2016 14:54:34 +0000 (08:54 -0600)]
Merge pull request #12393 from dachary/wip-18036-throttle

tests: unittest_throttle avoid ASSERT_DEATH

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12473 from dillaman/wip-18243
Mykola Golub [Wed, 14 Dec 2016 14:51:04 +0000 (16:51 +0200)]
Merge pull request #12473 from dillaman/wip-18243

journal: avoid logging an error when a watch is blacklisted

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #1156 from ceph/wip-kclient-python
John Spray [Wed, 14 Dec 2016 14:09:13 +0000 (14:09 +0000)]
Merge pull request #1156 from ceph/wip-kclient-python

Enable cephfs python tests on kclient

8 years agoMerge pull request #11542 from batrick/systemd-ceph-fuse
John Spray [Wed, 14 Dec 2016 13:55:33 +0000 (13:55 +0000)]
Merge pull request #11542 from batrick/systemd-ceph-fuse

systemd: add ceph-fuse service file

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #12337 from vishalkanaujia/wip_12132
John Spray [Wed, 14 Dec 2016 13:52:35 +0000 (13:52 +0000)]
Merge pull request #12337 from vishalkanaujia/wip_12132

tools: cleanup phase of cephfs-data-scan

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #12358 from tchaikov/wip-18157
John Spray [Wed, 14 Dec 2016 13:49:33 +0000 (13:49 +0000)]
Merge pull request #12358 from tchaikov/wip-18157

ceph-fuse: start up log on parent process before shutdown

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12384 from renhwztetecs/renhw-wip-libcephfs-addreadlink
John Spray [Wed, 14 Dec 2016 12:57:21 +0000 (12:57 +0000)]
Merge pull request #12384 from renhwztetecs/renhw-wip-libcephfs-addreadlink

libcephfs: add readlink function in cephfs.pyx

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #12395 from jcsp/wip-18166
John Spray [Wed, 14 Dec 2016 12:56:35 +0000 (12:56 +0000)]
Merge pull request #12395 from jcsp/wip-18166

mon/MDSMonitor: fix iterating over mutated map

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #12401 from kylinstorage/wip-typos
John Spray [Wed, 14 Dec 2016 12:56:11 +0000 (12:56 +0000)]
Merge pull request #12401 from kylinstorage/wip-typos

client: fix mutex name typos

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #12443 from jcsp/wip-18225
John Spray [Wed, 14 Dec 2016 12:52:23 +0000 (12:52 +0000)]
Merge pull request #12443 from jcsp/wip-18225

mds: release pool allocator memory after exceeding size limit

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agotasks/ceph: restore context of osd mount path before mkfs
Kefu Chai [Fri, 9 Dec 2016 18:36:52 +0000 (02:36 +0800)]
tasks/ceph: restore context of osd mount path before mkfs

all newly created files and directories under the mount dir inherit the
SELinux type of their parent directory. so we need to set it before
mkfs.

Fixes: http://tracker.ceph.com/issues/16800
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agorbd-nbd: invalid error code for "failed to read nbd request" messages 12483/head
Mykola Golub [Tue, 13 Dec 2016 16:54:17 +0000 (18:54 +0200)]
rbd-nbd: invalid error code for "failed to read nbd request" messages

Fixes: http://tracker.ceph.com/issues/18242
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agosrc/kv/RocksDBStore.cc:fix typos
xianxiaxiao [Wed, 14 Dec 2016 02:32:16 +0000 (02:32 +0000)]
src/kv/RocksDBStore.cc:fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agosrc/erasure-code/shec/ErasureCodeShec.cc:fix typos
xianxiaxiao [Wed, 14 Dec 2016 02:29:20 +0000 (02:29 +0000)]
src/erasure-code/shec/ErasureCodeShec.cc:fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agosrc/client/SyntheticClient.cc: fix typos
xianxiaxiao [Wed, 14 Dec 2016 02:26:09 +0000 (02:26 +0000)]
src/client/SyntheticClient.cc: fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agosrc/rgw/rgw_cache.cc:fix typos
xianxiaxiao [Wed, 14 Dec 2016 02:07:47 +0000 (02:07 +0000)]
src/rgw/rgw_cache.cc:fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agoMerge pull request #12333 from xiexingguo/xxg-wip-bluestore-1206
Sage Weil [Wed, 14 Dec 2016 07:07:37 +0000 (01:07 -0600)]
Merge pull request #12333 from xiexingguo/xxg-wip-bluestore-1206

os/bluestore: fix potential csum_order overflow

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12382 from dachary/wip-18092-gf-complete
Sage Weil [Wed, 14 Dec 2016 07:06:47 +0000 (01:06 -0600)]
Merge pull request #12382 from dachary/wip-18092-gf-complete

erasure-code: synchronize with upstream gf-complete

8 years agoCMakeLists: add vstart-base target 12476/head
Sage Weil [Wed, 14 Dec 2016 06:51:25 +0000 (00:51 -0600)]
CMakeLists: add vstart-base target

No mds or radosgw.  Add rados CLI.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agolibrados: Memory leaks in object_list_begin and object_list_end 12482/head
Brad Hubbard [Wed, 14 Dec 2016 06:29:08 +0000 (16:29 +1000)]
librados: Memory leaks in object_list_begin and object_list_end

We allocate a cursor in the constructor but simply reassign it in these
functions without cleaning up the original. We have a utility setter that
handles this exact case so we should use it.

Fixes: http://tracker.ceph.com/issues/18252
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #12459 from runsisi/wip-ec-minor-cleanup
Sage Weil [Wed, 14 Dec 2016 02:08:55 +0000 (20:08 -0600)]
Merge pull request #12459 from runsisi/wip-ec-minor-cleanup

osd/ECBackend: minor cleanup to remove duplicate code

Reviewed-by: Sage Weil <sage@redhat.com>