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
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
John Spray
6d6828fe52
Merge pull request #9669 from ceph/wip-selinux
...
selinux: allow chown for self and setattr for /var/run/ceph
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-14 13:34:56 +01:00
John Spray
7925d1d29d
Merge pull request #9346 from jcsp/wip-enable-quota
...
client: enable client_quota by default
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-14 13:31:13 +01:00
John Spray
8ef90af3ba
Merge pull request #9591 from ukernel/wip-16066
...
client: kill QuotaTree
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-14 13:29:52 +01:00
John Spray
b714f3004c
Merge pull request #9651 from renhwztetecs/renhw-wip-mdcache
...
mds: fix mdsmap->get_metadata_pool() return to int64_t
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-14 13:26:43 +01:00
Mykola Golub
ba8ead5a4e
Merge pull request #9672 from dillaman/wip-16260
...
librbd: do not shut down exclusive lock while acquiring
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-14 14:21:54 +03:00
Jason Dillaman
c49f70a6d3
Merge pull request #9653 from trociny/wip-16245
...
rbd-mirror: FAILED assert(!m_status_watcher)
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-14 06:55:10 -04:00
Mykola Golub
6ea199221c
Merge pull request #9675 from dillaman/wip-16268
...
librbd: remove should ignore mirror errors from older OSDs
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-14 13:27:16 +03:00
Javier M. Mellid
dd9f53115a
rgw: aws4: fix buffer sharing issue with chunked uploads
...
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2016-06-14 11:15:24 +02:00
Sage Weil
780925c4a2
Merge pull request #9684 from chhabaramesh/master
...
os/bluestore: Fix for bit_alloc unit test case stack size and handle device that has less than block size at end.
2016-06-14 05:08:15 -04:00
Yan, Zheng
161954bbfe
client: kill QuotaTree
...
Multiple clients can modify cephfs at the same time. It is
very tricky to keep QuotaTree consistant with the global FS
hiberarchy. This patch kills the quota tree.
After removing the quota tree, we traverse inode's path to
find quota root.
Fixes: http://tracker.ceph.com/issues/16066
Fixes: http://tracker.ceph.com/issues/16067
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-06-14 17:06:01 +08:00
Kefu Chai
9e28fe9953
Merge pull request #9668 from ceph/wip-rocksdb-wo-rdb
...
rocksdb: remove rdb source files from dist tarball
Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-06-14 16:48:20 +08:00
Kefu Chai
64271f0345
test: fix ceph_test_cls_hello test
...
cls_register_cxx_filter() is exercised by cls_hello, so add the missing
stub for cls_register_cxx_filter() call.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-06-14 11:51:16 +08:00
Ramesh Chander
32b3a8ac56
os/bluestore: Reduce stack size for bit alloc test case
...
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
2016-06-13 20:33:09 -07:00
Ramesh Chander
6a2f04df5f
os/bluestore: fix few calculations in bit alloc
...
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
2016-06-13 20:33:09 -07:00
Kefu Chai
c01e3ebb6c
Merge pull request #9678 from dzafman/wip-16273
...
test: Explicitly use tempfile delete= feature instead of os.unlink()
Reviewed-by: Kefu Chai <kefu@redhat.com>
2016-06-14 11:02:13 +08:00
Jason Dillaman
a1ea1edce9
librbd: track in-flight flush events for journaling
...
The tracking for flush events was accidentally dropped. This
can result in the journal being closed too early since it
might miss in-flight flush ops.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-13 20:21:13 -04:00
David Zafman
431871eae8
test: Explicitly use tempfile delete= feature instead of os.unlink()
...
The warning messages are caused by new delete= tempfile feature
trying to unlink a file after test has used os.unlink().
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-06-13 15:59:55 -07:00
Matt Benjamin
2378709134
Merge pull request #9484 from jmunhoz/aws4-streaming
...
rgw: aws4: add STREAMING-AWS4-HMAC-SHA256-PAYLOAD support
verified (by hand)
2016-06-13 16:47:27 -04:00
Jason Dillaman
5a97a9b7ef
librbd: remove should ignore mirror errors from older OSDs
...
Fixes: http://tracker.ceph.com/issues/16268
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-13 15:29:43 -04:00
Jason Dillaman
c5694fc676
librbd: do not shut down exclusive lock while acquiring
...
Fixes: http://tracker.ceph.com/issues/16260
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-13 12:06:40 -04:00
Mykola Golub
082f918a99
Merge pull request #9664 from dillaman/wip-16253
...
rbd-mirror: do not re-use image id from mirror directory if creating image
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-13 18:58:30 +03:00
John Spray
3c8b5f6308
Merge pull request #9588 from renhwztetecs/renhw-wip-mdsboot
...
mds: Ignore create_root_inode's access value
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-13 15:08:06 +01:00
Kefu Chai
b8ed93ac4e
Merge pull request #9502 from tchaikov/wip-buffer-noexcept
...
common/buffer: add noexcept to ensure move ctor is used
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-06-13 21:49:41 +08:00
Jason Dillaman
da11f6d1f7
Merge pull request #9658 from runsisi/ss-wip-fix-rbd-mirror-doc
...
doc: fix typo for rbd-mirroring
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-13 09:29:12 -04:00
Mykola Golub
9f56d39cd2
Merge pull request #9657 from dillaman/wip-16235
...
librbd: avoid holding owner_lock waiting for exclusive lock
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-13 13:42:52 +03:00
Mykola Golub
7748d2e9ca
Merge pull request #9661 from dillaman/wip-16248
...
qa/workunits: ensure replay has started before checking position
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-13 13:41:56 +03:00
Boris Ranto
2a6c738abd
selinux: allow chown for self and setattr for /var/run/ceph
...
Fixes: http://tracker.ceph.com/issues/16126
Signed-off-by: Boris Ranto <branto@redhat.com>
2016-06-13 12:35:19 +02:00
Kefu Chai
bfed5fd5ef
rocksdb: remove rdb source files from dist tarball
...
rdb is based on NodeJS, and we don't build rdb to use rocksdb as
a keyvaluestore backend.
Fixes: http://tracker.ceph.com/issues/13554
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-06-13 16:41:52 +08:00
Jason Dillaman
1948047acb
rbd-mirror: reset local image id when creating new image
...
Fixes: http://tracker.ceph.com/issues/16253
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-13 02:34:00 -04:00
Jason Dillaman
45dda67b3e
rbd-mirror: handle an attempt to delete a non-mirrored image
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-13 02:33:59 -04:00
Jason Dillaman
7b2f99a97f
cls_rbd: disallow setting an empty mirror image entry to disabling
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-13 02:03:29 -04:00
Haomai Wang
e7aff3da8b
Merge pull request #9642 from yuyuyu101/wip-16237
...
msg/async/AsyncConnection: make verify auth callback without connection lock
Reviewed-by: Kefu Chai <kefu@redhat.com>
2016-06-13 13:35:59 +08:00
Kefu Chai
f7ddec3c58
Merge pull request #9213 from stiopaa1/replicatedpg_movetoforward
...
osd/ReplicatedPG.h: remove incorrect use of move
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-13 13:09:21 +08:00
Kefu Chai
f9c48df52c
Merge pull request #6967 from majianpeng/osd-full-skip-readop
...
osd: bypass readonly ops when osd full.
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-06-13 13:05:49 +08:00
Kefu Chai
3ab134363e
Merge pull request #8913 from vumrao/wip-vumrao-15704
...
rados: Add cleanup message with time to rados bench output
Reviewed-by: David Zafman <dzafman@redhat.com>
2016-06-13 13:01:44 +08:00
Jason Dillaman
6a68b68e0d
qa/workunits: ensure replay has started before checking position
...
Fixes: http://tracker.ceph.com/issues/16248
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-13 00:19:37 -04:00
runsisi
9ec13bb344
doc: fix typo for rbd-mirroring
...
Signed-off-by: runsisi <runsisi@zte.com.cn>
2016-06-13 10:05:11 +08:00
Jason Dillaman
b96ab805ee
librbd: avoid holding owner_lock waiting for exclusive lock
...
Fixes: http://tracker.ceph.com/issues/16235
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-12 21:42:59 -04:00