]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoinclude/rados/librados.h: fix typo 6741/head
Nathan Cutler [Mon, 30 Nov 2015 23:26:08 +0000 (00:26 +0100)]
include/rados/librados.h: fix typo

This typo causes a warning when building the docs.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #6740 from dillaman/wip-13911
Josh Durgin [Mon, 30 Nov 2015 22:50:27 +0000 (14:50 -0800)]
Merge pull request #6740 from dillaman/wip-13911

librbd: ensure copy-on-read requests are complete prior to closing parent image

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agolibrbd: utilize common flush helper when closing parent images 6740/head
Jason Dillaman [Mon, 30 Nov 2015 21:32:10 +0000 (16:32 -0500)]
librbd: utilize common flush helper when closing parent images

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: only enqueue flush completion if a flush is pending
Jason Dillaman [Mon, 30 Nov 2015 21:30:51 +0000 (16:30 -0500)]
librbd: only enqueue flush completion if a flush is pending

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6737 from dillaman/wip-13912
Josh Durgin [Mon, 30 Nov 2015 20:30:36 +0000 (12:30 -0800)]
Merge pull request #6737 from dillaman/wip-13912

librbd: check for presence of journal before attempting to remove

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6668 from zaitcev/cleanup-dead-code-2
Yehuda Sadeh [Mon, 30 Nov 2015 20:30:21 +0000 (12:30 -0800)]
Merge pull request #6668 from zaitcev/cleanup-dead-code-2

rgw: Remove unused code in PutMetadataAccount:execute

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agoMerge pull request #6715 from jcsp/wip-librbd-cmake
Jason Dillaman [Mon, 30 Nov 2015 19:02:57 +0000 (14:02 -0500)]
Merge pull request #6715 from jcsp/wip-librbd-cmake

cmake: update for recent librbd changes

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6432 from ukernel/wip-11482
John Spray [Mon, 30 Nov 2015 17:53:51 +0000 (17:53 +0000)]
Merge pull request #6432 from ukernel/wip-11482

mds: fix client capabilities during reconnect (client.XXXX isn't responding to mclientcaps(revoke))

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #6736 from dillaman/wip-13914
Josh Durgin [Mon, 30 Nov 2015 17:43:17 +0000 (09:43 -0800)]
Merge pull request #6736 from dillaman/wip-13914

librbd: not necessary to hold owner_lock while releasing snap id

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agolibrbd: check for presence of journal before attempting to remove 6737/head
Jason Dillaman [Mon, 30 Nov 2015 17:36:13 +0000 (12:36 -0500)]
librbd: check for presence of journal before attempting to remove

Fixes: #13912
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: helper method to determine if journal exists
Jason Dillaman [Mon, 30 Nov 2015 17:31:02 +0000 (12:31 -0500)]
journal: helper method to determine if journal exists

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: not necessary to hold owner_lock while releasing snap id 6736/head
Jason Dillaman [Mon, 30 Nov 2015 16:55:10 +0000 (11:55 -0500)]
librbd: not necessary to hold owner_lock while releasing snap id

Fixes: #13914
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6706 from xiexingguo/xxg-wip-13711
Jason Dillaman [Mon, 30 Nov 2015 15:12:57 +0000 (10:12 -0500)]
Merge pull request #6706 from xiexingguo/xxg-wip-13711

rbd: output formatter may not be closed upon error

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6734 from accelazh/master
Loic Dachary [Mon, 30 Nov 2015 15:11:25 +0000 (16:11 +0100)]
Merge pull request #6734 from accelazh/master

Correct typo 'restared' to 'restarted'

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoCorrect typo 'restared' to 'restarted' 6734/head
Accela Zhao [Mon, 30 Nov 2015 14:24:26 +0000 (22:24 +0800)]
Correct typo 'restared' to 'restarted'

There is a typo in document "Monitoring OSDs and PGs" as below

    An OSD was ``down``, was restared, and is now ``recovering``.

This patch corrects 'restared' to 'restarted'. The whole code base
is also searched to ensure there is no more 'restared'.

Signed-off-by: Yilong Zhao <accelazh@gmail.com>
9 years agoMerge pull request #6733 from tchaikov/wip-fixcodingstyle
Loic Dachary [Mon, 30 Nov 2015 14:00:04 +0000 (15:00 +0100)]
Merge pull request #6733 from tchaikov/wip-fixcodingstyle

CodingStyle: fix broken URLs

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoCodingStyle: fix broken URLs 6733/head
Kefu Chai [Mon, 30 Nov 2015 13:12:37 +0000 (21:12 +0800)]
CodingStyle: fix broken URLs

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6724 from dachary/wip-13592-test-auto-repair 6728/head
Loic Dachary [Sun, 29 Nov 2015 16:01:14 +0000 (17:01 +0100)]
Merge pull request #6724 from dachary/wip-13592-test-auto-repair

tests: fix race condition testing auto scrub

Reviewed-by: Xinze Chi <xinze@xsky.com>
9 years agotests: fix race condition testing auto scrub 6724/head
Loic Dachary [Sat, 28 Nov 2015 16:55:46 +0000 (17:55 +0100)]
tests: fix race condition testing auto scrub

When testing auto scrub, waiting 20 seconds for the scrub to complete is
sometimes not enough and creates false negatives.

Split wait_for_scrub out of the repair helper so that it can be used to
wait for the scrub to happen instead of using a timer.

The scrub timestamp is obtained after removing the object, therefore
there is a chance for the scrub to be finished already. But since auto
scrub is scheduled every 5 seconds, it will only make the test wait an
extra 5 seconds and not hang forever.

http://tracker.ceph.com/issues/13592

Signed-off-by: Xinze Chi <xinze@xsky.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agocmake: update for recent librbd changes 6715/head
John Spray [Thu, 26 Nov 2015 14:29:23 +0000 (14:29 +0000)]
cmake: update for recent librbd changes

Recent merge moved lots of things.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #6503 from XinzeChi/wip-repop-worker
Sage Weil [Sat, 28 Nov 2015 13:31:12 +0000 (08:31 -0500)]
Merge pull request #6503 from XinzeChi/wip-repop-worker

osd: defer decoding of MOSDRepOp/MOSDRepOpReply

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6597 from ceph/wip-fix-kvdb-test
Sage Weil [Sat, 28 Nov 2015 13:29:15 +0000 (08:29 -0500)]
Merge pull request #6597 from ceph/wip-fix-kvdb-test

tests: ceph_test_keyvaluedb_iterators: fix broken test

Reviewed-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
9 years agoMerge pull request #6543 from efirs/optimize-stringify-call
Sage Weil [Sat, 28 Nov 2015 13:28:36 +0000 (08:28 -0500)]
Merge pull request #6543 from efirs/optimize-stringify-call

common: reduce CPU usage by making stringstream in stringify function thread local

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6455 from 0003ydlom/perfctrwa
Sage Weil [Sat, 28 Nov 2015 13:27:40 +0000 (08:27 -0500)]
Merge pull request #6455 from 0003ydlom/perfctrwa

osd: enable perfcounters on sharded work queue mutexes

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6441 from aclamk/wip-faster-log-fixed
Sage Weil [Sat, 28 Nov 2015 13:26:53 +0000 (08:26 -0500)]
Merge pull request #6441 from aclamk/wip-faster-log-fixed

common: optimize debug logging code

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6276 from david-z/wip-systemd-finegrain-ceph-service
Sage Weil [Sat, 28 Nov 2015 13:25:40 +0000 (08:25 -0500)]
Merge pull request #6276 from david-z/wip-systemd-finegrain-ceph-service

systemd: start/stop/restart ceph services by daemon type

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #6198 from XinzeChi/wip-buffer-history-alloc
Sage Weil [Sat, 28 Nov 2015 13:23:40 +0000 (08:23 -0500)]
Merge pull request #6198 from XinzeChi/wip-buffer-history-alloc

common: perf counter for bufferlist history total alloc

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6081 from trociny/wip-pool_opts_t
Sage Weil [Fri, 27 Nov 2015 15:34:33 +0000 (10:34 -0500)]
Merge pull request #6081 from trociny/wip-pool_opts_t

osd: pg_pool_t: add dictionary for pool options

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoosd: store per pool scrub intervals in pool options 6081/head
Mykola Golub [Tue, 29 Sep 2015 06:35:32 +0000 (09:35 +0300)]
osd: store per pool scrub intervals in pool options

  ceph osd pool set $POOL scrub_min_interval N
  ceph osd pool set $POOL scrub_max_interval N
  ceph osd pool set $POOL deep_scrub_interval N

If N > 0, this value is used for the pool instead of
the corresponding global parameter from the config
(osd_scrub_min_interval, osd_scrub_max_interval or
osd_deep_scrub_interval).

Fixes: #13077
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agotests: workunits should not have ./ (assume it in $PATH)
Mykola Golub [Fri, 27 Nov 2015 06:23:55 +0000 (08:23 +0200)]
tests: workunits should not have ./ (assume it in $PATH)

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoosd: pg_pool_t: add dictionary for pool options
Mykola Golub [Tue, 29 Sep 2015 06:24:24 +0000 (09:24 +0300)]
osd: pg_pool_t: add dictionary for pool options

It is going to be used to store per pool configuration parameters like
scrub intervals or recovery priority.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #6710 from jdurgin/wip-13877
Kefu Chai [Fri, 27 Nov 2015 08:48:56 +0000 (16:48 +0800)]
Merge pull request #6710 from jdurgin/wip-13877

test: use sequential journal_tid for object cacher test

Reported-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6711 from jdurgin/wip-13880
Kefu Chai [Fri, 27 Nov 2015 06:14:50 +0000 (14:14 +0800)]
Merge pull request #6711 from jdurgin/wip-13880

pybind: decode empty string in conf_parse_argv() correctly

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6653 from branch-predictor/bp-no-zero-reverse
Sage Weil [Thu, 26 Nov 2015 22:30:38 +0000 (17:30 -0500)]
Merge pull request #6653 from branch-predictor/bp-no-zero-reverse

common: don't reverse hobject_t hash bits when zero

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6475 from branch-predictor/bp-trim-n-reorder-bools
Sage Weil [Thu, 26 Nov 2015 22:29:58 +0000 (17:29 -0500)]
Merge pull request #6475 from branch-predictor/bp-trim-n-reorder-bools

osd: reduce memory consumption of some structs

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6456 from stiopaa1/removeConstr
Sage Weil [Thu, 26 Nov 2015 22:29:31 +0000 (17:29 -0500)]
Merge pull request #6456 from stiopaa1/removeConstr

common: buffer: remove unneeded list destructor

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6263 from dx9/wip-12406-os-filestore
Sage Weil [Thu, 26 Nov 2015 22:28:51 +0000 (17:28 -0500)]
Merge pull request #6263 from dx9/wip-12406-os-filestore

osd: FileStore: remove __SWORD_TYPE dependency

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6262 from dx9/wip-12406-os-fs
Sage Weil [Thu, 26 Nov 2015 22:28:31 +0000 (17:28 -0500)]
Merge pull request #6262 from dx9/wip-12406-os-fs

osd: remove __SWORD_TYPE dependency

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6175 from XinzeChi/wip-finisher-lat
Sage Weil [Thu, 26 Nov 2015 22:28:10 +0000 (17:28 -0500)]
Merge pull request #6175 from XinzeChi/wip-finisher-lat

common: add latency perf counter for finisher

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6102 from mslovy/wip-mon-leak-fix
Sage Weil [Thu, 26 Nov 2015 22:27:47 +0000 (17:27 -0500)]
Merge pull request #6102 from mslovy/wip-mon-leak-fix

mon: fix routed_request_tids leak

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6093 from tchaikov/wip-kvstore-tool-argv
Sage Weil [Thu, 26 Nov 2015 22:26:43 +0000 (17:26 -0500)]
Merge pull request #6093 from tchaikov/wip-kvstore-tool-argv

ceph-kvstore-tool: handle bad out file on command line

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5793 from yuyuyu101/impl-perf
Sage Weil [Thu, 26 Nov 2015 22:26:05 +0000 (17:26 -0500)]
Merge pull request #5793 from yuyuyu101/impl-perf

osd: add osd op queue latency perfcounter

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5734 from cxwshawn/mon-fix
Sage Weil [Thu, 26 Nov 2015 22:24:59 +0000 (17:24 -0500)]
Merge pull request #5734 from cxwshawn/mon-fix

auth: make keyring without mon entity type return -EACCES

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6714 from aiicore/test_encoding_readable
Loic Dachary [Thu, 26 Nov 2015 14:12:57 +0000 (15:12 +0100)]
Merge pull request #6714 from aiicore/test_encoding_readable

test/encoding/readable.sh fix

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agotest/encoding/readable.sh fix 6714/head
Igor Podoski [Thu, 26 Nov 2015 12:38:50 +0000 (13:38 +0100)]
test/encoding/readable.sh fix

1. Fix formatting (mixed tabs and spaces)
2. Status of skipped types was showing always last version in directory

Signed-off-by: Igor Podoski <igor.podoski@ts.fujitsu.com>
9 years agoMerge pull request #6705 from vanpire110/master
Loic Dachary [Thu, 26 Nov 2015 09:15:25 +0000 (10:15 +0100)]
Merge pull request #6705 from vanpire110/master

doc: Fixes a spelling error

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agopybind: decode empty string in conf_parse_argv() correctly 6711/head
Josh Durgin [Thu, 26 Nov 2015 05:37:23 +0000 (21:37 -0800)]
pybind: decode empty string in conf_parse_argv() correctly

cretargs is a array of c_char_p, which means ctypes has already
converted it to python byte strings. decode_cstr() would misinterpret
the empty string as a NULL c_char_p(), and convert it to None by
accident, resulting in errors when running commands like
'ceph config-key put foo ""'.

Since this is the only place we use arrays of c_char_p, just decode
it directly in conf_parse_argv(). Tested with python 2 and 3.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6699 from dachary/wip-ceph-helpers
Kefu Chai [Thu, 26 Nov 2015 04:38:48 +0000 (12:38 +0800)]
Merge pull request #6699 from dachary/wip-ceph-helpers

tests: ceph-helpers assert success getting backfills

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agotest: use sequential journal_tid for object cacher test 6710/head
Josh Durgin [Thu, 26 Nov 2015 04:24:30 +0000 (20:24 -0800)]
test: use sequential journal_tid for object cacher test

This matches the real usage by librbd.

Fixes: #13877
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoList: close formatter session on error exit. 6706/head
xiexingguo [Thu, 26 Nov 2015 02:05:25 +0000 (10:05 +0800)]
List: close formatter session on error exit.

Fixes: #13711
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoDiskUsage: close formatter session on error exit
xiexingguo [Thu, 26 Nov 2015 02:00:59 +0000 (10:00 +0800)]
DiskUsage: close formatter session on error exit

Fixes: #13711
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agodoc: Fixes a spelling error 6705/head
Jeremy Qian [Thu, 26 Nov 2015 01:43:10 +0000 (09:43 +0800)]
doc: Fixes a spelling error

Signed-off-by: Jeremy Qian <vanpire110@163.com>
9 years agoMerge pull request #6533 from ghost/wip-fix-trivial-bug
Sage Weil [Thu, 26 Nov 2015 01:15:13 +0000 (20:15 -0500)]
Merge pull request #6533 from ghost/wip-fix-trivial-bug

osd: fix trivial scrub bug

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6612 from H3C/wip-yrf-destroy_collection
Sage Weil [Thu, 26 Nov 2015 01:14:45 +0000 (20:14 -0500)]
Merge pull request #6612 from H3C/wip-yrf-destroy_collection

osd: fix FileStore::_destroy_collection error return code

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #6660 from chengyli/master
Sage Weil [Thu, 26 Nov 2015 01:13:40 +0000 (20:13 -0500)]
Merge pull request #6660 from chengyli/master

mon: fix ceph df pool available calculation for 0-weighted OSDs

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6473 from H3C/wip-osd-bugfix1
Sage Weil [Wed, 25 Nov 2015 22:46:01 +0000 (17:46 -0500)]
Merge pull request #6473 from H3C/wip-osd-bugfix1

auth: fail if rotating key is missing (do not spam log)

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6278 from XinzeChi/wip-failinfo-mon
Sage Weil [Wed, 25 Nov 2015 22:44:56 +0000 (17:44 -0500)]
Merge pull request #6278 from XinzeChi/wip-failinfo-mon

osd: cancel failure reports if we fail to rebind network

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6675 from rohanmars/wip-aix-librados-port
Sage Weil [Wed, 25 Nov 2015 22:43:44 +0000 (17:43 -0500)]
Merge pull request #6675 from rohanmars/wip-aix-librados-port

aix gcc librados port

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoaix shared library build 6675/head
Rohan Mars [Wed, 25 Nov 2015 23:30:31 +0000 (18:30 -0500)]
aix shared library build

Signed-off-by: Rohan Mars <code@rohanmars.com>
9 years agoMerge branch 'wip-13800' of git://github.com/ukernel/ceph
Greg Farnum [Wed, 25 Nov 2015 22:21:38 +0000 (14:21 -0800)]
Merge branch 'wip-13800' of git://github.com/ukernel/ceph

client: fix deadlock related to async pagecache invalidation

Conflicts:
src/client/Client.cc
Fixed a conflict with the earlier page cache invalidate
changes in 73beb7f9378182cc3901fe86c4f1f5d5d98169a6.

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #6454 from H3C/wip-mds
Gregory Farnum [Wed, 25 Nov 2015 22:10:58 +0000 (17:10 -0500)]
Merge pull request #6454 from H3C/wip-mds

mds: repair the command option "--hot-standby"

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #6269 from jcsp/wip-client-mark-down
Gregory Farnum [Wed, 25 Nov 2015 22:07:56 +0000 (17:07 -0500)]
Merge pull request #6269 from jcsp/wip-client-mark-down

client: close mds sessions in shutdown()

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #6380 from ukernel/wip-client-keep-cache
Gregory Farnum [Wed, 25 Nov 2015 22:02:06 +0000 (17:02 -0500)]
Merge pull request #6380 from ukernel/wip-client-keep-cache

client: don't invalidate page cache when inode is no longer used

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #6253 from jcsp/wip-client-availability
Gregory Farnum [Wed, 25 Nov 2015 22:00:04 +0000 (17:00 -0500)]
Merge pull request #6253 from jcsp/wip-client-availability

client: a better check for MDS availability

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #6051 from clever215/master
Yehuda Sadeh [Wed, 25 Nov 2015 17:37:40 +0000 (09:37 -0800)]
Merge pull request #6051 from clever215/master

rgw: add an inspection to the field of type when assigning user caps

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: add an inspection to the field of type when assigning user caps 6051/head
clever215 [Wed, 25 Nov 2015 16:31:48 +0000 (11:31 -0500)]
rgw: add an inspection to the field of type when assigning user caps

Bug #13096

This modification adds the check to the field of type of a user's capality while previous versions set it any value. i.e. we limit the option of types to the 9 certain values, which are "users|buckets|metadata|usage|zone|bilog|mdlog|datalog|ops These 9 choosens are found in ceph documents and in source codes.

Signed-off-by: Kongming Wu <wu.kongming@h3c.com>
9 years agoMerge pull request #6700 from dillaman/wip-librbd-32bit-support
Josh Durgin [Wed, 25 Nov 2015 16:24:37 +0000 (08:24 -0800)]
Merge pull request #6700 from dillaman/wip-librbd-32bit-support

librbd: simplify IO method signatures for 32bit environments

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agolibrbd: simplify IO method signatures for 32bit environments 6700/head
Jason Dillaman [Wed, 25 Nov 2015 14:23:54 +0000 (09:23 -0500)]
librbd: simplify IO method signatures for 32bit environments

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoFix mon routed_request_tids leak 6102/head
Ning Yao [Thu, 8 Oct 2015 08:24:50 +0000 (16:24 +0800)]
Fix mon routed_request_tids leak

Signed-off-by: Ning Yao <zay11022@gmail.com>
9 years agomds: remove MDCache::cap_import_paths 6432/head
Yan, Zheng [Mon, 2 Nov 2015 02:44:34 +0000 (10:44 +0800)]
mds: remove MDCache::cap_import_paths

it's no longer used.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
9 years agotests: ceph-helpers assert success getting backfills 6699/head
Loic Dachary [Wed, 25 Nov 2015 11:17:14 +0000 (12:17 +0100)]
tests: ceph-helpers assert success getting backfills

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #6625 from dillaman/wip-12698
Josh Durgin [Wed, 25 Nov 2015 03:01:14 +0000 (19:01 -0800)]
Merge pull request #6625 from dillaman/wip-12698

librbd: integrate journaling for maintenance operations

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6687 from dillaman/wip-journal-replay-fixes
Josh Durgin [Wed, 25 Nov 2015 00:37:52 +0000 (16:37 -0800)]
Merge pull request #6687 from dillaman/wip-journal-replay-fixes

journal: support replaying beyond skipped splay objects

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6685 from dachary/wip-erasure-code-benchmark
Loic Dachary [Tue, 24 Nov 2015 20:25:42 +0000 (21:25 +0100)]
Merge pull request #6685 from dachary/wip-erasure-code-benchmark

qa: erasure-code benchmark plugin selection

Reviewed-by: Andreas Peters <andreas.joachim.peters@cern.ch>
9 years agoMerge pull request #6292 from dx9/wip-12406-res_nquery
Yehuda Sadeh [Tue, 24 Nov 2015 20:09:10 +0000 (12:09 -0800)]
Merge pull request #6292 from dx9/wip-12406-res_nquery

rgw/rgw_resolve: fallback to res_query when res_nquery not implemented

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6236 from guangyy/err-msg
Sage Weil [Tue, 24 Nov 2015 20:00:07 +0000 (15:00 -0500)]
Merge pull request #6236 from guangyy/err-msg

osd: use pg id (without shard) when referring the PG

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6610 from ktdreyer/wip-build-doc-lxml
Sage Weil [Tue, 24 Nov 2015 17:49:08 +0000 (12:49 -0500)]
Merge pull request #6610 from ktdreyer/wip-build-doc-lxml

admin/build-doc: add lxml dependencies on debian

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoclient: s/close_sessions/_close_sessions/ 6269/head
John Spray [Tue, 24 Nov 2015 17:48:14 +0000 (17:48 +0000)]
client: s/close_sessions/_close_sessions/

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #6323 from dingshang/wip-cephfs-dingshang
Gregory Farnum [Tue, 24 Nov 2015 15:16:47 +0000 (10:16 -0500)]
Merge pull request #6323 from dingshang/wip-cephfs-dingshang

pybind/cephfs: add symlink and its unit test

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoclient: close mds sessions in shutdown()
John Spray [Thu, 15 Oct 2015 00:31:16 +0000 (01:31 +0100)]
client: close mds sessions in shutdown()

Usually this happens in unmount(), but when we
have instantiated Client without mounting (to
send MDS commands), we need to handle closing
any open sessions in shutdown as well.

This is the correct replacement for the mark_down()
call that was removed from handle_command_reply
in the last commit.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoMerge tag 'v10.0.0'
Sage Weil [Tue, 24 Nov 2015 13:41:04 +0000 (08:41 -0500)]
Merge tag 'v10.0.0'

v10.0.0

9 years agoMerge pull request #6684 from jcsp/wip-fix-scrub
Yan, Zheng [Tue, 24 Nov 2015 02:56:30 +0000 (10:56 +0800)]
Merge pull request #6684 from jcsp/wip-fix-scrub

mds: fix scrub_path

9 years agojournal: support replay passed skipped splay objects 6687/head
Jason Dillaman [Mon, 23 Nov 2015 22:46:55 +0000 (17:46 -0500)]
journal: support replay passed skipped splay objects

It's possible for a splay object within a set to be skipped
if the set is closed due to a full object within the set.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: verify that journal player can handle skipped journal objects
Jason Dillaman [Mon, 23 Nov 2015 19:35:43 +0000 (14:35 -0500)]
tests: verify that journal player can handle skipped journal objects

It's possible for a journal object to not exist if another journal object
within the same object set filled up before records were written.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6605 from yuyuyu101/wip-13797
Gregory Farnum [Mon, 23 Nov 2015 22:33:20 +0000 (17:33 -0500)]
Merge pull request #6605 from yuyuyu101/wip-13797

ceph_test_msgr: Use send_message instead of keepalive to wakeup connection

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6495 from objoo/master
Loic Dachary [Mon, 23 Nov 2015 22:31:06 +0000 (23:31 +0100)]
Merge pull request #6495 from objoo/master

Mailmap updates for infernalis.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agomailmap: Jenkins affiliation 6495/head
Yann Dupont [Sun, 8 Nov 2015 17:40:20 +0000 (18:40 +0100)]
mailmap: Jenkins affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
9 years agomailmap: Burkhard Linke affiliation
Yann Dupont [Sun, 8 Nov 2015 20:39:40 +0000 (21:39 +0100)]
mailmap: Burkhard Linke affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
9 years agomailmap: Chen Dihao affiliation
Yann Dupont [Sun, 8 Nov 2015 17:11:09 +0000 (18:11 +0100)]
mailmap: Chen Dihao affiliation

Signed-off-by: Yann Dupont <yann@objoo.org>
9 years agomailmap: Wei Qian affiliation
Yann Dupont [Sun, 8 Nov 2015 15:10:36 +0000 (16:10 +0100)]
mailmap: Wei Qian affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
9 years agoqa: erasure-code-benchmark technique and plugin selection 6685/head
Loic Dachary [Mon, 23 Nov 2015 19:59:28 +0000 (20:59 +0100)]
qa: erasure-code-benchmark technique and plugin selection

Update the PLUGINS variable that was no longer used. Add the TECHNIQUES
variable to control which techniques are compared.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoqa: erasure-code has --erasure-code-dir
Loic Dachary [Mon, 23 Nov 2015 19:21:42 +0000 (20:21 +0100)]
qa: erasure-code has --erasure-code-dir

It is used instead of the obsoleted --parameter directory= to specify
the location of the erasure code directory plugins.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoadd aix compile warning
Rohan Mars [Mon, 23 Nov 2015 18:09:24 +0000 (13:09 -0500)]
add aix compile warning

Signed-off-by: Rohan Mars <code@rohanmars.com>
9 years agoinitialized backtrace variables
Rohan Mars [Mon, 23 Nov 2015 17:47:02 +0000 (12:47 -0500)]
initialized backtrace variables

Signed-off-by: Rohan Mars <code@rohanmars.com>
9 years agomds: fix scrub_path 6684/head
John Spray [Mon, 23 Nov 2015 17:39:14 +0000 (17:39 +0000)]
mds: fix scrub_path

This was tripping up over calling
validate_disk_state with no ScrubHeader.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #6679 from suckowbiz/patch-1
Loic Dachary [Mon, 23 Nov 2015 16:33:52 +0000 (17:33 +0100)]
Merge pull request #6679 from suckowbiz/patch-1

Fixed typos

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agodoc/release-notes: fix typo
Sage Weil [Mon, 23 Nov 2015 16:02:58 +0000 (11:02 -0500)]
doc/release-notes: fix typo

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc/release-notes: final v10.0.0 notes
Sage Weil [Mon, 23 Nov 2015 16:00:29 +0000 (11:00 -0500)]
doc/release-notes: final v10.0.0 notes

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomon: do not ignore a failure report cancellation form osd 6278/head
Xinze Chi [Fri, 20 Nov 2015 12:59:35 +0000 (20:59 +0800)]
mon: do not ignore a failure report cancellation form osd

do not ignore a failure report cancellation form osd even if it is
down.

Signed-off-by: Xinze Chi <xinze@xsky.com>
9 years agomon: fix osd failure info in mon
Xinze Chi [Fri, 20 Nov 2015 12:59:16 +0000 (20:59 +0800)]
mon: fix osd failure info in mon

when the network adapter of node A run into error, osd in this node
would tell mon other osd's heartbeat is timeout also. So when rebind
fail after retry 3 times, the osd should cancel in-flight failure report
send to mon before.

Signed-off-by: Xinze Chi <xinze@xsky.com>