]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agorgw_file: fix non-negative return code for open operation 14045/head
Gui Hecheng [Mon, 20 Mar 2017 02:53:46 +0000 (10:53 +0800)]
rgw_file: fix non-negative return code for open operation

The nfs-ganesha expects a negative retcode for errors.

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
8 years agoMerge pull request #13988 from guihecheng/rgw_file-fix-rename
Matt Benjamin [Mon, 20 Mar 2017 00:01:45 +0000 (20:01 -0400)]
Merge pull request #13988 from guihecheng/rgw_file-fix-rename

rgw_file: fix double unref on rgw_fh for rename

8 years agoMerge pull request #14033 from wjin/clean
Brad Hubbard [Sun, 19 Mar 2017 00:03:42 +0000 (10:03 +1000)]
Merge pull request #14033 from wjin/clean

mon/PGMonitor: rm nonused function

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agomon/PGMonitor: rm nonused function 14033/head
Wei Jin [Sat, 18 Mar 2017 13:50:54 +0000 (21:50 +0800)]
mon/PGMonitor: rm nonused function

Signed-off-by: Wei Jin <wjin.cn@gmail.com>
8 years agoMerge pull request #13917 from nikitych/add-oracle-distros
Loic Dachary [Sat, 18 Mar 2017 07:48:58 +0000 (08:48 +0100)]
Merge pull request #13917 from nikitych/add-oracle-distros

ceph-detect-init: Adds Oracle Linux Server and Oracle VM Server detect

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #14006 from ShiqiCooperation/master
Xie Xingguo [Sat, 18 Mar 2017 07:27:36 +0000 (15:27 +0800)]
Merge pull request #14006 from ShiqiCooperation/master

test/unittest_bluefs: remove unused variable

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14005 from liupan1111/wip-fix-resize-issue
Mykola Golub [Sat, 18 Mar 2017 07:09:53 +0000 (09:09 +0200)]
Merge pull request #14005 from liupan1111/wip-fix-resize-issue

rbd-nbd: update size only when NBD_SET_SIZE successful

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #13922 from gregsfortytwo/wip-pg-unsigned-warning
Yuri Weinstein [Fri, 17 Mar 2017 21:39:04 +0000 (14:39 -0700)]
Merge pull request #13922 from gregsfortytwo/wip-pg-unsigned-warning

osd: fix a signed/unsigned warning in PG

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13946 from LiumxNL/wip-170313
Yuri Weinstein [Fri, 17 Mar 2017 21:35:45 +0000 (14:35 -0700)]
Merge pull request #13946 from LiumxNL/wip-170313

osd: don't share osdmap with objecter when preboot

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13911 from liewegas/wip-bluestore-fix-flush
Sage Weil [Fri, 17 Mar 2017 18:36:42 +0000 (13:36 -0500)]
Merge pull request #13911 from liewegas/wip-bluestore-fix-flush

os/bluestore: fix bugs in bluefs and bdev flush

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #12364 from dillaman/wip-rbd-mirror-notifications
Mykola Golub [Fri, 17 Mar 2017 17:01:00 +0000 (19:01 +0200)]
Merge pull request #12364 from dillaman/wip-rbd-mirror-notifications

rbd-mirror: replace remote pool polling with add/remove notifications

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #12970 from VictorDenisov/snapshot_namespace_index
Jason Dillaman [Fri, 17 Mar 2017 16:55:48 +0000 (12:55 -0400)]
Merge pull request #12970 from VictorDenisov/snapshot_namespace_index

librbd: add SnapshotNamespace to ImageCtx

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #14019 from singler/wip-cleanup-create_new_fs
John Spray [Fri, 17 Mar 2017 16:04:07 +0000 (16:04 +0000)]
Merge pull request #14019 from singler/wip-cleanup-create_new_fs

mon/MDSMonitor: remove create_new_fs from header

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #13684 from shashalu/rgw-admin-init-bucket-for-sync
Casey Bodley [Fri, 17 Mar 2017 13:40:17 +0000 (09:40 -0400)]
Merge pull request #13684 from shashalu/rgw-admin-init-bucket-for-sync

rgw: fix init_bucket_for_sync retcode

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agomon/MDSMonitor: remove create_new_fs from header 14019/head
Henrik Korkuc [Fri, 17 Mar 2017 13:29:11 +0000 (15:29 +0200)]
mon/MDSMonitor: remove create_new_fs from header

create_new_fs was refactored and moved earlier. This removes a left
over header entry.

Signed-off-by: Henrik Korkuc <henrik@kirneh.eu>
8 years agoMerge pull request #14012 from optimistyzy/0317_2
Haomai Wang [Fri, 17 Mar 2017 10:18:05 +0000 (18:18 +0800)]
Merge pull request #14012 from optimistyzy/0317_2

bluestore,NVMEDevice: minor error for get slave core

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agobluestore,NVMEDevice: minor error for get slave core 14012/head
Ziye Yang [Fri, 17 Mar 2017 09:23:07 +0000 (17:23 +0800)]
bluestore,NVMEDevice: minor error for get slave core

The second parameter should set to 1 to skip master core.

Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
8 years agoMerge pull request #13646 from mslovy/wip-fix-test-pidfile
Loic Dachary [Fri, 17 Mar 2017 08:26:10 +0000 (09:26 +0100)]
Merge pull request #13646 from mslovy/wip-fix-test-pidfile

test: fix test_pidfile

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agotest: Invalid local variables and it is in an infinite loop 14006/head
shiqi [Fri, 17 Mar 2017 02:08:39 +0000 (10:08 +0800)]
test: Invalid local variables and it is in an infinite loop

Signed-off-by: shiqi <1454927420@qq.com>
8 years agorbd-nbd: only set size to new_size when NBD_SET_SIZE successfully. 14005/head
Pan Liu [Fri, 17 Mar 2017 01:56:37 +0000 (09:56 +0800)]
rbd-nbd: only set size to new_size when NBD_SET_SIZE successfully.

Signed-off-by: Pan Liu <liupan1111@gmail.com>
8 years agorgw_file: fix double unref on rgw_fh for rename 13988/head
Gui Hecheng [Wed, 15 Mar 2017 07:01:05 +0000 (15:01 +0800)]
rgw_file: fix double unref on rgw_fh for rename

Skip unref after unlink to fix the problem.

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
8 years agorgw: fix init_bucket_for_sync retcode 13684/head
lu.shasha [Tue, 28 Feb 2017 06:28:38 +0000 (14:28 +0800)]
rgw: fix init_bucket_for_sync retcode

init_bucket_for_sync error retcode should be negative

Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
8 years agorbd-mirror: move replayer admin socket hook to anonymous namespace 12364/head
Jason Dillaman [Wed, 15 Mar 2017 15:18:01 +0000 (11:18 -0400)]
rbd-mirror: move replayer admin socket hook to anonymous namespace

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agorbd-mirror: refresh local images after acquiring leader role
Jason Dillaman [Wed, 15 Mar 2017 15:16:24 +0000 (11:16 -0400)]
rbd-mirror: refresh local images after acquiring leader role

The local image id set should be up-to-date when attempting to
determine which images need to be deleted.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agorbd-mirror: utilize the mirroring watcher to receive update notifications
Jason Dillaman [Tue, 22 Nov 2016 18:47:37 +0000 (13:47 -0500)]
rbd-mirror: utilize the mirroring watcher to receive update notifications

Fixes: http://tracker.ceph.com/issues/15029
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agorbd-mirror: templatize Threads helper class for mock tests
Jason Dillaman [Mon, 28 Nov 2016 21:02:07 +0000 (16:02 -0500)]
rbd-mirror: templatize Threads helper class for mock tests

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13953 from linuxbox2/wip-rmdir-check
Matt Benjamin [Thu, 16 Mar 2017 20:15:23 +0000 (16:15 -0400)]
Merge pull request #13953 from linuxbox2/wip-rmdir-check

rgw_file: implement reliable has-children check (unlink dir)

8 years agoMerge pull request #13951 from smithfarm/wip-drop-obsolete-bt
Tamilarasi Muthamizhan [Thu, 16 Mar 2017 17:40:24 +0000 (10:40 -0700)]
Merge pull request #13951 from smithfarm/wip-drop-obsolete-bt

tests: drop obsolete Perl scripts

8 years agoMerge pull request #13944 from liupan1111/wip-fix-nbd-issues
Mykola Golub [Thu, 16 Mar 2017 17:18:34 +0000 (19:18 +0200)]
Merge pull request #13944 from liupan1111/wip-fix-nbd-issues

rbd-nbd: don't ignore --read-only option in BLKROSET ioctl

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #13893 from hrchu/rgw-admin-api-doc
Casey Bodley [Thu, 16 Mar 2017 16:37:43 +0000 (12:37 -0400)]
Merge pull request #13893 from hrchu/rgw-admin-api-doc

doc: Update adminops.rst

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #13688 from theanalyst/fix/rgw/http-client-dout-msg
Casey Bodley [Thu, 16 Mar 2017 16:20:20 +0000 (12:20 -0400)]
Merge pull request #13688 from theanalyst/fix/rgw/http-client-dout-msg

rgw: http_client clarify the debug msg function call

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #13985 from ebozag/master
John Wilkins [Thu, 16 Mar 2017 16:19:59 +0000 (09:19 -0700)]
Merge pull request #13985 from ebozag/master

doc: Fixes a typo.

Reviewed-by: John Wilkins <jowilkin@redhat.com>
8 years agoMerge pull request #13761 from zhangsw/cleanup-rgw-unlinkobj
Casey Bodley [Thu, 16 Mar 2017 16:19:36 +0000 (12:19 -0400)]
Merge pull request #13761 from zhangsw/cleanup-rgw-unlinkobj

rgw: correct the debug info when unlink instance failed.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw_file: remove unused rgw_key variable 13953/head
Matt Benjamin [Wed, 15 Mar 2017 20:35:16 +0000 (16:35 -0400)]
rgw_file:  remove unused rgw_key variable

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agorgw_file: rgw_readdir: return dot-dirs only when *offset is 0
Matt Benjamin [Wed, 15 Mar 2017 20:40:35 +0000 (16:40 -0400)]
rgw_file:  rgw_readdir:  return dot-dirs only when *offset is 0

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agorgw_file: implement reliable has-children check (unlink dir)
Matt Benjamin [Tue, 14 Mar 2017 01:52:08 +0000 (21:52 -0400)]
rgw_file: implement reliable has-children check (unlink dir)

Bug report and discussion provided by
Gui Hecheng <guihecheng@cmss.chinamobile.com> in nfs-ganesha upstream
github.  Briefly, while a reliable check is potentially costly,
it is necessary.

Fixes: http://tracker.ceph.com/issues/19270
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #13408 from zhangsw/fix-rgw-loglevel
Casey Bodley [Thu, 16 Mar 2017 15:37:14 +0000 (11:37 -0400)]
Merge pull request #13408 from zhangsw/fix-rgw-loglevel

rgw: change loglevel to 5 in user's quota sync.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14001 from Adirl/rdma-cm-1
Haomai Wang [Thu, 16 Mar 2017 15:14:05 +0000 (23:14 +0800)]
Merge pull request #14001 from Adirl/rdma-cm-1

msg/async/rdma: Introduce Device.{cc,h}

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #13930 from drunkard/master
Kefu Chai [Thu, 16 Mar 2017 15:05:42 +0000 (23:05 +0800)]
Merge pull request #13930 from drunkard/master

doc: fix a typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13958 from wangzhengyong/have_output
Kefu Chai [Thu, 16 Mar 2017 15:02:39 +0000 (23:02 +0800)]
Merge pull request #13958 from wangzhengyong/have_output

mon: drop useless assignment statements

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agomsg/async/rdma: Introduce Device.{cc,h} 14001/head
Amir Vadai [Wed, 15 Mar 2017 09:08:38 +0000 (11:08 +0200)]
msg/async/rdma: Introduce Device.{cc,h}

Later on, multidevice support will be added and Device class will be the
main RDMA class (instead of Infiniband as it is today).

Issue: 995322
Change-Id: I060d849de21c8f847dd11ecd3edf1ddfb79b0820
Signed-off-by: Amir Vadai <amir@vadai.me>
8 years agomsg/async/rdma: Change port num into int to be printed properly
Amir Vadai [Mon, 6 Feb 2017 17:32:27 +0000 (19:32 +0200)]
msg/async/rdma: Change port num into int to be printed properly

Issue: 995322
Change-Id: If3095f2cc257cfe110652adca4a6175644c0230e
Signed-off-by: Amir Vadai <amir@vadai.me>
8 years agoMerge pull request #13986 from dillaman/wip-19081
Mykola Golub [Thu, 16 Mar 2017 11:38:28 +0000 (13:38 +0200)]
Merge pull request #13986 from dillaman/wip-19081

librbd: image create validates that pool supports overwrites

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #13905 from yuyuyu101/wip-fix-assert
Haomai Wang [Thu, 16 Mar 2017 08:35:58 +0000 (16:35 +0800)]
Merge pull request #13905 from yuyuyu101/wip-fix-assert

msg/async/rdma: fix outstanding queuepair when destruct RDMAStack

Reviewed-by: Adir lev <adirl@mellanox.com>
8 years agolibrbd: Add snapshot namespace to snapshot-name index in ImageCtx 12970/head
Victor Denisov [Mon, 30 Jan 2017 22:04:13 +0000 (14:04 -0800)]
librbd: Add snapshot namespace to snapshot-name index in ImageCtx

The essence of this huge change is to have two keys for indexing
snap ids in ImageCtx. It used to be a map of (snap_name -> snap_id)
now it's (snap_namespace, snap_name) -> snap_id. Therefore now snapshots
can have the same name if they are in different namespaces.
All the remaining changes are a consequece of this change of
ImageCtx.snap_ids field. The only exception is: we assume that you can't
rename snapshots from GroupSnapshotNamespaces. So rename operation
always assumes UserSnapshotNamespace.

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
8 years agodoc: typo fix in rados/operations/crush-map 13930/head
Drunkard Zhang [Thu, 16 Mar 2017 01:45:04 +0000 (09:45 +0800)]
doc: typo fix in rados/operations/crush-map

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agoMerge pull request #13983 from gaurav36/bug-19273-fix-typo
Nathan Cutler [Thu, 16 Mar 2017 04:07:35 +0000 (05:07 +0100)]
Merge pull request #13983 from gaurav36/bug-19273-fix-typo

rbd: fix typo in Kernel.cc

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agolibrbd: image create validates that pool supports overwrites 13986/head
Jason Dillaman [Wed, 15 Mar 2017 18:49:13 +0000 (14:49 -0400)]
librbd: image create validates that pool supports overwrites

Fixes: http://tracker.ceph.com/issues/19081
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: clean up debug messages within image create state machine
Jason Dillaman [Wed, 15 Mar 2017 20:33:58 +0000 (16:33 -0400)]
librbd: clean up debug messages within image create state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13628 from jcsp/wip-19075
John Spray [Wed, 15 Mar 2017 21:29:48 +0000 (21:29 +0000)]
Merge pull request #13628 from jcsp/wip-19075

mds: extend 'p' auth cap to cover all vxattr stuff

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #13807 from jcsp/wip-19118
John Spray [Wed, 15 Mar 2017 21:15:43 +0000 (21:15 +0000)]
Merge pull request #13807 from jcsp/wip-19118

mds: try to avoid false positive heartbeat timeouts

8 years agodoc: Fixes a typo. 13985/head
Edwin F. Boza [Wed, 15 Mar 2017 20:21:30 +0000 (15:21 -0500)]
doc: Fixes a typo.

Signed-off-by: Edwin F. Boza <eboza@espol.edu.ec>
8 years agolibrbd: removed legacy state machine callbacks from CreateRequest
Jason Dillaman [Wed, 15 Mar 2017 18:12:35 +0000 (14:12 -0400)]
librbd: removed legacy state machine callbacks from CreateRequest

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agodoc: Fixes a typo.
Edwin F. Boza [Wed, 15 Mar 2017 18:10:27 +0000 (13:10 -0500)]
doc: Fixes a typo.

Signed-off-by: Edwin F. Boza <eboza@espol.edu.ec>
8 years agoMerge pull request #13913 from wangzhengyong/release
Sage Weil [Wed, 15 Mar 2017 18:09:33 +0000 (13:09 -0500)]
Merge pull request #13913 from wangzhengyong/release

os/bluestore/Allocator: drop unused return value in release function

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agorbd: fix typo in Kernel.cc 13983/head
Gaurav Kumar Garg [Wed, 15 Mar 2017 16:13:54 +0000 (17:13 +0100)]
rbd: fix typo in Kernel.cc

Fixes: http://tracker.ceph.com/issues/19273
Reported-by: Shinobu Kinjo <shinobu@redhat.com>
Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
8 years agoMerge pull request #13928 from oritwas/wip-rgw-19195
Casey Bodley [Wed, 15 Mar 2017 13:14:42 +0000 (09:14 -0400)]
Merge pull request #13928 from oritwas/wip-rgw-19195

rgw: use rgw_zone_root_pool for region_map like is done in hammer

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #13977 from runsisi/wip-fix-rbd-py
Jason Dillaman [Wed, 15 Mar 2017 13:07:38 +0000 (09:07 -0400)]
Merge pull request #13977 from runsisi/wip-fix-rbd-py

pybind: fix docstring for librbd Python binding

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13976 from tchaikov/wip-fix-docs-links
Kefu Chai [Wed, 15 Mar 2017 10:49:18 +0000 (18:49 +0800)]
Merge pull request #13976 from tchaikov/wip-fix-docs-links

doc: fix the links to http://ceph.com/docs

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agodoc: fix the links to http://ceph.com/docs 13976/head
Kefu Chai [Wed, 15 Mar 2017 08:24:39 +0000 (16:24 +0800)]
doc: fix the links to http://ceph.com/docs

they should point to http://docs.ceph.com/docs/master/.. instead

Fixes: http://tracker.ceph.com/issues/19090
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agopybind: fix docstring for librbd Python binding 13977/head
runsisi [Wed, 15 Mar 2017 08:36:06 +0000 (16:36 +0800)]
pybind: fix docstring for librbd Python binding

Signed-off-by: runsisi <runsisi@zte.com.cn>
8 years agoMerge pull request #13817 from ceph/wip-vstart-rgw-help
Kefu Chai [Wed, 15 Mar 2017 08:14:39 +0000 (16:14 +0800)]
Merge pull request #13817 from ceph/wip-vstart-rgw-help

vstart: add --help documentation for rgw_num

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13935 from chuang-he/fix_mutex_locker_of_compressor
Kefu Chai [Wed, 15 Mar 2017 04:28:30 +0000 (12:28 +0800)]
Merge pull request #13935 from chuang-he/fix_mutex_locker_of_compressor

compressor: fix Mutex::Locker used is not correct

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13945 from ceph/wip-selinux-psched
Kefu Chai [Wed, 15 Mar 2017 03:57:11 +0000 (11:57 +0800)]
Merge pull request #13945 from ceph/wip-selinux-psched

selinux: Allow ceph daemons to read net stats

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agovstart: --help usage for rgw_num, mgr_num, mon, mds, osd 13817/head
Ali Maredia [Mon, 6 Mar 2017 22:32:48 +0000 (17:32 -0500)]
vstart: --help usage for rgw_num, mgr_num, mon, mds, osd

Signed-off-by: Ali Maredia <amaredia@redhat.com>
8 years agoMerge pull request #13949 from cbodley/wip-15618
Casey Bodley [Tue, 14 Mar 2017 18:26:32 +0000 (14:26 -0400)]
Merge pull request #13949 from cbodley/wip-15618

rgw: clear old zone short ids on period update

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #13948 from cbodley/wip-rgw-data-sync-versioned
Casey Bodley [Tue, 14 Mar 2017 18:26:12 +0000 (14:26 -0400)]
Merge pull request #13948 from cbodley/wip-rgw-data-sync-versioned

rgw: data sync includes instance in rgw_obj_index_key

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #13586 from Liuchang0812/wip-add-override-in-rgw
Casey Bodley [Tue, 14 Mar 2017 17:39:45 +0000 (13:39 -0400)]
Merge pull request #13586 from Liuchang0812/wip-add-override-in-rgw

rgw: add override in header files mostly

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #12793 from zhangsw/fix-rgw-abortmultipart
Casey Bodley [Tue, 14 Mar 2017 16:19:00 +0000 (12:19 -0400)]
Merge pull request #12793 from zhangsw/fix-rgw-abortmultipart

rgw: AbortMultipart request returns NoSuchUpload error if the meta obj doesn't exist

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #13900 from oritwas/wip-rgw-19231
Casey Bodley [Tue, 14 Mar 2017 16:10:00 +0000 (12:10 -0400)]
Merge pull request #13900 from oritwas/wip-rgw-19231

fix upgrate from hammer when zone doesn't have zoneparams

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #13354 from Liuchang0812/wip-18828
Casey Bodley [Tue, 14 Mar 2017 14:43:32 +0000 (10:43 -0400)]
Merge pull request #13354 from Liuchang0812/wip-18828

rgw: don't return skew time error in pre-signed url

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #13798 from tchaikov/wip-brag-count-mds
Kefu Chai [Tue, 14 Mar 2017 13:17:07 +0000 (21:17 +0800)]
Merge pull request #13798 from tchaikov/wip-brag-count-mds

brag: count the number of mds in fsmap not in mdsmap

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agorbd-nbd: should set read_only when --readonly is set. 13944/head
Pan Liu [Tue, 14 Mar 2017 12:38:40 +0000 (20:38 +0800)]
rbd-nbd: should set read_only when --readonly is set.

Signed-off-by: Pan Liu <liupan1111@gmail.com>
8 years agorbd-nbd: fixed typo and format in help info.
Pan Liu [Tue, 14 Mar 2017 12:14:33 +0000 (20:14 +0800)]
rbd-nbd: fixed typo and format in help info.

Signed-off-by: Pan Liu <liupan1111@gmail.com>
8 years agoMerge branch 'wip-omap-getkeys-mds'
John Spray [Tue, 14 Mar 2017 11:51:51 +0000 (11:51 +0000)]
Merge branch 'wip-omap-getkeys-mds'

8 years agoqa/suites/fs/basic: vary omap osd-side limit
Sage Weil [Mon, 23 Jan 2017 16:56:15 +0000 (11:56 -0500)]
qa/suites/fs/basic: vary omap osd-side limit

Ensure that the omap looping paths are exercised.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomds/CDir: set sane max keys per op
Sage Weil [Fri, 20 Jan 2017 03:20:54 +0000 (21:20 -0600)]
mds/CDir: set sane max keys per op

Set default to 16384, which is > than the max frag size of 10000.  We will
loop if there are more.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomds/CDir: fetch dir omap in batches as needed
Sage Weil [Thu, 19 Jan 2017 21:54:12 +0000 (15:54 -0600)]
mds/CDir: fetch dir omap in batches as needed

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomds/SessionMap: use pmore for loading sessions
Sage Weil [Fri, 20 Jan 2017 03:18:02 +0000 (21:18 -0600)]
mds/SessionMap: use pmore for loading sessions

Keep the result size check for a while since older OSDs won't populate
the pmore field for us.  Eventually we can remove it.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13812 from idryomov/wip-krbd-feature-disable-msg
Ilya Dryomov [Tue, 14 Mar 2017 09:22:42 +0000 (10:22 +0100)]
Merge pull request #13812 from idryomov/wip-krbd-feature-disable-msg

rbd: spell out image features unsupported by the kernel

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agomon: drop useless assignment statements 13958/head
wangzhengyong [Tue, 14 Mar 2017 08:50:59 +0000 (16:50 +0800)]
mon: drop useless assignment statements

Signed-off-by: wangzhengyong@cmss.chinamobile.com
8 years agoMerge pull request #13924 from tchaikov/wip-silence-gcc-warnings
Kefu Chai [Tue, 14 Mar 2017 05:01:44 +0000 (13:01 +0800)]
Merge pull request #13924 from tchaikov/wip-silence-gcc-warnings

os/bluestore,test/ceph_test_objectstore: silence gcc warnings

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agorgw/cleanup: add override in headers 13586/head
liuchang0812 [Wed, 22 Feb 2017 09:46:46 +0000 (17:46 +0800)]
rgw/cleanup: add override in headers

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #13700 from yuyuyu101/wip-msgr-lossy
Kefu Chai [Tue, 14 Mar 2017 02:56:05 +0000 (10:56 +0800)]
Merge pull request #13700 from yuyuyu101/wip-msgr-lossy

msg/async: avoid lossy connection sending ack message

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13805 from tchaikov/wip-qa-upgrade-tiering
Josh Durgin [Mon, 13 Mar 2017 22:26:58 +0000 (15:26 -0700)]
Merge pull request #13805 from tchaikov/wip-qa-upgrade-tiering

qa/suites/upgrade: add tiering test to hammer-jewel-x

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agotests: drop obsolete Perl scripts 13951/head
Nathan Cutler [Mon, 13 Mar 2017 22:19:43 +0000 (23:19 +0100)]
tests: drop obsolete Perl scripts

None of these appear to be used by any tests currently in "master".

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #13727 from jcsp/wip-send-command
Sage Weil [Mon, 13 Mar 2017 19:59:29 +0000 (14:59 -0500)]
Merge pull request #13727 from jcsp/wip-send-command

osdc: clean up osd_command/start_mon_command interfaces

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13825 from wjwithagen/wip-wjw-stack-compat
Yuri Weinstein [Mon, 13 Mar 2017 19:58:12 +0000 (12:58 -0700)]
Merge pull request #13825 from wjwithagen/wip-wjw-stack-compat

msg/async/Stack.cc: use of pthread_setname_np() needs compat.h

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #10272 from yonghengdexin735/wip-zzz-delete=
Yuri Weinstein [Mon, 13 Mar 2017 19:57:06 +0000 (12:57 -0700)]
Merge pull request #10272 from yonghengdexin735/wip-zzz-delete=

msg/simple/Pipe:the returned value for do_recv unequal to zero

Reviewed-by: Loic Dachary <loic@dachary.org>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12578 from kylinstorage/wip-filestore-ref
Sage Weil [Mon, 13 Mar 2017 19:55:26 +0000 (14:55 -0500)]
Merge pull request #12578 from kylinstorage/wip-filestore-ref

os/filestore: avoid unnecessary copy in filestore::_do_transaction

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13894 from majianpeng/do_op_duplicated_code
Yuri Weinstein [Mon, 13 Mar 2017 19:52:27 +0000 (12:52 -0700)]
Merge pull request #13894 from majianpeng/do_op_duplicated_code

osd/PrimaryLogPG: remove duplicated code.

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
8 years agorgw: clear old zone short ids on period update 13949/head
Casey Bodley [Thu, 9 Mar 2017 20:24:08 +0000 (15:24 -0500)]
rgw: clear old zone short ids on period update

the short ids of old, removed zones were being kept in the period to
guard against hash collisions with new zones

but for a hash collision to cause a wrong object to sync, that object
would have to be uploaded simultaneously to two different zones that had
the same short id

to avoid this, we just have to prevent the period from containing two
colliding zones at the same time - we don't have to remember old zone
short ids forever

Fixes: http://tracker.ceph.com/issues/15618
Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: data sync includes instance in rgw_obj_index_key 13948/head
Casey Bodley [Mon, 13 Mar 2017 18:51:17 +0000 (14:51 -0400)]
rgw: data sync includes instance in rgw_obj_index_key

this was breaking the versioned object test in test_multi.py, because we
were trying to create delete markers instead of unlinking a specific
object instance

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoselinux: Allow ceph daemons to read net stats 13945/head
Boris Ranto [Mon, 13 Mar 2017 16:51:45 +0000 (17:51 +0100)]
selinux: Allow ceph daemons to read net stats

Fixes: http://tracker.ceph.com/issues/19254
Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoMerge pull request #13919 from dillaman/wip-19256
Mykola Golub [Mon, 13 Mar 2017 16:26:52 +0000 (18:26 +0200)]
Merge pull request #13919 from dillaman/wip-19256

rbd: prevent adding multiple mirror peers to a single pool

Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoosd: don't share osdmap with objecter when preboot 13946/head
Mingxin Liu [Mon, 13 Mar 2017 15:41:58 +0000 (23:41 +0800)]
osd: don't share osdmap with objecter when preboot

Signed-off-by: Mingxin Liu <mingxin@xsky.com>
8 years agoMerge pull request #12264 from cbodley/wip-rgw-print-is-admin
Casey Bodley [Mon, 13 Mar 2017 14:27:49 +0000 (10:27 -0400)]
Merge pull request #12264 from cbodley/wip-rgw-print-is-admin

rgw: print is_admin as int instead of __u8

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #13722 from dachary/wip-crush-doc
Loic Dachary [Mon, 13 Mar 2017 14:07:47 +0000 (15:07 +0100)]
Merge pull request #13722 from dachary/wip-crush-doc

crush: document tunables and rule step set_

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agocrush: document tunables and rule step set_ 13722/head
Loic Dachary [Thu, 2 Mar 2017 21:18:37 +0000 (22:18 +0100)]
crush: document tunables and rule step set_

Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agocompressor: fix Mutex::Locker used is not correct 13935/head
hechuang [Mon, 13 Mar 2017 07:25:37 +0000 (15:25 +0800)]
compressor: fix Mutex::Locker used is not correct

Signed-off-by: hechuang <hechuang@xsky.com>