Sage Weil
fb1c16f594
Merge pull request #9378 from xiexingguo/xxg-wip-fix-piderrorcode
...
global: negative error return code for pidfh::write()
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-15 15:04:42 -04:00
Sage Weil
2fd1390f48
Merge pull request #9397 from xiexingguo/xxg-wip-fixsocketfd-leak
...
common/admin_socket: fix socket fd leak
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-15 15:04:26 -04:00
Matt Benjamin
0328fd8b70
Merge pull request #8679 from prallabh/master
...
rgw: Have a flavor of bucket deletion to bypass GC.
it gets the OSDs substantially hotter (CPU), but is a large speedup (I measured 54% on a small setup, some distortion from debugging)
2016-06-15 11:09:35 -04:00
Haomai Wang
40c5679ef0
TaskFinisher: cancel all tasks wait until finisher done
...
Otherwise, caller may think pending task won't be executed but actually
finisher may execute callback which may cause refer to freed object.
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-06-15 22:24:37 +08:00
Igor Fedotov
5a7a5e4404
os/bluestore: fix exceeding blob number after random 4K writes
...
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-06-15 17:07:14 +03:00
Igor Fedotov
a3f4689c32
test/store_test: add an additional bluestore test case to verify for exceeding blob number
...
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-06-15 17:05:41 +03:00
Kefu Chai
5dd043099e
Merge pull request #9666 from ceph/wip-ceph_test_objectstore
...
test: ceph_test_objectstore: do not override plugin-dir if not necessary
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-06-15 21:39:08 +08:00
Kefu Chai
ed19466b9f
vstart.sh: set plugin-dir for cmake
2016-06-15 21:23:40 +08:00
Kefu Chai
9c4d1beca1
test: ceph_test_objectstore: do not override plugin-dir if not necessary
...
there is chance that we launch the test with the plugins installed in
`/usr/${lib}/ceph'. and we don't have ".lib" or $CEPH_LIB for
ceph_test_objectstore, in this case, we should leave plugin-dir
unchanged. it will work just fine if ceph-base or ceph-common is
installed.
Fixes: http://tracker.ceph.com/issues/16254
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-06-15 21:23:40 +08:00
Jason Dillaman
321824d3f7
qa/workunits: rados cppool now requires --yes-i-really-really-mean-it
...
Fixes: http://tracker.ceph.com/issues/16202
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-15 09:05:05 -04:00
Jason Dillaman
7833e5c468
Merge pull request #9709 from trociny/wip-16289
...
qa/workunits/rbd: respect RBD_CREATE_ARGS environment variable
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-15 08:54:10 -04:00
Igor Fedotov
99b5b83e73
os/bluestore: fixes assert on unaligned writes when csum verification is disabled
...
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-06-15 14:57:10 +03:00
Loic Dachary
02d27da0c9
Merge pull request #9442 from houlinfei/wip-modify-parlistseq
...
ceph-disk: modify the disk partition sequence of ceph-disk list
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-06-15 13:56:26 +02:00
Igor Fedotov
cc5ac8c4cc
objectstore/store_test: improves test coverage for Bluestore - adds no csum and many 4K writes cases. Fix corresponding issues in testing framework.
...
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-06-15 14:56:03 +03:00
Orit Wasserman
f93bbc94f8
Merge pull request #9354 from dreamhost/wip-15975
...
rgw: Fallback to Host header for bucket name.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-06-15 11:42:09 +02:00
John Spray
c18217b5d0
Merge pull request #9681 from xiexingguo/xxg-wip-server_ts
...
server: set terminating_sessions flag correctly
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-15 09:45:43 +01:00
John Spray
5138ad16ff
Merge pull request #9693 from xiexingguo/xxg-wip-server_hco2
...
server: negative error code when responding to client
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-15 09:38:17 +01:00
John Spray
c8676ebb8e
Merge pull request #9472 from xiexingguo/xxg-wip-fix-divisionbyzero
...
mds: fix potential division-by-zero error
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-15 09:37:11 +01:00
John Spray
f8a87bb6e5
Merge pull request #9445 from xiexingguo/xxg-wip-fix-mdsmemoryleak
...
mds: avoid duplicated call of context; fix potential memory leak
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-15 09:36:26 +01:00
John Spray
b2aedf8a07
Merge pull request #9494 from renhwztetecs/renhw-wip-cdir-total
...
mds/cdir: fix the type of dentry in the judgment; cleanup undefined functions
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-15 09:34:16 +01:00
John Spray
64918e8be3
Merge pull request #9649 from xiexingguo/xxg-wip-server_hco
...
server: return after respond_to_request() for EROFS
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-15 09:33:11 +01:00
Sage Weil
a7b263fa3f
Merge pull request #8218 from jupiturliu/kstore_r/w_flush
...
os/kstore: we have flush_txns is to make sure read after write
Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-15 04:31:56 -04:00
xie xingguo
f9145f9ef1
server: drop locks and auth pins before waiting for trunc
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-15 16:27:24 +08:00
Sage Weil
1f79a97160
Merge pull request #9639 from jjhuo/rocksdb-directio
...
os/bluestore: Add an option to choose bluefs direct or buffered io mode
Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-15 04:25:15 -04:00
Sage Weil
b11302fd44
doc/release-notes: v10.2.2
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-15 04:18:23 -04:00
xie xingguo
3850bbf030
Server: avoid duplicated call to acquire_locks()
...
For snapped case we may call acquire_locks() twice,
which is not necessary.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-15 15:04:49 +08:00
Mykola Golub
3048d3c7ce
qa/workunits/rbd: respect RBD_CREATE_ARGS environment variable
...
Fixes: http://tracker.ceph.com/issues/16289
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-06-15 08:53:13 +03:00
xie xingguo
7344d97429
Server: use req directly
...
We have req pointed to mdr->client_request already, so use
it directly to keep the bothering of a long dereference series of
pointer(which also results in a longer line) away.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-15 11:40:37 +08:00
xie xingguo
a9c7cfa56c
mds/Mutation: avoid side-effect of slave_did_prepare() method
...
We shall check _more does exist first.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-15 11:40:37 +08:00
xie xingguo
d1d720620b
mds/Mutation: use c++11-style null pointer check
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-15 11:40:24 +08:00
Zhi Zhang
92154c80a4
Ceph status outputs mds slow request for better monitoring
...
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
2016-06-15 11:28:34 +08:00
Kefu Chai
cbc3089aed
script/make_rocksdb_makefile.sh: do not include rocksdb/tools/rdb/*
...
Fixes: http://tracker.ceph.com/issues/13554
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-06-15 11:26:41 +08:00
xie xingguo
fc6d0656de
server: avoid side-effect of assert
...
The more() method will implicitly allocate a new internal _more memeber
if it does not have and we shall avoid this.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-15 10:16:13 +08:00
Yan, Zheng
339176e40e
Merge pull request #9697 from jcsp/wip-16298
...
mds: fix MDLog recovery rare case
2016-06-14 21:02:54 -05:00
Josh Durgin
b9fd29f267
Merge pull request #9705 from dillaman/wip-librados-compat
...
librados: restore ability to compile against librados
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-06-14 18:58:26 -07:00
Jason Dillaman
edbc47222d
librados: restore ability to compile against librados
...
Partial revert of 62be9268de
which
added a new header dependency which was is not part of the librados
API.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-14 20:56:39 -04:00
Jason Dillaman
9988ad7018
Merge pull request #9093 from zhouyuan/journaling_flush_skip_cache
...
librbd: do not flush rbd cache if journaling is enabled
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-14 20:30:43 -04:00
Yuan Zhou
f2def83b7a
rbd: Skip rbd cache flush if journaling is enabled under aio_flush
...
With journaling rbd writes will be persisteted on rbd journal objects.
The journal will be replayed if crash happen. So it's not necessary to
flush rbd_cache in this case. This will improve the flush latency.
This patch adds checking on handling aio_flush: if journaling is
enabled, rbd cache flushing is skipped.
In a system flush(ImageCtx::flush) the cache is flushed even w/ journaling
where we truly do need to flush all IO out to disk.
Fixes: http://tracker.ceph.com/issues/15761
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2016-06-15 08:02:03 +08:00
Matt Benjamin
54b6c99f8f
Merge pull request #7741 from rjfd/wip-14527
...
Lookup monitors through DNS, feature #7741
verified in teuthology (we had 8 failures that appear unrelated to this change)
2016-06-14 15:38:03 -04:00
Kefu Chai
281e74daa0
Merge pull request #9602 from tchaikov/wip-ceph_test_cls_hello
...
test: fix ceph_test_cls_hello test
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-15 01:15:47 +08:00
John Spray
40547be1ef
Merge pull request #9572 from xiexingguo/xxg-wip-fix-ll_read_block
...
client: fix wrong lock logic of ll_read_block() method
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-14 17:44:23 +01:00
John Spray
acec1f1fd2
Merge pull request #9586 from xiexingguo/xxg-wip-fix_write
...
client: add check for _lseek() during _write() process
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-14 17:43:34 +01:00
John Spray
5f22e00050
Merge pull request #9583 from xiexingguo/xxg-wip-fix_preadv_pwritev
...
client: fix potential access violation
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-14 17:42:50 +01:00
John Spray
67dd8e7cc6
Merge pull request #5521 from ceph/wip-12653
...
ceph-fuse: fuse_disable_pagecache
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-14 17:29:49 +01:00
John Spray
ed2928dc08
Merge pull request #9590 from xiexingguo/xxg-wip-fix-make_request
...
client: fix error process if we fail to choose a target mds
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-14 17:26:44 +01:00
John Spray
c232840321
Merge pull request #9537 from xiexingguo/xxg-wip-fix-clientmemoryleak
...
client: fix potential memory leak
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2016-06-14 17:26:01 +01:00
John Spray
7051321fc6
Merge pull request #9447 from ukernel/wip-mds-snap-fix
...
mds: fix SnapRealm::have_past_parents_open()
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-14 17:23:33 +01:00
John Spray
84aa28aaa0
mds: fix MDLog recovery rare case
...
This handled the case where one daemon
saw a log that was partially rewritten
by another. It was calling the context
incorrectly (without mds_lock held)
Fixes: http://tracker.ceph.com/issues/16298
Signed-off-by: John Spray <john.spray@redhat.com>
2016-06-14 17:21:31 +01:00
Matt Benjamin
34734ced69
Merge pull request #9540 from Yan-waller/yj-wip-rgwsystemobj
...
rgw/rados: remove meaningless assignment operation
since the removed variable (manifest_bl) is indeed unused, this change cannot have any side effect
2016-06-14 10:28:47 -04:00
Matt Benjamin
4bb98f578f
Merge pull request #9689 from jmunhoz/aws4-streaming-fix-bs
...
rgw: aws4: fix buffer sharing issue with chunked uploads
verfified (by hand)
2016-06-14 10:06:11 -04:00