]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agomon/Monitor.h: add const to member functions 10412/head
Michal Jarzabek [Sat, 23 Jul 2016 12:57:50 +0000 (13:57 +0100)]
mon/Monitor.h: add const to member functions

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agoMerge pull request #13923 from xiexingguo/wip-clean-pglog-t
Yuri Weinstein [Mon, 20 Mar 2017 20:05:54 +0000 (13:05 -0700)]
Merge pull request #13923 from xiexingguo/wip-clean-pglog-t

OSD: drop parameter t from merge_log()

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #13938 from jimmyway/wip-chg-return-value-to-refs
Yuri Weinstein [Mon, 20 Mar 2017 20:04:44 +0000 (13:04 -0700)]
Merge pull request #13938 from jimmyway/wip-chg-return-value-to-refs

osd: replace object_info_t::operator=() with decode()

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13980 from majianpeng/filejournal-bufferlist-rebuild
Yuri Weinstein [Mon, 20 Mar 2017 20:03:58 +0000 (13:03 -0700)]
Merge pull request #13980 from majianpeng/filejournal-bufferlist-rebuild

os/filestore/FileJournal: bufferlist rebuild

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13535 from dongbula/add-rgw-finisher-to-perfcounter
Sage Weil [Mon, 20 Mar 2017 15:20:48 +0000 (10:20 -0500)]
Merge pull request #13535 from dongbula/add-rgw-finisher-to-perfcounter

rgw: add radosclient finisher to perf counter

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #13955 from wangzhengyong/notify_finish
Casey Bodley [Mon, 20 Mar 2017 14:25:39 +0000 (10:25 -0400)]
Merge pull request #13955 from wangzhengyong/notify_finish

rgw: handle error return value in build_linked_oids_index

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #13820 from mikulely/cleanup-rgw-lc
Casey Bodley [Mon, 20 Mar 2017 14:25:14 +0000 (10:25 -0400)]
Merge pull request #13820 from mikulely/cleanup-rgw-lc

rgw: cleanup lifecycle managament

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #13481 from theanalyst/rgw/env-dout
Casey Bodley [Mon, 20 Mar 2017 14:20:43 +0000 (10:20 -0400)]
Merge pull request #13481 from theanalyst/rgw/env-dout

rgw: don't log the env_map twice

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #13895 from guihecheng/rgw_file-fix
Matt Benjamin [Mon, 20 Mar 2017 13:54:02 +0000 (09:54 -0400)]
Merge pull request #13895 from guihecheng/rgw_file-fix

rgw_file: fix reversed return value of getattr

8 years agoMerge pull request #14045 from guihecheng/rgw_file-fix-retcode
Matt Benjamin [Mon, 20 Mar 2017 13:44:18 +0000 (09:44 -0400)]
Merge pull request #14045 from guihecheng/rgw_file-fix-retcode

rgw_file: fix non-negative return code for open operation

8 years agoMerge pull request #14049 from yangdongsheng/rbd_cleanup
Jason Dillaman [Mon, 20 Mar 2017 13:37:41 +0000 (09:37 -0400)]
Merge pull request #14049 from yangdongsheng/rbd_cleanup

cleanup: rbd: fix a typo in comment

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13936 from ZVampirEM77/cleanup-rgw-doc
Kefu Chai [Mon, 20 Mar 2017 07:49:08 +0000 (15:49 +0800)]
Merge pull request #13936 from ZVampirEM77/cleanup-rgw-doc

doc: fix typos in radosgw-admin usage

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13559 from voidbag/wip-fix-_open_super_meta
Kefu Chai [Mon, 20 Mar 2017 07:32:28 +0000 (15:32 +0800)]
Merge pull request #13559 from voidbag/wip-fix-_open_super_meta

os/bluestore: fix bug in _open_super_meta()

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13718 from aclamk/wip-bs-indexed-bitshift
Kefu Chai [Mon, 20 Mar 2017 07:31:10 +0000 (15:31 +0800)]
Merge pull request #13718 from aclamk/wip-bs-indexed-bitshift

os/bluestore: cleanup, got rid of table reference of 1<<x

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13769 from wangzhengyong/wip-noid
Kefu Chai [Mon, 20 Mar 2017 07:30:29 +0000 (15:30 +0800)]
Merge pull request #13769 from wangzhengyong/wip-noid

os/bluestore: "noid" is not always necessary in clone op

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13804 from xiaoxichen/fix_adminsocket
Kefu Chai [Mon, 20 Mar 2017 07:28:58 +0000 (15:28 +0800)]
Merge pull request #13804 from xiaoxichen/fix_adminsocket

pybind/ceph_daemon: use small chunk for recv

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13814 from liupan1111/wip-fix-remove-when-full
Kefu Chai [Mon, 20 Mar 2017 07:28:01 +0000 (15:28 +0800)]
Merge pull request #13814 from liupan1111/wip-fix-remove-when-full

rados: allow "rados purge" to delete objects when osd is full

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13822 from Liuchang0812/wip-event-center-bug
Kefu Chai [Mon, 20 Mar 2017 07:26:54 +0000 (15:26 +0800)]
Merge pull request #13822 from Liuchang0812/wip-event-center-bug

msg/async: fix crash that writing char to nonblock-fd gets EAGAIN in EventCenter::wakeup

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #13853 from tchaikov/wip-19134
Kefu Chai [Mon, 20 Mar 2017 07:25:34 +0000 (15:25 +0800)]
Merge pull request #13853 from tchaikov/wip-19134

mon/MonClient: don't return zero global_id

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #13899 from jcsp/wip-19245
Yan, Zheng [Mon, 20 Mar 2017 06:49:48 +0000 (14:49 +0800)]
Merge pull request #13899 from jcsp/wip-19245

mds: fix handling very fast delete ops

8 years agoMerge pull request #14007 from badone/wip-api-doc-code-fixes
Kefu Chai [Mon, 20 Mar 2017 04:12:28 +0000 (12:12 +0800)]
Merge pull request #14007 from badone/wip-api-doc-code-fixes

docs: Fix problems with example code

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14028 from tchaikov/wip-kill-gcc-warning
Kefu Chai [Mon, 20 Mar 2017 04:05:36 +0000 (12:05 +0800)]
Merge pull request #14028 from tchaikov/wip-kill-gcc-warning

os/bluestore: silence gcc warning

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #13969 from tchaikov/wip-ceph-disk-manpage-formatting
Kefu Chai [Mon, 20 Mar 2017 04:04:05 +0000 (12:04 +0800)]
Merge pull request #13969 from tchaikov/wip-ceph-disk-manpage-formatting

man/8/ceph-disk: fix formatting

Reviewed-by: Loic Dachary <ldachary@redhat.com>
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 agoos/bluestore: silence gcc warning 14028/head
Kefu Chai [Sat, 18 Mar 2017 08:39:27 +0000 (16:39 +0800)]
os/bluestore: silence gcc warning

src/os/bluestore/BitAllocator.h:410:8: warning: ‘virtual bool
BitMapAreaIN::child_check_n_lock(BitMapArea*, int64_t, bool)’ was
hidden    [-Woverloaded-virtual]
 bool child_check_n_lock(BitMapArea *child, int64_t required, bool
lock) {
      ^~~~~~~~~~~~~~~~~~
 /var/ceph/ceph/src/os/bluestore/BitAllocator.h:489:8: warning:   by
 ‘BitMapAreaLeaf::child_check_n_lock’ [-Woverloaded-virtual]
  bool child_check_n_lock(BitMapZone* child, int64_t required, bool
  lock);
       ^~~~~~~~~~~~~~~~~~

Signed-off-by: Kefu Chai <kchai@redhat.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 agodoc: fix typos in common/config_opts.h comments 13820/head
Jiaying Ren [Thu, 16 Mar 2017 03:20:12 +0000 (11:20 +0800)]
doc: fix typos in common/config_opts.h comments

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
8 years agorgw: kill dead lc config options
Jiaying Ren [Wed, 15 Mar 2017 14:03:15 +0000 (22:03 +0800)]
rgw: kill dead lc config options

+ rgw_lifecycle_enabled is redundant with rgw_enable_lc_threads,which is
  wildly used.
+ rgw_lifecycle_thread is never used.

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
8 years agorgw: cleanup redundant file include for lc
Jiaying Ren [Wed, 15 Mar 2017 08:30:24 +0000 (16:30 +0800)]
rgw: cleanup redundant file include for lc

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
8 years agodocs: Fix problems with example code 14007/head
Brad Hubbard [Fri, 17 Mar 2017 06:12:41 +0000 (16:12 +1000)]
docs: Fix problems with example code

Current code generates warnings and, in some cases, doesn't compile.

Signed-off-by: Brad Hubbard <bhubbard@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 agocleanup: rbd: fix a typo in comment 14049/head
Dongsheng Yang [Thu, 16 Mar 2017 12:48:11 +0000 (20:48 +0800)]
cleanup: rbd: fix a typo in comment

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
8 years agoos/filestore/FileJournal: Only write w/ directio fail, it check bufferlist whether... 13980/head
Jianpeng Ma [Thu, 16 Mar 2017 12:25:30 +0000 (20:25 +0800)]
os/filestore/FileJournal: Only write w/ directio fail, it check bufferlist whether align.

Move check bufferlist align into after direct-write which met error. Because check_align basilly
don't met error.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agoos/filestore/FileJournal: change func align_bl to check_align.
Jianpeng Ma [Thu, 16 Mar 2017 12:04:08 +0000 (20:04 +0800)]
os/filestore/FileJournal: change func align_bl to check_align.

In fact, this function only check bufferlist whether size&address aling.
It don't do any retune work. So change name to check_align.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agoos/filestore: Only directio mode, it do bufferlist::rebuild_align.
Jianpeng Ma [Thu, 16 Mar 2017 11:51:55 +0000 (19:51 +0800)]
os/filestore: Only directio mode, it do bufferlist::rebuild_align.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
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 agoosd: delete the copy assignment operator, replace it to decode() 13938/head
tang.jin [Thu, 16 Mar 2017 11:31:43 +0000 (19:31 +0800)]
osd: delete the copy assignment operator, replace it to decode()

Signed-off-by: tang.jin <tang.jin@istuary.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 agorgw: remove unnecessary file include
Jiaying Ren [Tue, 7 Mar 2017 04:07:44 +0000 (12:07 +0800)]
rgw: remove unnecessary file include

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
8 years agorgw: cleanup RGWPutLC::execute log msg
Jiaying Ren [Tue, 7 Mar 2017 03:50:48 +0000 (11:50 +0800)]
rgw: cleanup RGWPutLC::execute log msg

Format it same as "New LifecycleConfiguration:" to simplify log parsing.

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
8 years agorgw: fix RGWGetLC Op capacity from write to read
Jiaying Ren [Tue, 7 Mar 2017 03:47:23 +0000 (11:47 +0800)]
rgw: fix RGWGetLC Op capacity from write to read

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.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 agorgw: cleanup err log msg in RGWDeletePut Op
Jiaying Ren [Tue, 7 Mar 2017 03:38:50 +0000 (11:38 +0800)]
rgw: cleanup err log msg in RGWDeletePut Op

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
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 agoman/8/ceph-disk: fix formatting 13969/head
Kefu Chai [Wed, 15 Mar 2017 05:50:05 +0000 (13:50 +0800)]
man/8/ceph-disk: fix formatting

so the "optional argument" and "subcommands" subsections can be more
consistent with other man pages in ceph.

Signed-off-by: Kefu Chai <kchai@redhat.com>