]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoadmin/build-doc: depend on zlib1g-dev and graphviz 7522/head
Ken Dreyer [Thu, 4 Feb 2016 16:41:40 +0000 (09:41 -0700)]
admin/build-doc: depend on zlib1g-dev and graphviz

The docs currently require zlib1g-dev (on Ubuntu) and graphviz (on RHEL
and Ubuntu) in order to build.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #7328 from ceph/wip-mtime-bugfix
Yehuda Sadeh [Thu, 4 Feb 2016 16:36:02 +0000 (08:36 -0800)]
Merge pull request #7328 from ceph/wip-mtime-bugfix

Bug fix for mtime anomalies in RadosGW and other places

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #7453 from ceph/wip-14566
Sage Weil [Thu, 4 Feb 2016 15:10:01 +0000 (10:10 -0500)]
Merge pull request #7453 from ceph/wip-14566

msg/async: fix potential race condition

9 years agoMerge pull request #7505 from xiexingguo/xxg-wip-kstorelru
Sage Weil [Thu, 4 Feb 2016 13:43:42 +0000 (08:43 -0500)]
Merge pull request #7505 from xiexingguo/xxg-wip-kstorelru

os/kstore: insert new onode to the front position of onode LRU

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7492 from jjhuo/master
Sage Weil [Thu, 4 Feb 2016 13:43:19 +0000 (08:43 -0500)]
Merge pull request #7492 from jjhuo/master

os/bluestore: insert new onode to the front position of onode LRU

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge branch 'xxg-wip-14474' of git://github.com/xiexingguo/ceph
Sage Weil [Thu, 4 Feb 2016 13:36:06 +0000 (08:36 -0500)]
Merge branch 'xxg-wip-14474' of git://github.com/xiexingguo/ceph

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7380 from yuyuyu101/async-nip
Sage Weil [Thu, 4 Feb 2016 13:39:15 +0000 (08:39 -0500)]
Merge pull request #7380 from yuyuyu101/async-nip

msg/async: reduce extra tcp packet for message ack

9 years agoMerge pull request #7398 from theanalyst/fix/12744
Sage Weil [Thu, 4 Feb 2016 13:38:32 +0000 (08:38 -0500)]
Merge pull request #7398 from theanalyst/fix/12744

mon: PG Monitor should report waiting for backfill

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7447 from liewegas/wip-parallel-rados-test
Sage Weil [Thu, 4 Feb 2016 13:38:09 +0000 (08:38 -0500)]
Merge pull request #7447 from liewegas/wip-parallel-rados-test

test: run rados api tests in parallel

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #7455 from yuyuyu101/bufferlist-move
Sage Weil [Thu, 4 Feb 2016 13:37:55 +0000 (08:37 -0500)]
Merge pull request #7455 from yuyuyu101/bufferlist-move

buffer: use move construct to append/push_back/push_front

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7459 from dwj192/mon-created
Sage Weil [Thu, 4 Feb 2016 13:37:22 +0000 (08:37 -0500)]
Merge pull request #7459 from dwj192/mon-created

mon: fix monmap creation stamp

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7477 from xiexingguo/wip-fix-obj
Sage Weil [Thu, 4 Feb 2016 13:36:40 +0000 (08:36 -0500)]
Merge pull request #7477 from xiexingguo/wip-fix-obj

osdc/objecter: fix race condition and result code overflow

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7482 from branch-predictor/bp-faster-health
Sage Weil [Thu, 4 Feb 2016 13:33:56 +0000 (08:33 -0500)]
Merge pull request #7482 from branch-predictor/bp-faster-health

mon: reduce CPU and memory manager pressure of pg health check

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7518 from ceph/wip-14637-man-radosgw-admin-orphans
Orit Wasserman [Thu, 4 Feb 2016 10:05:54 +0000 (11:05 +0100)]
Merge pull request #7518 from ceph/wip-14637-man-radosgw-admin-orphans

doc: add orphans commands to radosgw-admin(8)

9 years agoMerge pull request #6268 from dachary/wip-13453-recovery-counters
Loic Dachary [Thu, 4 Feb 2016 04:16:35 +0000 (11:16 +0700)]
Merge pull request #6268 from dachary/wip-13453-recovery-counters

recovery counters

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agodoc: add orphans commands to radosgw-admin(8) 7518/head
Ken Dreyer [Thu, 4 Feb 2016 02:51:58 +0000 (19:51 -0700)]
doc: add orphans commands to radosgw-admin(8)

The --help text was added in 105a76bf542e05b739d5a03ca8ae55432350f107.
Add the corresponding entries to the man page.

Fixes: #14637
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #7507 from tchaikov/wip-cmake
Samuel Just [Wed, 3 Feb 2016 18:40:11 +0000 (10:40 -0800)]
Merge pull request #7507 from tchaikov/wip-cmake

cmake: add KernelDevice.cc to libos_srcs

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agocmake: add KernelDevice.cc to libos_srcs 7507/head
Kefu Chai [Wed, 3 Feb 2016 17:28:18 +0000 (01:28 +0800)]
cmake: add KernelDevice.cc to libos_srcs

which fixes the build

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge remote-tracking branch 'gh/jewel'
Sage Weil [Wed, 3 Feb 2016 14:46:47 +0000 (09:46 -0500)]
Merge remote-tracking branch 'gh/jewel'

9 years agoMerge branch 'wip-rados-bench'
Sage Weil [Wed, 3 Feb 2016 14:46:12 +0000 (09:46 -0500)]
Merge branch 'wip-rados-bench'

9 years agorados: Add units to rados bench output
Gu Zhongyan [Wed, 30 Dec 2015 08:42:07 +0000 (16:42 +0800)]
rados: Add units to rados bench output

Fixes: #12248
Signed-off-by: Gu Zhongyan <guzhongyan@360.com>
Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7386 from liewegas/wip-features
Sage Weil [Wed, 3 Feb 2016 14:44:28 +0000 (09:44 -0500)]
Merge pull request #7386 from liewegas/wip-features

osd: skip redirect encoding if we can

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoos/kstore: insert new onode to the front position of onode LRU 7505/head
xiexingguo [Wed, 3 Feb 2016 14:41:49 +0000 (22:41 +0800)]
os/kstore: insert new onode to the front position of onode LRU

See https://github.com/jjhuo/ceph/commit/caed88264d77f860376d4213cc98309a5daf3af2 for detail information.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge branch 'weighted-priority-queue' of git://github.com/rldleblanc/ceph
Sage Weil [Wed, 3 Feb 2016 13:53:22 +0000 (08:53 -0500)]
Merge branch 'weighted-priority-queue' of git://github.com/rldleblanc/ceph

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge branch 'gelf-logging-backend' of git://github.com/irq0/ceph
Sage Weil [Wed, 3 Feb 2016 13:48:26 +0000 (08:48 -0500)]
Merge branch 'gelf-logging-backend' of git://github.com/irq0/ceph

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoscripts/run-coverity: fix upload process
Sage Weil [Wed, 3 Feb 2016 13:41:14 +0000 (08:41 -0500)]
scripts/run-coverity: fix upload process

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7357 from zhengbinh3c/master
Sage Weil [Wed, 3 Feb 2016 13:52:02 +0000 (08:52 -0500)]
Merge pull request #7357 from zhengbinh3c/master

osd: fix memory leak in ReplicatedPG.cc error path

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7362 from xiexingguo/xxg-wip-fixbs
Sage Weil [Wed, 3 Feb 2016 13:50:46 +0000 (08:50 -0500)]
Merge pull request #7362 from xiexingguo/xxg-wip-fixbs

osd: BlueStore: fix fsck and blockdevice read-relevant issue

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7468 from liewegas/wip-test-fuse
Sage Weil [Wed, 3 Feb 2016 13:49:37 +0000 (08:49 -0500)]
Merge pull request #7468 from liewegas/wip-test-fuse

qa/workunits/objectstore/test_fuse.sh: fix root check

9 years agoMerge pull request #7476 from tchaikov/wip-include-expat-in-source
Sage Weil [Wed, 3 Feb 2016 13:49:28 +0000 (08:49 -0500)]
Merge pull request #7476 from tchaikov/wip-include-expat-in-source

rgw: do not include "expat.h" in header file

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7479 from roidayan/fix_xio_compilation
Sage Weil [Wed, 3 Feb 2016 13:48:54 +0000 (08:48 -0500)]
Merge pull request #7479 from roidayan/fix_xio_compilation

msg/xio: fix compilation

9 years agotest_bufferlist: add move tests for bufferlist 7455/head
Haomai Wang [Wed, 3 Feb 2016 03:25:22 +0000 (11:25 +0800)]
test_bufferlist: add move tests for bufferlist

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoos/bluestore: insert new onode to the front position of onode LRU 7492/head
Jianjian Huo [Wed, 3 Feb 2016 05:19:37 +0000 (00:19 -0500)]
os/bluestore: insert new onode to the front position of onode LRU

When new added onode comes, it should go to the front of the LRU,
since it's least recently used.

Signed-off-by: Jianjian Huo <samuel.huo@gmail.com>
9 years agobluestore/bluefs_types: fix imcomplete output message 7324/head
xie xingguo [Mon, 25 Jan 2016 01:26:52 +0000 (09:26 +0800)]
bluestore/bluefs_types: fix imcomplete output message

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueFS: add a guard for log space allocation during mkfs
xie xingguo [Sat, 23 Jan 2016 05:09:45 +0000 (13:09 +0800)]
BlueFS: add a guard for log space allocation during mkfs

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueFS: fix race condition
xie xingguo [Sat, 23 Jan 2016 02:50:04 +0000 (10:50 +0800)]
BlueFS: fix race condition

Fixes: #14480
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueFS: fix typo
xie xingguo [Fri, 22 Jan 2016 10:11:45 +0000 (18:11 +0800)]
BlueFS: fix typo

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueFS: remove unused local variable
xie xingguo [Fri, 22 Jan 2016 10:10:15 +0000 (18:10 +0800)]
BlueFS: remove unused local variable

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueFS: remove redundant intermediate buffer pad
xie xingguo [Thu, 21 Jan 2016 08:57:22 +0000 (16:57 +0800)]
BlueFS: remove redundant intermediate buffer pad

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueFS: stop alloc if unable to replay
xie xingguo [Thu, 21 Jan 2016 06:35:39 +0000 (14:35 +0800)]
BlueFS: stop alloc if unable to replay

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueFS: fix unprecise calculation of sync interval
xie xingguo [Fri, 22 Jan 2016 10:00:08 +0000 (18:00 +0800)]
BlueFS: fix unprecise calculation of sync interval

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueFS: add log after updating prefer_bdev field.
xie xingguo [Fri, 22 Jan 2016 09:55:21 +0000 (17:55 +0800)]
BlueFS: add log after updating prefer_bdev field.

Fixes: #14474
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoqa/workunits/rados/test.sh: bash 7447/head
Sage Weil [Tue, 2 Feb 2016 22:45:04 +0000 (17:45 -0500)]
qa/workunits/rados/test.sh: bash

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agobuffer: add operator= for ptr/bufferlist rvalue
Haomai Wang [Tue, 2 Feb 2016 17:50:51 +0000 (01:50 +0800)]
buffer: add operator= for ptr/bufferlist rvalue

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agomisc: using move construct to avoid extra atomic inc/dec
Haomai Wang [Mon, 1 Feb 2016 05:55:52 +0000 (13:55 +0800)]
misc: using move construct to avoid extra atomic inc/dec

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agobuffer: add ptr move construct
Haomai Wang [Wed, 27 Jan 2016 14:53:03 +0000 (22:53 +0800)]
buffer: add ptr move construct

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoceph_test_objectstore: fix warning
Sage Weil [Tue, 2 Feb 2016 16:08:09 +0000 (11:08 -0500)]
ceph_test_objectstore: fix warning

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/KernelDevice: explicit on ctor
Sage Weil [Tue, 2 Feb 2016 16:03:48 +0000 (11:03 -0500)]
os/bluestore/KernelDevice: explicit on ctor

This was lost in the wip-spdk merge.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc: update PG doc with the backfill change 7398/head
Abhishek Lekshmanan [Thu, 28 Jan 2016 13:58:22 +0000 (14:58 +0100)]
doc: update PG doc with the backfill change

Since the state reported is `backfilling` and `backfill_wait`

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agomon: PG Monitor should report backfill_wait
Abhishek Lekshmanan [Thu, 28 Jan 2016 13:54:24 +0000 (14:54 +0100)]
mon: PG Monitor should report backfill_wait

Instead of backfill as it is actually waiting for backfill instead of
actually backfilling

Fixes: #12744
Reported-by: Dan Mick <dmick@redhat.com>
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agoMerge pull request #7467 from liewegas/wip-scrub-start
Sage Weil [Tue, 2 Feb 2016 16:03:14 +0000 (11:03 -0500)]
Merge pull request #7467 from liewegas/wip-scrub-start

osd: fix scrub start hobject

9 years agoMerge branch 'wip-spdk' of git://github.com/yuyuyu101/ceph
Sage Weil [Tue, 2 Feb 2016 16:02:12 +0000 (11:02 -0500)]
Merge branch 'wip-spdk' of git://github.com/yuyuyu101/ceph

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge remote-tracking branch 'me/wip-lockdep'
Sage Weil [Tue, 2 Feb 2016 16:00:37 +0000 (11:00 -0500)]
Merge remote-tracking branch 'me/wip-lockdep'

9 years agoMerge pull request #7438 from ifed01/wip-pgbackend-cleanup
Sage Weil [Tue, 2 Feb 2016 16:03:51 +0000 (11:03 -0500)]
Merge pull request #7438 from ifed01/wip-pgbackend-cleanup

osd: cleanup OSD/PGBackend interface a bit

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7480 from trociny/fix-journal-commit_position_task
Jason Dillaman [Tue, 2 Feb 2016 14:51:54 +0000 (09:51 -0500)]
Merge pull request #7480 from trociny/fix-journal-commit_position_task

journal: reset commit_position_task_ctx pointer after task complete

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agomon: reduce CPU and memory manager pressure of pg health check 7482/head
Piotr Dałek [Tue, 2 Feb 2016 08:47:51 +0000 (09:47 +0100)]
mon: reduce CPU and memory manager pressure of pg health check

When we don't need details about which PGs are stuck, we can just iterate
once over pg_stat map and increase appropriate counters, no need to
repeatedly spam memory manager with stuck_pgs map population (we'll only
use its size). Even if we need details, first check if we actually have any
PGs in any of requested states, so in most cases we won't iterate needlessly
five times over all PG stat map.

This at least halves the time needed by pg health gathering (~3ms,
down from ~6-7ms) on cluster with 31832 PGs and Intel Xeon E5-2640
CPU.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
9 years agoscript/run-coverity: fix user
Sage Weil [Tue, 2 Feb 2016 14:01:28 +0000 (09:01 -0500)]
script/run-coverity: fix user

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agojournal: reset commit_position_task_ctx pointer after task complete 7480/head
Mykola Golub [Tue, 2 Feb 2016 13:31:34 +0000 (15:31 +0200)]
journal: reset commit_position_task_ctx pointer after task complete

Otherwise, schedule_commit_task() would never schedule the next task
and the commit position would not be committed until shutdown.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge remote-tracking branch 'gh/wip-da-SCA-20150910'
Sage Weil [Tue, 2 Feb 2016 13:08:26 +0000 (08:08 -0500)]
Merge remote-tracking branch 'gh/wip-da-SCA-20150910'

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoxio: fix compilation 7479/head
Roi Dayan [Mon, 1 Feb 2016 09:46:15 +0000 (11:46 +0200)]
xio: fix compilation

Signed-off-by: Roi Dayan <roid@mellanox.com>
9 years agoosdc/objecter: update crush location in a safer way 7477/head
xie xingguo [Tue, 2 Feb 2016 09:30:27 +0000 (17:30 +0800)]
osdc/objecter: update crush location in a safer way

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agotest/librados: fix hash position overflow issue
xie xingguo [Tue, 2 Feb 2016 07:30:51 +0000 (15:30 +0800)]
test/librados: fix hash position overflow issue

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agorados: fix result code overflow
xie xingguo [Tue, 2 Feb 2016 07:04:04 +0000 (15:04 +0800)]
rados: fix result code overflow

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #7473 from yehudasa/wip-14516
Orit Wasserman [Tue, 2 Feb 2016 09:10:38 +0000 (10:10 +0100)]
Merge pull request #7473 from yehudasa/wip-14516

rgw-admin: document orphans commands in usage

9 years agoosdc/objecter: fix race condition
xie xingguo [Tue, 2 Feb 2016 06:58:59 +0000 (14:58 +0800)]
osdc/objecter: fix race condition

Fixes: #14603
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #7451 from wjin/fix
Kefu Chai [Tue, 2 Feb 2016 06:56:12 +0000 (14:56 +0800)]
Merge pull request #7451 from wjin/fix

msg/async: fix array boundary

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agorgw: do not include "expat.h" in heade file 7476/head
Kefu Chai [Tue, 2 Feb 2016 06:24:46 +0000 (14:24 +0800)]
rgw: do not include "expat.h" in heade file

Building Ceph without the Expat development library currently results in
the following build error:

~/ceph> ./configure --without-fuse --without-tcmalloc --without-radosgw
...
~/ceph> make
...
CXX ceph_dencoder-rgw_dencoder.o
In file included from rgw/rgw_dencoder.cc:6:0:
rgw/rgw_acl_s3.h:9:19: fatal error: expat.h: No such file or directory

The ceph-dencoder binary is built with rgw_dencoder.cc, which includes
rgw_acl_s3.h, which in turn includes expat.h. However, configure.ac
currently only checks for Expat as part of radosgw.

but we don't need expat.h for testing the encoding of rgw structs, so
move "#include <expat.h>" into the source file to avoid this dependency.
and as a side effect, this also speed up the compilation.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoBlueStore: fix wrong action scope of enode 7362/head
xie xingguo [Tue, 2 Feb 2016 06:22:41 +0000 (14:22 +0800)]
BlueStore: fix wrong action scope of enode

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #7472 from badone/wip-ceph-disk-typo
Kefu Chai [Tue, 2 Feb 2016 06:11:44 +0000 (14:11 +0800)]
Merge pull request #7472 from badone/wip-ceph-disk-typo

ceph-disk: Fix trivial typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoBlueStore: add error handling for clone
xie xingguo [Wed, 27 Jan 2016 06:20:09 +0000 (14:20 +0800)]
BlueStore: add error handling for clone

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: add error handling for clone_range
xie xingguo [Wed, 27 Jan 2016 04:11:45 +0000 (12:11 +0800)]
BlueStore: add error handling for clone_range

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix wrong decode logic of nid_max
xie xingguo [Tue, 26 Jan 2016 14:22:49 +0000 (22:22 +0800)]
BlueStore: fix wrong decode logic of nid_max

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix unhandled return code from blockdevice APIs
xie xingguo [Tue, 26 Jan 2016 08:41:20 +0000 (16:41 +0800)]
BlueStore: fix unhandled return code from blockdevice APIs

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: try to scan as many errors as possible
xie xingguo [Tue, 26 Jan 2016 09:25:42 +0000 (17:25 +0800)]
BlueStore: try to scan as many errors as possible

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix duplicated counting of errors
xie xingguo [Tue, 26 Jan 2016 09:17:59 +0000 (17:17 +0800)]
BlueStore: fix duplicated counting of errors

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix enode verification logic
xie xingguo [Tue, 26 Jan 2016 09:16:19 +0000 (17:16 +0800)]
BlueStore: fix enode verification logic

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: add a guard for collection loading
xie xingguo [Tue, 26 Jan 2016 09:12:25 +0000 (17:12 +0800)]
BlueStore: add a guard for collection loading

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: add a guard for overlay loading
xie xingguo [Tue, 26 Jan 2016 09:03:49 +0000 (17:03 +0800)]
BlueStore: add a guard for overlay loading

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #6813 from manens/pybind_rados_snapshot_read
Kefu Chai [Tue, 2 Feb 2016 03:26:47 +0000 (11:26 +0800)]
Merge pull request #6813 from manens/pybind_rados_snapshot_read

pybind: Implementation of Ioctx.set_read to allow read from snapshots

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agorgw-admin: document orphans commands in usage 7473/head
Yehuda Sadeh [Tue, 2 Feb 2016 00:33:55 +0000 (16:33 -0800)]
rgw-admin: document orphans commands in usage

Fixes: #14516
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoceph-disk: Fix trivial typo 7471/head 7472/head
Brad Hubbard [Tue, 2 Feb 2016 00:22:00 +0000 (10:22 +1000)]
ceph-disk: Fix trivial typo

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
9 years agomsg: ignore request_redirect_t encode/decode when we not need 7386/head
Xinze Chi [Wed, 11 Nov 2015 11:10:09 +0000 (19:10 +0800)]
msg: ignore request_redirect_t encode/decode when we not need

Signed-off-by: Xinze Chi <xinze@xsky.com>
9 years agoMerge pull request #7445 from xiexingguo/xxg-wip-mem
Sage Weil [Mon, 1 Feb 2016 22:12:53 +0000 (17:12 -0500)]
Merge pull request #7445 from xiexingguo/xxg-wip-mem

osd: memstore: fix blocksize for statfs

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoqa/workunits/objectstore/test_fuse.sh: fix root check 7468/head
Sage Weil [Mon, 1 Feb 2016 20:48:53 +0000 (15:48 -0500)]
qa/workunits/objectstore/test_fuse.sh: fix root check

$EUID not defined everywhere.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/memstore: disable lockdep on Collection::lock 7448/head
Sage Weil [Mon, 1 Feb 2016 19:40:17 +0000 (14:40 -0500)]
os/memstore: disable lockdep on Collection::lock

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/kstore: disable lockdep on Collection::lock
Sage Weil [Mon, 1 Feb 2016 19:40:10 +0000 (14:40 -0500)]
os/kstore: disable lockdep on Collection::lock

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: disable lockdep on Collection::lock
Sage Weil [Mon, 1 Feb 2016 19:40:03 +0000 (14:40 -0500)]
os/bluestore: disable lockdep on Collection::lock

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/filestore/CollectionIndex: disable lockdep on access_lock
Sage Weil [Sat, 30 Jan 2016 14:28:54 +0000 (09:28 -0500)]
os/filestore/CollectionIndex: disable lockdep on access_lock

This overflows the lockdep table when there are too many PGs. This
code is static so I'm not worried about new locking bugs.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agocommon/RWLock: alloc lockdep to be disabled
Sage Weil [Sat, 30 Jan 2016 14:29:07 +0000 (09:29 -0500)]
common/RWLock: alloc lockdep to be disabled

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agolockdep: dump lock names if we run out of IDs
Sage Weil [Fri, 29 Jan 2016 17:40:43 +0000 (12:40 -0500)]
lockdep: dump lock names if we run out of IDs

..just in case we are doing something silly, like misnaming locks.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: fix typo (again)
Sage Weil [Mon, 1 Feb 2016 20:02:20 +0000 (15:02 -0500)]
os/bluestore: fix typo (again)

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: fix typo
Sage Weil [Mon, 1 Feb 2016 19:59:42 +0000 (14:59 -0500)]
os/bluestore: fix typo

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7400 from yuyuyu101/wip-13938
Josh Durgin [Mon, 1 Feb 2016 19:44:42 +0000 (11:44 -0800)]
Merge pull request #7400 from yuyuyu101/wip-13938

librbd: Avoid create two threads per image

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #7409 from dillaman/wip-librbd-watch-notify
Josh Durgin [Mon, 1 Feb 2016 19:42:27 +0000 (11:42 -0800)]
Merge pull request #7409 from dillaman/wip-librbd-watch-notify

tests: improve simulation of watch/notify handling

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6562 from Aran85/authedpermcheck
Yehuda Sadeh [Mon, 1 Feb 2016 18:56:14 +0000 (10:56 -0800)]
Merge pull request #6562 from Aran85/authedpermcheck

rgw: fix the condition of  authenticated user's permit check .

9 years agoosd/PG: fix scrub start object 7467/head
Sage Weil [Mon, 1 Feb 2016 18:32:30 +0000 (13:32 -0500)]
osd/PG: fix scrub start object

This was changed in 05d79faa512210b0f0a91640d18db33b887a6e73 but it needs
to be more precise to avoid breaking BlueStore's assertions (that the
start position is within the collection range).

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoqa/workunits/rados/test.sh: run tests in parallel by default
Sage Weil [Mon, 1 Feb 2016 16:26:00 +0000 (11:26 -0500)]
qa/workunits/rados/test.sh: run tests in parallel by default

Faster!  8 min vs the original 21 min on my vstart cluster.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7291 from majianpeng/vstart.sh
Kefu Chai [Mon, 1 Feb 2016 15:52:32 +0000 (23:52 +0800)]
Merge pull request #7291 from majianpeng/vstart.sh

vstart.sh: If use '-n' delete related source rather than consider '-k'.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoosd/ECTransaction: Removing unused local 7438/head
Igor Fedotov [Fri, 29 Jan 2016 17:24:34 +0000 (20:24 +0300)]
osd/ECTransaction: Removing unused local

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
9 years agoosd/PGBackend: PGBackend interface cleanup - make some interface methods pure virtual...
Igor Fedotov [Fri, 29 Jan 2016 17:19:24 +0000 (20:19 +0300)]
osd/PGBackend: PGBackend interface cleanup - make some interface methods pure virtual instead of assertion usage.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>