]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Piotr Dałek [Tue, 31 Jan 2017 15:07:18 +0000 (16:07 +0100)]
OSD: allow client throttler to be adjusted on-fly, without restart
This patch allows the osd_client_message_cap and
osd_client_message_size_cap to be adjusted on-fly, using admin socket
functionality.
Fixes: http://tracker.ceph.com/issues/18791
Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
Sage Weil [Tue, 31 Jan 2017 03:43:36 +0000 (21:43 -0600)]
Merge pull request #13066 from liewegas/wip-aio-read
os/bluestore: use aio for reads
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Sage Weil [Tue, 31 Jan 2017 03:43:17 +0000 (21:43 -0600)]
Merge pull request #13071 from liewegas/wip-omap-getkeys-rados-test
qa/suites/rados/basic: set low omap limit for rgw workload
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Tue, 31 Jan 2017 03:42:48 +0000 (21:42 -0600)]
Merge pull request #13150 from tchaikov/wip-mon-cleanup
mon: post-jewel cleanups
Reviewed-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Tue, 31 Jan 2017 02:24:22 +0000 (21:24 -0500)]
Merge pull request #12966 from dillaman/wip-18436
osdc: cache should ignore error bhs during trim
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
John Spray [Tue, 31 Jan 2017 01:02:49 +0000 (02:02 +0100)]
Merge pull request #12800 from jcsp/wip-vstart-qasuite
Improve vstart_runner to (optionally) create its own cluster
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Jason Dillaman [Mon, 30 Jan 2017 23:36:46 +0000 (18:36 -0500)]
Merge pull request #12817 from liupan1111/wip-list-snapshot-time
librbd: support to list snapshot timestamp
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Josh Durgin [Mon, 30 Jan 2017 22:55:45 +0000 (14:55 -0800)]
Merge pull request #13098 from wido/doc-osd-greace
doc: Document that osd_heartbeat_grace applies to MON and OSD
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Ilya Dryomov [Mon, 30 Jan 2017 21:33:25 +0000 (22:33 +0100)]
Merge pull request #13141 from dillaman/wip-18653
librbd: introduce new constants for tracking max block name prefix
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Jason Dillaman [Thu, 26 Jan 2017 19:02:11 +0000 (14:02 -0500)]
librbd: introduce new constants for tracking max block name prefix
Fixes: http://tracker.ceph.com/issues/18653
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Mon, 30 Jan 2017 19:30:05 +0000 (13:30 -0600)]
Merge pull request #13188 from liewegas/wip-rest-fs-name
qa/workunits/rest: use unique pool names for cephfs test
Reviewed-by: Kefu Chai <kchai@redhat.com>
Pan Liu [Sat, 28 Jan 2017 16:45:30 +0000 (00:45 +0800)]
test: regolden formatted-output.t for timestamp metadata of rbd snapshot
Signed-off-by: Pan Liu <pan.liu@istuary.com>
Pan Liu [Sat, 28 Jan 2017 16:44:48 +0000 (00:44 +0800)]
test: Add unit test for getting rbd snapshot timestamp info
Signed-off-by: Pan Liu <pan.liu@istuary.com>
Pan Liu [Sat, 28 Jan 2017 16:43:33 +0000 (00:43 +0800)]
librbd: support to list snapshot time stamp
Fixes: http://tracker.ceph.com/issues/808
Signed-off-by: Pan Liu <pan.liu@istuary.com>
Pan Liu [Fri, 27 Jan 2017 11:14:29 +0000 (19:14 +0800)]
librbd: Add timestamp metadata when creating rbd snapshot
Signed-off-by: Pan Liu <pan.liu@istuary.com>
Yehuda Sadeh [Mon, 30 Jan 2017 16:36:32 +0000 (08:36 -0800)]
Merge pull request #12646 from SirishaGuduru/swift-api-auth-doc-change
doc: Fixes radosgw-admin ex: in swift auth section
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Mon, 30 Jan 2017 16:14:31 +0000 (11:14 -0500)]
qa/workunits/rest: use unique pool names for cephfs test
Using cephfs_[meta]data collides with the pools that teuthology
already creates if an mds is defined.
This became a (noticeable) problem with
052c3d3f681017d56b5b0ee5cf6f65bffc952a4c
Signed-off-by: Sage Weil <sage@redhat.com>
Casey Bodley [Mon, 30 Jan 2017 14:52:13 +0000 (09:52 -0500)]
Merge pull request #13054 from oritwas/wip-rgw-period-update-crash
rgw: fix period update crash
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Mon, 30 Jan 2017 12:19:11 +0000 (20:19 +0800)]
Merge pull request #13186 from Adirl/fix_rdma_compile
cmake: fix broken RDMA compilation after merge PR #12878
Reviewed-by: Kefu Chai <kchai@redhat.com>
Radoslaw Zarzynski [Mon, 30 Jan 2017 11:58:56 +0000 (12:58 +0100)]
Merge pull request #13003 from Jing-Scott/dev/swift-container-acl-info
rgw: swift: the http referer acl in swift API should be shown
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Radoslaw Zarzynski [Mon, 30 Jan 2017 11:55:35 +0000 (12:55 +0100)]
Merge pull request #13005 from Jing-Scott/dev/swift-http-url-parse
rgw: swift: The http referer should be parsed to compare in swift API
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Radoslaw Zarzynski [Mon, 30 Jan 2017 11:44:21 +0000 (12:44 +0100)]
Merge pull request #12874 from Jing-Scott/dev/swift-ref
rgw: the swift container acl should support field .ref
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Oren Duer [Mon, 30 Jan 2017 09:58:03 +0000 (09:58 +0000)]
cmake: fix broken RDMA compilation after merge PR #12878
issue: 965984
Change-Id: I2e401acf204069d3907001d276c58d9fb4cd0d58
Signed-off-by: Oren Duer <oren@mellanox.com>
Wido den Hollander [Wed, 25 Jan 2017 12:12:07 +0000 (13:12 +0100)]
doc: Document that osd_heartbeat_grace applies to MON and OSD
This value has to be set in both the [mon] and [osd] section since
both daemons read this value.
Signed-off-by: Wido den Hollander <wido@42on.com>
Haomai Wang [Sat, 28 Jan 2017 07:52:17 +0000 (15:52 +0800)]
Merge pull request #13142 from Adirl/remove_compilation_warning
msg/async/rdma: Remove compilation warning
Reviewed-by: Haomai Wang <haomai@xsky.com>
Sage Weil [Fri, 27 Jan 2017 21:38:24 +0000 (15:38 -0600)]
Merge pull request #13057 from wido/issue-18635
systemd: Restart Mon after 10s in case of failure
Reviewd-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Fri, 27 Jan 2017 21:37:25 +0000 (15:37 -0600)]
Merge pull request #13140 from liewegas/wip-bluestore-statfs
os/bluestore: fix statfs to not include DB partition in free space
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Sage Weil [Fri, 27 Jan 2017 21:37:13 +0000 (15:37 -0600)]
Merge pull request #13135 from liewegas/wip-kerneldevice-debug
os/bluestore/KernelDevice: fix debug message
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
John Spray [Fri, 27 Jan 2017 16:41:36 +0000 (17:41 +0100)]
Merge pull request #13124 from ukernel/wip-18675
client: remove request from session->requests when handling forward
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 27 Jan 2017 16:40:46 +0000 (17:40 +0100)]
Merge pull request #13095 from ukernel/wip-18660
mds: skip fragment space check for replayed request
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 27 Jan 2017 16:39:32 +0000 (17:39 +0100)]
Merge pull request #13052 from ukernel/wip-16768
mds: don't modify inode that is not projected
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
John Spray [Fri, 27 Jan 2017 16:37:31 +0000 (17:37 +0100)]
Merge pull request #12973 from ukernel/wip-18578
mds: fix incorrect assertion in Server::_dir_is_nonempty()
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 27 Jan 2017 16:35:38 +0000 (17:35 +0100)]
Merge pull request #12825 from stiopaa1/r11124_refuseToDoFsNew
mon/MDSMonitor.cc:refuse fs new on pools with obj
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 27 Jan 2017 16:33:41 +0000 (17:33 +0100)]
Merge pull request #12489 from gregsfortytwo/wip-fix-rename-bounds
client: fix the cross-quota rename boundary check conditions
Reviewed-by: Yan, Zheng <zyan@redhat.com>
John Spray [Fri, 27 Jan 2017 16:32:49 +0000 (17:32 +0100)]
Merge pull request #12440 from runsisi/wip-fix-fp-exception
include/fs_types: fix unsigned integer overflow
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 24 Jan 2017 14:42:24 +0000 (09:42 -0500)]
os/bluestore: only use aio for read if there are >1 blobs
If we have a single blob to read it is not worth the context switch.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 24 Jan 2017 16:11:49 +0000 (11:11 -0500)]
os/bluestore/BlockDevice: allow sync read to accumulate on bl
Do not clear the target bl; instead, append to it. This makes our
behavior consistent with aio_read, which does the same.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 23 Jan 2017 15:16:22 +0000 (10:16 -0500)]
os/bluestore: do read io via aio in parallel
Dispatch all blob reads in parallel via aio.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 23 Jan 2017 19:46:34 +0000 (14:46 -0500)]
os/bluestore/KernelDevice: avoid possible use-after-free for ioc->priv
If aio_wake() triggers destruction, ioc->priv might be a
use-after-free (this is the case for the BlueStore read path).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 23 Jan 2017 16:48:10 +0000 (11:48 -0500)]
os/bluestore/NVMEDevice: implement aio_read
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 23 Jan 2017 15:14:39 +0000 (10:14 -0500)]
os/bluestore/BlockDevice: add aio_read API
NVMEDevice not implemented yet.
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Fri, 27 Jan 2017 14:39:41 +0000 (15:39 +0100)]
Merge pull request #13088 from jcsp/wip-16397-unpin
qa: unpin knfs from ubuntu
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Kefu Chai [Tue, 24 Jan 2017 09:22:22 +0000 (17:22 +0800)]
mon: assert if pgmap's format_version < 1
we bump the pgmap's format_version to 1 and the monitor's protocol
version to 12 in
2d2aa00 . and it is required to upgrade to jewel before
upgrading to kraken or luminous. so we can safely assume that the
PGMonitor's format_version is always greater or equal to 1.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 24 Jan 2017 04:49:01 +0000 (12:49 +0800)]
mon: assert on CEPH_FEATURE_MON_STATEFUL_SUB
this feature was introduced in jewel. and we are targeting luminous in
master. so it's safe to assume that all OSDs in the cluster have this
feature.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Dan Mick [Fri, 27 Jan 2017 03:43:34 +0000 (19:43 -0800)]
Merge pull request #13148 from tchaikov/wip-18692
packaging: install libceph-common.so* not libceph-common.so.*
Reviewed-by: Dan Mick <dmick@redhat.com>
Kefu Chai [Fri, 27 Jan 2017 02:43:36 +0000 (10:43 +0800)]
packaging: install libceph-common.so* not libceph-common.so.*
Fixes: http://tracker.ceph.com/issues/18692
Signed-off-by: Kefu Chai <kchai@redhat.com>
Josh Durgin [Thu, 26 Jan 2017 23:50:53 +0000 (15:50 -0800)]
Merge pull request #13087 from athanatos/wip-17831-18583
osd/PrimaryLogPG::try_lock_for_read: give up if missing
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 26 Jan 2017 23:14:45 +0000 (15:14 -0800)]
Merge pull request #12934 from athanatos/wip-18529
test/pybind/test_rados.py: tolerate TimedOut in test_ping_monitor
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Mykola Golub [Thu, 26 Jan 2017 21:44:01 +0000 (23:44 +0200)]
Merge pull request #13110 from dillaman/wip-18666
librbd: prevent self-blacklisting during break lock
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Marcus Watts [Wed, 11 Jan 2017 05:06:15 +0000 (00:06 -0500)]
radosgw/swift: clean up flush / newline behavior.
The current code emits a newline after swift errors, but fails
to account for it when it calculates 'content-length'. This results in
some clients (go github.com/ncw/swift) producing complaints about the
unsolicited newline such as this,
Unsolicited response received on idle HTTP channel starting with "\n"; err=<nil>
This logic eliminates the newline on flush. This makes the content length
calculation correct and eliminates the stray newline.
There was already existing separator logic in the rgw plain formatter
that can emit a newline at the correct point. It had been checking
"len" to decide if previous data had been emitted, but that's reset to 0
by flush(). So, this logic adds a new per-instance variable to separately
track state that it emitted a previous item (and should emit a newline).
Fixes: http://tracker.ceph.com/issues/18473
Signed-off-by: Marcus Watts <mwatts@redhat.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Samuel Just [Sat, 14 Jan 2017 00:14:46 +0000 (16:14 -0800)]
test/pybind/test_rados.py: tolerate empty output from mon ping
Fixes: http://tracker.ceph.com/issues/18529
Signed-off-by: Samuel Just <sjust@redhat.com>
Yehuda Sadeh [Thu, 26 Jan 2017 19:34:38 +0000 (11:34 -0800)]
Merge pull request #13007 from Werkov/rgw-fix-tempurl-url-encoding-master
rgw: Use decoded URI when verifying TempURL
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Sage Weil [Thu, 26 Jan 2017 19:22:53 +0000 (14:22 -0500)]
os/bluestore: fix statfs to not include DB partition in free space
If we report the DB space as vailable, ceph thinks the OSD can store more
data and will not mark the cluster as full as easily. And in reality, we
can't actually store data in this space--only metadata. Avoid the problem
by not reporting it as available.
Fixes: http://tracker.ceph.com/issues/18599
Signed-off-by: Sage Weil <sage@redhat.com>
Sarit Zubakov [Mon, 16 Jan 2017 08:53:28 +0000 (08:53 +0000)]
sync/rdma: Remove warning
Fixed warning - of sending unsigned short int to %x
issue: 944710
Change-Id: I2820e8da77467a4a645d9653b4964e7a2198656b
Signed-off-by: Sarit Zubakov <saritz@mellanox.com>
Yehuda Sadeh [Thu, 26 Jan 2017 18:49:41 +0000 (10:49 -0800)]
Merge pull request #12444 from oritwas/wip-rgw-fix-secondary_versioning
rgw: complete versioning enablement after sending it to meta master
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Orit Wasserman [Sun, 22 Jan 2017 13:05:30 +0000 (15:05 +0200)]
rgw: add check for update return value
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Sun, 22 Jan 2017 12:40:16 +0000 (14:40 +0200)]
rgw: fix init_zg_from_period when default zone is not set as default
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Sun, 22 Jan 2017 12:42:14 +0000 (14:42 +0200)]
rgw: we need to reinit the zonegroup after assignment to avoid invalid cct and store
Fixes: http://tracker.ceph.com/issues/18631
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Sage Weil [Thu, 26 Jan 2017 17:21:15 +0000 (11:21 -0600)]
Merge pull request #13074 from liewegas/wip-bluestore-crc-error
os/bluestore: include logical object offset in crc error
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Thu, 26 Jan 2017 16:02:06 +0000 (11:02 -0500)]
os/bluestore/KernelDevice: fix debug message
Not even sure why this compiles :/.
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Thu, 26 Jan 2017 15:59:36 +0000 (23:59 +0800)]
Merge pull request #12878 from tchaikov/wip-cmake
cmake: link ceph-{mgr,mon,mds,osd} against libcommon statically
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Thu, 26 Jan 2017 11:23:09 +0000 (19:23 +0800)]
Merge pull request #13122 from orendu/fix-rdma-compilation
cmake: Fix broken async/rdma compilation since move to libceph-common
Reviewed-by: Adir Lev <adirl@mellanox.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Amir Vadai <amir@vadai.me>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Haomai Wang [Thu, 26 Jan 2017 10:25:54 +0000 (18:25 +0800)]
Merge pull request #13101 from Adirl/fix_mem_leak
msg/async/rdma: Fix memory leak of OSD
Reviewed-by: Haomai Wang <haomai@xsky.com>
Oren Duer [Thu, 26 Jan 2017 07:48:20 +0000 (07:48 +0000)]
cmake: Fix broken async/rdma compilation since move to libceph-common
Was broken since merge of pull request #12840
Signed-off-by: Oren Duer <oren@mellanox.com>
Yan, Zheng [Thu, 26 Jan 2017 08:58:41 +0000 (16:58 +0800)]
client: remove request from session->requests when handling forward
Client::handle_client_request_forward() reset request->mds to -1,
it should also remove request from session->requests. Otherwise
Client::kick_requests_closed() get confused.
Fixes: http://tracker.ceph.com/issues/18675
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Kefu Chai [Thu, 26 Jan 2017 07:28:01 +0000 (15:28 +0800)]
Merge pull request #13075 from tchaikov/wip-zstd
compressor/zstd: add zstd compression plugin
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Jing Wenjun [Thu, 19 Jan 2017 13:26:17 +0000 (21:26 +0800)]
rgw: swift: The http referer should be parsed to compare in swift API
The http referer should be parsed to compare with the url set on the container read acl. If we set .r:www.example.com on container read acl, we should parse the hostname 'www.example.com' of the http referer like 'http://www.example.com' from the http request.
Fixes: http://tracker.ceph.com/issues/18685
Signed-off-by: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
Jason Dillaman [Wed, 25 Jan 2017 19:45:56 +0000 (14:45 -0500)]
librbd: prevent self-blacklisting during break lock
Fixes: http://tracker.ceph.com/issues/18666
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Mykola Golub [Wed, 25 Jan 2017 17:08:47 +0000 (19:08 +0200)]
Merge pull request #13086 from dillaman/wip-librbd-lock-init-race
librbd: race initializing exclusive lock and configuring IO path
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Sage Weil [Thu, 19 Jan 2017 18:57:33 +0000 (12:57 -0600)]
compressor/zstd: add zstd compressor
Build/link of zstd itself is maybe not ideal, but it works fine.
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 20 Sep 2016 14:44:32 +0000 (09:44 -0500)]
add src/zstd submodule
Signed-off-by: Sage Weil <sage@redhat.com>
Sarit Zubakov [Sun, 22 Jan 2017 14:25:32 +0000 (16:25 +0200)]
msg/async/rdma: Fix memory leak of OSD
We can delete qp only in RDMADispatcher::handle_async_event() which call
"erase_qpn" to enable deletion.
issue: 959004
Change-Id: Iab69cb365b37a09e9608d4b3c595e05278bbe021
Signed-off-by: Sarit Zubakov <saritz@mellanox.com>
Kefu Chai [Wed, 25 Jan 2017 14:32:13 +0000 (22:32 +0800)]
Merge pull request #13090 from dzafman/wip-18624
Revert "PrimaryLogPG::failed_push: update missing as well"
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Haomai Wang [Wed, 25 Jan 2017 14:22:22 +0000 (22:22 +0800)]
Merge pull request #13096 from amirv/new_connect_arg
msg/RDMA: Fix broken compilation due to new argument in net.connect()
Reviewed-by: Haomai Wang <haomai@xsky.com>
Sage Weil [Wed, 25 Jan 2017 12:35:36 +0000 (06:35 -0600)]
Merge pull request #9348 from LiumxNL/fix-mksnap
mon/OSDMonitor: make snaps on tier pool should not be allowed
Sage Weil [Wed, 25 Jan 2017 12:35:10 +0000 (06:35 -0600)]
Merge pull request #12937 from chendave/auth_method
auth: Enhancement for the supported auth methods
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 25 Jan 2017 12:34:52 +0000 (06:34 -0600)]
Merge pull request #12992 from tchaikov/wip-demangle-on-freebsd
common/BackTrace: demangle on FreeBSD also
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Sage Weil [Wed, 25 Jan 2017 12:34:24 +0000 (06:34 -0600)]
Merge pull request #12620 from varadakari/wip-rocksdb-histogram
os/bluestore: kvdb histogram
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Sage Weil [Wed, 25 Jan 2017 12:33:48 +0000 (06:33 -0600)]
Merge pull request #13031 from dzafman/wip-calc-stats
osd: Calculate degraded and misplaced more accurately
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 25 Jan 2017 12:24:30 +0000 (06:24 -0600)]
Merge pull request #13032 from liewegas/wip-bluefs-append
os/bluestore/BlueFS: tune flushing of writes
Tested-by: Chagam, Anjaneya <anjaneya.chagam@intel.com>
Sage Weil [Wed, 25 Jan 2017 12:22:41 +0000 (06:22 -0600)]
Merge pull request #13072 from wido/issue-18638
osd: Return correct osd_objectstore in OSD metadata
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Wed, 25 Jan 2017 12:22:15 +0000 (06:22 -0600)]
Merge pull request #13018 from songbaisen/s11
global: we need to handle the init_on_startup return value when global_init.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Amir Vadai [Wed, 25 Jan 2017 08:36:00 +0000 (10:36 +0200)]
msg/RDMA: Fix broken compilation due to new argument in net.connect()
Fixes: 6e4ed291afc3 ("msg: add ms_bind_before_connect to bind before connect")
Change-Id: Ia45f215b5d59dfc8545017518e5162404059829e
Signed-off-by: Amir Vadai <amir@vadai.me>
Yan, Zheng [Wed, 25 Jan 2017 07:28:23 +0000 (15:28 +0800)]
mds: don't purge strays when mds is in clientreplay state
MDS does not trim log when it's in clientreplay state. If mds hang
at clientreplay state (due to bug), purging strays can submit lots
of log events and create very large mds log.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Yan, Zheng [Wed, 25 Jan 2017 03:03:45 +0000 (11:03 +0800)]
mds: skip fragment space check for replayed request
when handling replayed request, stray directory can be different
from the stray directory used by the original request. The fragment
space check for stray directory can fail.
Fixes: http://tracker.ceph.com/issues/18660
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
David Zafman [Wed, 25 Jan 2017 00:30:24 +0000 (16:30 -0800)]
Revert "PrimaryLogPG::failed_push: update missing as well"
This reverts commit
dd48b972afde2dfa9ab1a6942c7961750222986d .
Fixes: http://tracker.ceph.com/issues/18624
Signed-off-by: David Zafman <dzafman@redhat.com>
Jing Wenjun [Thu, 19 Jan 2017 13:00:26 +0000 (21:00 +0800)]
rgw: swift: the http referer acl in swift API should be shown
The container acl about http referer set should be shown in container metadata dump.
Fixes: http://tracker.ceph.com/issues/18665
Signed-off-by: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
John Spray [Tue, 24 Jan 2017 22:06:29 +0000 (22:06 +0000)]
qa: unpin knfs from ubuntu
We have an updated nfs-utils that is no longer
generating spurious selinux warnings on CentOS.
Fixes: http://tracker.ceph.com/issues/16397
Signed-off-by: John Spray <john.spray@redhat.com>
Adam C. Emerson [Tue, 24 Jan 2017 20:16:44 +0000 (15:16 -0500)]
Merge pull request #12445 from pritha-srivastava/wip_glob_func
rgw: Added a globbing method for AWS Policies.
Matt Benjamin [Tue, 24 Jan 2017 19:58:58 +0000 (14:58 -0500)]
Merge pull request #13084 from linuxbox2/wip-librgw-parentref
rgw_file: interned RGWFileHandle objects need parent refs
Sage Weil [Tue, 24 Jan 2017 19:52:52 +0000 (13:52 -0600)]
Merge pull request #13083 from dachary/wip-15653-crush-weights
crush: verify weights is influenced by the number of replicas
Reviewed-by: Sage Weil <sage@redhat.com>
Mykola Golub [Tue, 24 Jan 2017 19:32:13 +0000 (21:32 +0200)]
Merge pull request #13076 from dillaman/wip-18617
test: use librados API to retrieve config params
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
David Zafman [Tue, 24 Jan 2017 19:02:38 +0000 (11:02 -0800)]
Merge pull request #12866 from dzafman/wip-18471
qa/workunits/ceph-helpers: wait_for_clean() races with pg creation
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Matt Benjamin [Sat, 31 Dec 2016 04:30:16 +0000 (23:30 -0500)]
rgw_file: interned RGWFileHandle objects need parent refs
RGW NFS fhcache/RGWFileHandle operators assume existence of the
full chain of parents from any object to the its fs_root--this is
a consequence of the weakly-connected namespace design goal, and
not a defect.
This change ensures the invariant by taking a parent ref when
objects are interned (when a parent ref is guaranteed). Parent
refs are returned when objects are destroyed--essentially by the
invariant, such a ref must exist.
The extra ref is omitted when parent->is_root(), as that node is
not in the LRU cache.
Fixes: http://tracker.ceph.com/issues/18650
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Tue, 24 Jan 2017 17:15:12 +0000 (12:15 -0500)]
Merge pull request #13038 from linuxbox2/wip-librgw-invalidate
rgw_file: add timed namespace invalidation
Jason Dillaman [Tue, 24 Jan 2017 15:34:05 +0000 (10:34 -0500)]
librbd: race initializing exclusive lock and configuring IO path
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Tue, 24 Jan 2017 15:20:16 +0000 (23:20 +0800)]
Merge pull request #12916 from Liuchang0812/xmlformatter-fix
common/xmlformatter: turn on underscored and add unittest
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Tue, 24 Jan 2017 14:48:43 +0000 (09:48 -0500)]
librbd: improve debug logging for lock / watch state machines
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 24 Jan 2017 02:24:41 +0000 (21:24 -0500)]
test: use librados API to retrieve config params
The CephContext object is not ABI-stable, so it is necessary to
use the "conf_get" librados methods to safely retrieve a setting.
Fixes: http://tracker.ceph.com/issues/18617
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Loic Dachary [Tue, 24 Jan 2017 12:08:32 +0000 (13:08 +0100)]
crush: verify weights is influenced by the number of replicas
Refs: http://tracker.ceph.com/issues/15653
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Loic Dachary <loic@dachary.org>