Erwan Velu
9ae89269f8
ceph-helpers: Delete remaining subvolumes on destroy_osd()
...
Before deleting $dir/$id, we have to delete the associated subvolumes unless the
rm will fail.
Signed-off-by: Erwan Velu <erwan@redhat.com>
2016-02-25 16:46:49 +01:00
Erwan Velu
cd0389ddb1
ceph-helpers.sh: Deleting forgoten btrfs subvolumes
...
While running a make check on a btrfs system, many subvolumes are let at the end
of the build. It's pretty common to have several hundreds of those.
btrfs is pretty sensible to the path when requesting a subvolume removal.
The current code was misleading the path and didn't deleted the remaining
volumes.
This patch list the current subvolumes, filter thoses created by the
test process and ajust the path because brtfs reports
erwan/chroot/ceph/src/testdir/test-7202/dev/osd1/snap_439
while regarding the current working directory we want to delete :
testdir/test-7202/dev/osd1/snap_439
Signed-off-by: Erwan Velu <erwan@redhat.com>
2016-02-25 15:33:10 +01:00
Jason Dillaman
dc5a9053ce
Merge pull request #7649 from yuyuyu101/wip-async-watch
...
librados: implement async watch/unwatch
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-23 23:41:03 -05:00
Josh Durgin
0b56c5e550
Merge pull request #7761 from dillaman/wip-14847
...
librbd: fix state machine race conditions during shut down
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-02-23 18:07:12 -08:00
Haomai Wang
7109de7b80
RadosClient: call watch_flush before finisher stop
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-24 09:29:05 +08: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
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
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
Jason Dillaman
289403df3c
Merge pull request #7738 from trociny/test-librbd-poolname
...
test: create pools for rbd tests with different prefix
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-22 12:36:01 -05:00
Sage Weil
dd478ffeff
Merge pull request #7727 from jmunhoz/ceph-fix-14829
...
vstart.sh: avoid race condition starting rgw via vstart.sh
Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-22 12:29:47 -05:00
Jason Dillaman
93f255c988
Merge pull request #7614 from trociny/wip-rbd-mirroring-image-reply
...
rbd-mirror: implement ImageReplayer
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-22 11:47:49 -05:00
Loic Dachary
ebc7a92f18
Merge pull request #7744 from dachary/wip-14838-ceph-disk-dmcrypt
...
ceph-disk: s/dmcrpyt/dmcrypt/
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2016-02-22 23:07:35 +07:00
Loic Dachary
ef6aafa854
ceph-disk: s/dmcrpyt/dmcrypt/
...
http://tracker.ceph.com/issues/14838 Fixes : #14838
Signed-off-by: Frode Sandholtbraaten <fsa@basefarm.no>
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-02-22 23:02:46 +07:00
Kefu Chai
838b367529
Merge pull request #7688 from tchaikov/wip-14788
...
buffer: hide iterator_impl symbols
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-22 22:42:41 +08:00
Mykola Golub
83da093637
test: create pools for rbd tests with different prefix
...
This makes easier to find out what test fails to cleanup.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-22 09:37:36 +02:00
Loic Dachary
b8131f893a
Merge pull request #7723 from tchaikov/wip-rgw-test
...
test/radosgw-admin: update the expected usage outputs
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-02-22 12:44:14 +07:00
Haomai Wang
ad44b5eacb
test_rados_watch_notify: add async_watch_flush tests
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-22 09:27:33 +08:00
Kefu Chai
847c3eba41
Merge pull request #7647 from yuyuyu101/wip-spdk
...
NVMEDevice: refactor probe/attach codes and support zero command
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-21 19:30:25 +08:00
Mykola Golub
8d27e99b0a
test: more debug for TestWatchNotify
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-21 13:10:52 +02:00
Haomai Wang
4c0f6a3b9a
NVMEDevice: accept spdk api name changes
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:43:02 +08:00
Haomai Wang
4602f1ba8a
spdk: update spdk submodule to accept new interface changes
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:38:11 +08:00
Haomai Wang
feaa457336
NVMEDevice: add default constructor for Task and clean up
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:33:24 +08:00
Haomai Wang
7ef2f4aab3
NVMEDevice: only activate zero command when backend supported
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:30:55 +08:00
Haomai Wang
b5cdc33250
BlockDevice: detect symbol file basename
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:27:10 +08:00
Haomai Wang
d208668d57
BlueStore: fix spdk link file create failed
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:23:54 +08:00
Haomai Wang
84a36a0a29
NVMEDevice: fix atomic and lock changes
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:23:46 +08:00
Haomai Wang
4f868ee49e
NVMEDevice: use nvme_probe to simply init
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:22:12 +08:00
Haomai Wang
61ef7d4ea0
spdk: update spdk submodule
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-21 18:18:52 +08:00