Commit Graph

50214 Commits

Author SHA1 Message Date
Mykola Golub
e688a44e35 cls_rbd: async version of dir_get_name
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-23 22:23:21 +02:00
Matt Benjamin
cc9907296f cmake: fix paths & make object libs of various EC files
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-02-23 15:09:34 -05:00
Yehuda Sadeh
635ae88a19 Merge pull request #7632 from zaitcev/cleanup-dead-code-3
rgw: Drop unused usage_exit from rgw_admin.cc

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-02-23 11:44:50 -08:00
Yehuda Sadeh
06681eddc9 Merge pull request #7285 from magicrobotmonkey/patch-1
Increase verbosity level on RGWObjManifest line

Reviewed-by: Yehuda Saeh <yehuda@redhat.com>
2016-02-23 11:25:38 -08:00
Yehuda Sadeh
a6538d40f9 Merge pull request #7618 from zaitcev/wip-5073-subuser-bis
rgw: Fix subuser harder with tenants

Reviewed-y: Yehuda Sadeh <yehuda@redhat.com>
2016-02-23 11:23:16 -08:00
Sage Weil
933ae4ca9e Merge pull request #7763 from dachary/wip-releases
doc: fix 0.94.4 and 0.94.5 ordering
2016-02-23 13:18:00 -05:00
Jason Dillaman
a1a0e96c3d Merge pull request #7364 from javenwu/master
common: default cluster name to config file prefix

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-23 13:17:52 -05:00
Jason Dillaman
89878e8f2d Merge pull request #7548 from yuyuyu101/librbd-avoid-memcpy
librbd: reduce mem copies to user-buffer during read

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-23 13:15:29 -05:00
Jason Dillaman
76dc44713d Merge pull request #7667 from jdurgin/wip-14780
Revert "librbd: use task finisher per CephContext"

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-23 13:14:23 -05:00
Haomai Wang
7b3334ac68 Merge pull request #7625 from branch-predictor/bp-async-more
msg/async: smarter MSG_MORE

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-02-24 01:30:34 +08:00
Loic Dachary
dafe0d9773 doc: fix 0.94.4 and 0.94.5 ordering
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-02-24 00:13:53 +07:00
Casey Bodley
479366a584 Merge pull request #7760 from theanalyst/fix/rgw-fcgi-build
rgw: fcgi should include acconfig
2016-02-23 11:02:03 -05:00
Jason Dillaman
e67099d036 librbd: deterministically unblock writes on snap set
Previously this was handled in the state machine's destructor,
but that can lead to nondeterministic behavior due to interactions
between threads.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-02-23 10:59:09 -05:00
Jason Dillaman
514519a69f librbd: avoid close race-condition within ImageState
The lock was previously unlocked/locked to avoid lock cycles. This
creates an issue when closing the image because the another thread
might have already deleted the ImageState before the lock could be
re-locked.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-02-23 10:53:13 -05:00
Abhishek Lekshmanan
f3fc6b15fd rgw: fcgi should include acconfig
As it references FASTCGI_INCLUDE_DIR which is referenced from it

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-02-23 16:39:06 +01:00
Sage Weil
c7c1d281db doc/release-notes: v0.94.6 final notes
Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-23 10:35:34 -05:00
Sage Weil
de0be8af45 Merge pull request #7689 from dachary/wip-release-notes
release-notes: draft v0.94.6 release notes
2016-02-23 10:29:53 -05:00
Piotr Dałek
c5a6b6a5ae msg/async: cut the middle-man
Get rid of complete_bl and let messenger write directly to outcoming_bl of
a connection. Also, if message bufferlist is small enough, append its
contents to outcoming_bl directly, so we'll use less iovecs and in best
case, pack entire message (together with header and footer added in
write_message()) in single bufferptr.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
2016-02-23 15:52:42 +01:00
Haomai Wang
bd89343865 Merge pull request #7725 from ceph/wip-fix-async-valgrind
AsyncMessenger: fix valgrind leak
2016-02-23 22:19:34 +08:00
Kefu Chai
dd17b51367 Merge pull request #7758 from dachary/wip-ceph-disk-prepare-help
ceph-disk: fix prepare --help

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-23 21:11:18 +08:00
Loic Dachary
4a61793c5b ceph-disk: fix prepare --help
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-02-23 18:56:07 +07:00
Kefu Chai
0ae120dbd0 Merge pull request #7756 from dachary/wip-ceph-disk-args
ceph-disk: deactivate / destroy PATH arg are optional

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-23 19:12:08 +08:00
Loic Dachary
ac241ab441 ceph-disk: deactivate / destroy PATH arg are optional
And the mandatory positional arguments need not be == 1, it is enough to
leave the nargs parameter out.

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-02-23 16:16:47 +07:00
Mykola Golub
103eee4d13 test: image_replay: use flush to speedup commit position update
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-23 09:25:53 +02:00
Mykola Golub
9572d27a52 rbd-mirror: add asok commands to get image replyer status and flush
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-23 09:25:45 +02:00
Mykola Golub
1a6dfa4621 rbd-mirror: store sync snapshot name in registered client
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-23 09:25:37 +02:00
Mykola Golub
79dcef2794 librbd: add field to MirrorPeerClientMeta to store snap name
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-23 09:25:31 +02:00
Mykola Golub
e92b45278c rbd-mirror: ImageReplayer: pass registered client ID as external param
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-23 09:25:20 +02:00
Loic Dachary
4bb184f1e3 Merge pull request #7687 from yangdongsheng/ceph-disk_nargs
ceph-disk: make some arguments as required if necessary

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-02-23 12:08:46 +07:00
Sage Weil
e9a4cd13ad Merge pull request #7640 from batrick/vstart-btrfs-missing
vstart.sh: silence a harmless msg where btrfs is not found

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-22 21:59:28 -05:00
xie xingguo
9be35bca7a BlueStore: add sanity check for type during mount
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 10:35:51 +08:00
xie xingguo
dc9aba1c6f BlueStore: fix type mismatch for openat syscall
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 10:35:51 +08:00
xie xingguo
204a96ca89 BlueStore: add sanity check for attr removal
So we don't bother to start a real trans if it is a noop.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 10:35:50 +08:00
xie xingguo
468b64a047 BlueStore: remove unused local variables
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 10:35:50 +08:00
xie xingguo
1e53e5b8fb BlueStore: remove redundant continue
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 09:26:14 +08:00
xie xingguo
a8435690ec BlueStore: fix typo
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 09:26:14 +08:00
xie xingguo
f99bf344a7 BlueStore: fix obsolete comment
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 09:26:14 +08:00
xie xingguo
bc320eba4e BlueStore: remove unused member fs
We use internal blue-fs for such support.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 09:26:14 +08:00
xie xingguo
0f8bf7d004 BlueStore: add result check for _do_remove
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 09:26:14 +08:00
xie xingguo
98b2d83b38 BlueStore: add result check logic for _do_truncate
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 09:26:14 +08:00
xie xingguo
a906019d35 BlueStore: set existence for new onode in a proper way during write
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 09:26:14 +08:00
xie xingguo
73d86b36ef BlueStore: simplify cow allocation for head and tail a little
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 09:26:14 +08:00
xie xingguo
d01a39e212 BlueStore: optimize head check logic
For the sake of performance.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 09:26:14 +08:00
xie xingguo
26db0588b0 BlueStore: simplify put logic a little
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 09:26:14 +08:00
xie xingguo
4b673ee263 KStore: fix return type of _txc_add_transaction
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 09:26:13 +08:00
xie xingguo
73f35f114b BlueStore: fix return type of _txc_add_transaction
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 09:26:13 +08:00
xie xingguo
00d40e2467 BlueStore: avoid create the dest onode in advance
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 09:26:13 +08:00
xie xingguo
5e55c13323 BlueStore: remove unused member dirty of onode
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-23 09:26:13 +08:00
Jason Dillaman
89764124b3 Merge pull request #7737 from trociny/wip-librados_test_stub-debug
test: more debug logging for TestWatchNotify

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-22 12:37:33 -05:00
Sage Weil
b9a4b977a3 Merge pull request #7714 from SUSE/wip-qa-typo
doc: standardize @param (not @parma, @parmam, @params)

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-02-22 12:36:42 -05:00