Commit Graph

67564 Commits

Author SHA1 Message Date
Sage Weil
3c26e7dad6 Merge pull request #12920 from Liuchang0812/update-document-for-logging-level
doc: explain about logging levels

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-13 09:15:10 -06:00
Casey Bodley
b4d8e4dd3a Merge pull request #12887 from jronak/documentation
Doc:Fixes Python Swift client commands

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-01-13 10:03:35 -05:00
Jason Dillaman
5ecfc2cf26 Merge pull request #11879 from trociny/wip-15371
rbd-mirror: delayed replication support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-13 09:36:13 -05:00
liuchang0812
bf334e61d8 doc: explain about logging levels
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-01-13 20:16:25 +08:00
John Spray
b5262c2091 Merge pull request #12870 from xiaoxichen/mds_readdir
mds/server: skip unwanted dn in handle_client_readdir

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-13 11:57:09 +00:00
John Spray
b24e4a2213 Merge pull request #12831 from jcsp/wip-libcephfs-refcount
libcephfs: fix cct refcount constructing from rados

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-13 11:55:51 +00:00
Ronak Jain
8c79959557 Doc: Fixes Python Swift client commands
Fixes: http://tracker.ceph.com/issues/17746
Signed-off-by: Ronak Jain <ronakjain@outlook.in>
2017-01-13 16:57:45 +05:30
John Spray
868d419c2e Merge pull request #12859 from ukernel/wip-18460
client: fix Client::handle_cap_flushsnap_ack() crash

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-13 11:21:35 +00:00
John Spray
72103cfc13 Merge pull request #12852 from ukernel/wip-18461
mds: finish clientreplay requests before requesting active state

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-13 11:21:05 +00:00
John Spray
1e62467d09 Merge pull request #12833 from ukernel/wip-18396
tasks/cephfs: fix kernel force umount

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-13 11:20:00 +00:00
John Spray
e18d6e19de Merge pull request #12808 from ukernel/wip-18306
mds: fix null pointer dereference in Locker::handle_client_caps

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-13 11:19:20 +00:00
John Spray
2076cda04a Merge pull request #12749 from ukernel/wip-18179
mds: propagate error encountered during opening inode by number

Reviewed-by: John Spray <john.spray@redhat.com>
2017-01-13 11:18:59 +00:00
Kefu Chai
a6dfd7ef77 Merge pull request #12501 from ganeshmaharaj/fix-osd-tracing
tracing: Fix error in including all files in osd_tp

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-13 18:18:41 +08:00
Dan Mick
8ea09a23f7 Merge pull request #12848 from dzafman/wip-18469
ceph-objectstore-tool: Handle object names that are also valid json

Reviewed-by: Dan MIck <dmick@redhat.com>
2017-01-12 17:58:24 -08:00
Xie Xingguo
641ce6fcba Merge pull request #12873 from Liuchang0812/wip-static-check
test: clean up unused variable

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-13 08:39:21 +08:00
Yuri Weinstein
8bdbf88ad2 Merge pull request #12913 from zmc/wip-smoke-openstack
Add openstack requirements to smoke suite

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2017-01-12 16:18:00 -08:00
Yuri Weinstein
d7a958a362 Merge pull request #12914 from tmuthamizhan/wip-ansible-fs-suite
qa: specify client for fs workunit

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2017-01-12 16:10:23 -08:00
Tamil Muthamizhan
8f6fd3a766 qa: specify client for fs workunit
s/all/client.0

Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
2017-01-12 15:29:56 -08:00
Zack Cerza
fe9b7552d1 Add openstack requirements to smoke suite
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-01-12 14:55:26 -07:00
Samuel Just
1753abc116 Merge pull request #12869 from athanatos/wip-18358
osdc/Objecter: resend pg commands on interval change

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-12 12:46:00 -08:00
Samuel Just
d89fdd2833 Objecter: resend pg commands on interval change
mark_lost_unfound* are now async since the rework, so we need
the Objecter to be able to resend on interval change.  This
is preferable to somehow requeueing the Command because they
don't use the normal op queue.

Fixes: http://tracker.ceph.com/issues/18358
Signed-off-by: Samuel Just <sjust@redhat.com>
2017-01-12 12:45:03 -08:00
Samuel Just
bc57b7cb70 Objecter: fold last_force_resend into op_target_t
It's always passed along with op_target_t, this seems simpler.

Signed-off-by: Samuel Just <sjust@redhat.com>
2017-01-12 12:44:59 -08:00
Sage Weil
240d885c7f Merge pull request #12888 from athanatos/wip-18165
osd/PrimaryLogPG::failed_push: update missing as well

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-12 14:17:58 -06:00
Gregory Farnum
6aa6f1d4b6 Merge pull request #12894 from dmick/wip-doc
doc/cephfs/troubleshooting: fix broken bullet list

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-12 10:39:54 -08:00
Jason Dillaman
3d7501ef05 Merge pull request #12905 from rjfd/wip-15824
librbd: added rbd_flatten_with_progress to API

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-12 12:20:09 -05:00
Mykola Golub
4b92adcb30 rbd-mirror: delayed replication support
Fixes: http://tracker.ceph.com/issues/15371
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-01-12 18:14:48 +01:00
Mykola Golub
b71a2d57cc test/rbd_mirror: ImageReplayer mock tests
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-01-12 18:14:48 +01:00
Mykola Golub
ce867ce44a rbd-mirror: tweaks to support creating mock test cases
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-01-12 18:14:48 +01:00
Mykola Golub
5c426683a5 test: add "resync requested" unit test for rbd-mirror bootstrap request
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-01-12 18:14:48 +01:00
Mykola Golub
72158bd9a3 qa/workunits/rbd: allow to tweak rbd-mirror test setup
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-01-12 18:09:02 +01:00
Jason Dillaman
abbcbbded2 Merge pull request #12843 from trociny/wip-18465
librbd: metadata_set API operation should not change global config setting

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-12 09:54:20 -05:00
Jason Dillaman
438f99016b Merge pull request #12880 from wjwithagen/wip-wjw-static_cast-NULL
tests: fix NULL references to be acceptable by Clang

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-12 09:53:06 -05:00
Ricardo Dias
52fae71fb7
rbd: added rbd_flatten_with_progress to librbd header
Fixes: http://tracker.ceph.com/issues/15824

Signed-off-by: Ricardo Dias <rdias@suse.com>
2017-01-12 14:30:29 +00:00
Nathan Cutler
8c724a5297 Merge pull request #12683 from SUSE/wip-run-make-check-deps
build/ops: add sanity checks to run-make-check.sh

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-01-12 15:22:19 +01:00
Jason Dillaman
59d0207e6c Merge pull request #12864 from gaurav36/bug-18422-rbd-bench-write-crash-4G-io-size
rbd: bench-write should return error if io-size >= 4G

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-12 09:14:30 -05:00
Yan, Zheng
6526ecc084 qa/tasks: add test_open_ino_errors
Validate that errors encountered during opening inos are properly
propagated

Signed-off-by: Yan, Zheng <zyan@redhat.com>
2017-01-12 20:15:53 +08:00
Mykola Golub
5b97cce360 Merge pull request #12863 from dillaman/wip-rbd-coverity
librbd: resolve static analyser warnings

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-01-12 12:48:18 +02:00
Dan Mick
c278971bb6 doc/cephfs/troubleshooting: fix broken bullet list
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-01-11 18:45:15 -08:00
Jason Dillaman
60c36674bd Merge pull request #12820 from trociny/wip-18447
rbd-mirror: check remote image mirroring state when bootstrapping

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-11 21:36:09 -05:00
John Spray
6048704d2f Merge pull request #12465 from jcsp/wip-18159
mount: do not print "unknown" option to kclient

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2017-01-12 00:48:29 +00:00
John Spray
3db51ae52d Merge pull request #12794 from ukernel/wip-multimds-misc2
mds: misc multimds fixes part2

Reviewed-by: John Spray <john.spray@redhat.com>
2017-01-12 00:32:55 +00:00
Jason Dillaman
2e86a67b1b Merge pull request #12842 from trociny/wip-break_lock_test
test/librbd: add break_lock test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-11 19:30:36 -05:00
Willem Jan Withagen
cbb2d65b87 tests: fix NULL references to be acceptable by Clang
- On some platforms NULL evaluates to nullptr, which will require a
   cast to the right type to be able to compile.
      error: reinterpret_cast from 'nullptr_t' to 'ContextWQ *'

 - It is a delicate change since otherwise GCC will start complaining
   about the reverse:
      error: invalid static_cast from type 'const long int' to type 'ContextWQ*'

 By casting right at the instance of NULL both compilers are happy.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-01-11 17:14:59 +01:00
Mykola Golub
3aca476a97 Merge pull request #12839 from dillaman/wip-17993
librbd: delay mirror registration when creating clones

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-01-11 18:13:57 +02:00
Mykola Golub
31f76d1778 Merge pull request #12838 from dillaman/wip-18419
librbd: possible deadlock with flush if refresh in-progress

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-01-11 18:13:24 +02:00
Mykola Golub
e0da839dd9 Merge pull request #12837 from dillaman/wip-18441
rbd-mirror: avoid processing new events after stop requested

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-01-11 18:12:16 +02:00
Jason Dillaman
5341e1fc18 Merge pull request #12846 from dillaman/wip-rbd-mirror-ha-merge
librbd: refactor exclusive lock support into generic managed lock

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2017-01-11 10:53:33 -05:00
Kefu Chai
025446ac78 Merge pull request #12832 from wjin/clean_async
msg/async: cleanups

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-01-11 18:25:19 +08:00
Yan, Zheng
2f50921492 mds: fix MDCache::trim() with max == 0
MDCache::shutdown_pass call MDCache::trim with max == 0. If the last
dentry is non-null, MDCache::trim does nothing

Signed-off-by: Yan, Zheng <zyan@redhat.com>
2017-01-11 17:16:45 +08:00
Yan, Zheng
2213cc2dcc mds: propagate error encountered during opening inode by number
Fixes: http://tracker.ceph.com/issues/18179
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2017-01-11 15:21:41 +08:00