Commit Graph

60606 Commits

Author SHA1 Message Date
Sage Weil
06321714b2 debian/rules: dump env during build
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-02 14:05:31 -05:00
Sage Weil
b97393cf18 ceph.spec: dump env during build
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-02 14:05:31 -05:00
Sage Weil
2630df76e1 Merge pull request #12256 from liewegas/wip-18093
osd: fix memory leak from EC write workload

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-12-02 09:57:23 -05:00
Jason Dillaman
350a660169 Merge pull request #12238 from gaurav36/bug-rbd-feature-enable-error
librbd: enabling/disabling rbd feature should report missing dependency

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-12-02 09:05:52 -05:00
Jason Dillaman
fbccd1e88e Merge pull request #12195 from trociny/wip-qa-rbd-wait_for_image_present
qa/workunits/rbd: use image id when probing for image presence

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-12-02 09:01:43 -05:00
Kefu Chai
cf93b48245 Merge pull request #11942 from wjwithagen/wip-wjw-freebsd-boost
do_freebsd.sh: Build with SYSTEM Boost on FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-12-02 20:34:14 +08:00
Willem Jan Withagen
f1b9618b41 Cmake/FreeBSD: use the SYSTEM_BOOST
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-12-02 11:11:57 +01:00
Kefu Chai
3a9bcaa4aa Merge pull request #12209 from tchaikov/wip-enable-unittest_dns_resolve
test: enable unittest_dns_resolve

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-12-02 14:48:15 +08:00
Kefu Chai
f4b635f0b7 test: enable unittest_dns_resolve
guess this test was missed when we were moving to cmake. let's re-enable
it!

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-12-01 21:51:54 -08:00
Haomai Wang
d2f8fb4a6b Merge pull request #12263 from Adirl/fix_max_buffers
msg/async/rdma: don't use more buffers than what device capabilities …

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-12-02 09:46:39 +08:00
Josh Durgin
1515bd0e9c Merge pull request #12140 from iain-buclaw-sociomantic:pybind-aioexec
python-rados: implement new aio_execute

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-12-01 16:39:33 -08:00
Iain Buclaw
7aa80fd0be pybind: Fix comment for exec in Ioctx
Signed-off-by: Iain Buclaw <iain.buclaw@sociomantic.com>
2016-12-01 16:32:26 -08:00
Iain Buclaw
fd432fee81 test/pybind: Add tests for aio_execute
Signed-off-by: Iain Buclaw <iain.buclaw@sociomantic.com>
2016-12-01 16:32:26 -08:00
Avner BenHanoch
dc5a8df7df msg/async/rdma: don't use more buffers than what device capabilities allow
Change-Id: I6df7dd1a4d871b4dca55e784969ff459bebc6a86
Signed-off-by: Avner BenHanoch <avnerb@mellanox.com>
2016-12-01 21:19:31 +02:00
Sage Weil
53b3f6bf1e Merge pull request #12261 from liewegas/wip-store-rename-test
ceph_test_objectstore: fix Rename test

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-12-01 14:13:05 -05:00
Matt Benjamin
59022a2172 Merge pull request #12231 from yehudasa/wip-17965
rgw: set duration for lifecycle lease
2016-12-01 14:00:38 -05:00
Sage Weil
3c8392f7e3 Merge pull request #12221 from liewegas/wip-18072
msg/simple/Pipe: handle addr decode error

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-12-01 13:18:16 -05:00
Mykola Golub
d9bf1243b4 Merge pull request #12218 from dillaman/wip-18068
librbd: diffs to clone's first snapshot should include parent diffs

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-12-01 19:49:47 +02:00
Sage Weil
cef5b35e8f ceph_test_objectstore: fix Rename test
We were doing a no-op setattr here, even though the intenral
ENOENT used to be ignored, because it previously triggered a
bug in bluestore.  We're no longer ignoring that internal
error, though, as of 6ecb44f0c6,
so remove this part of the test.

The original bluestore bug we used to trigger was fixed by
0210f1fde6.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-01 11:58:27 -05:00
Yehuda Sadeh
4e409285ec Merge pull request #10086 from Yan-waller/yj-wip-rgwrests3ccstringfind
rgw: conform to the standard usage of string::find

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-12-01 08:55:42 -08:00
Yehuda Sadeh
dbe226145d Merge pull request #12229 from cbodley/wip-rgw-bucket-sync-status-assert
rgw: RGWBucketSyncStatusManager uses existing async_rados

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-12-01 07:41:13 -08:00
Haomai Wang
6d752bd878 Merge pull request #12254 from Adirl/disconnect_log
msg/async/rdma: fix disconnect log line

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-12-01 23:20:52 +08:00
Haomai Wang
96cced4433 Merge pull request #9846 from stiopaa1/msg_asyncmess_removeUnneededInclude
msg/AsyncMessenger: remove unneeded include

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-12-01 23:18:34 +08:00
Sage Weil
4b1d74329a Merge pull request #12246 from tchaikov/wip-17809
buffer: add copy(unsigned, ptr) back

Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-01 10:17:19 -05:00
Gaurav Kumar Garg
bd023cfec8 rbd: enabling/disabling rbd feature should report missing dependency
Currently while enabling or disabling rbd feature command does not
give missing dependency for eg: attempting to enable the journaling
feature on an image that doesn't have the exclusive-lock feature
enabled should give missing dependency error message.

Fixes: http://tracker.ceph.com/issues/16985

Reported-by:  Jason Dillaman <dillaman@redhat.com>
Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
2016-12-01 16:17:05 +01:00
Sage Weil
d91790f2d1 Merge pull request #12206 from jdurgin/wip-librados-setxattr-overload
librados: remove new setxattr overload to avoid breaking the C++ ABI

Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-01 10:15:32 -05:00
Sage Weil
5c750892ef Merge pull request #12234 from liewegas/wip-17942-again
osdc/Objecter: fix relock race

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-12-01 10:14:28 -05:00
jtlayton
942565ef8c Merge pull request #12228 from ceph/wip-jlayton-umount
libcephfs and test suite fixes
2016-12-01 10:00:47 -05:00
Sage Weil
198db468b0 osd/osd_types: avoid pinning memory with pg_log_entry_t::snaps
The pg_log_entry_t may stay in memory for a long time;
avoid pinning a larger buffer in memory.

See: http://tracker.ceph.com/issues/18093
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-01 09:39:25 -05:00
Sage Weil
896644d5e5 osd/osd_types: prevent ObjectModDesc::bl from pinning memory
We may decode this from a large buffer (e.g., an
ECSubWrite payload) and the ObjectModDesc is part of
the pg_log_entry_t, which may stay in memory for a long
time.  Avoid pinning memory.

Fixes: http://tracker.ceph.com/issues/18093
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-01 09:38:43 -05:00
Adir Lev
30b0575ab5 msg/async/rdma: fix disconnect log line
issue: none

Change-Id: I29e2a6ae78dda3cf4a1817b9ab41bea0f636bda5
Signed-off-by: Adir Lev <adirl@mellanox.com>
2016-12-01 16:38:29 +02:00
Mykola Golub
0c078b05af Merge pull request #12222 from dillaman/wip-18070
rbd-nbd: restart parent process logger after forking

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-12-01 15:19:44 +02:00
Kefu Chai
f8a8b4f0e4 buffer: add copy(unsigned, ptr) back
to be ABI-compatible with prior versions.

copy(unsigned, ptr) was renamed to copy_deep() in 6d7f748

Fixes: http://tracker.ceph.com/issues/17809
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-12-01 11:05:26 +08:00
Yehuda Sadeh
4dadd8dbb9 Merge pull request #12244 from ceph/wip-rgw-compression-doc
doc: add docs for raw compression

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-11-30 18:31:41 -08:00
Yehuda Sadeh
8e5bb76167 Merge pull request #12113 from ceph/wip-rgw-zone-compression
rgw: move compression config into zone placement

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-11-30 18:29:02 -08:00
Yehuda Sadeh
aed8692e25 Merge pull request #12232 from liewegas/wip-rgw-lclist
rgw: need to close_section in lc list op

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-11-30 18:16:16 -08:00
Casey Bodley
ceeb44279d rgw: remove config option rgw_compression_type
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-11-30 20:06:14 -05:00
Casey Bodley
b6abe6421c rgw: ops use zone placement's compression type
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-11-30 20:06:14 -05:00
Casey Bodley
ec0d5dfe54 radosgw-admin: add --compression for zone placement add/modify
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-11-30 20:06:14 -05:00
Casey Bodley
b31d06994c rgw: add compression_type field to RGWZonePlacementInfo
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-11-30 20:06:13 -05:00
Sage Weil
0a5dae7792 os/bluestore: not fadvise flags in log
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-30 17:36:03 -05:00
Sage Weil
8d144f94de os/bluestore: deep copy on partial bufferptrs on setattr
Otherwise we may inadvertantly pin larger buffers in
memory.

Fixes: http://tracker.ceph.com/issues/18093
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-30 17:35:51 -05:00
Sage Weil
098cbc4b40 buffer: put aligned buffers in buffer_data mempool
Oops!

Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-30 16:58:53 -05:00
Matt Benjamin
426c910f49 Merge pull request #12105 from cbodley/wip-rgw-curl-upload
rgw: dont set CURLOPT_UPLOAD for GET requests
2016-11-30 16:39:00 -05:00
Matt Benjamin
890eb3dade Merge pull request #12242 from cbodley/wip-rgw-admin-placement
radosgw-admin: more on placement configuration
2016-11-30 16:38:22 -05:00
Casey Bodley
6869cf1ca4 doc: add docs for rgw compression
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-11-30 16:26:36 -05:00
Sage Weil
c161f64968 Merge pull request #12185 from xiexingguo/xxg-wip-bluestore-1125
os/bluestore: drop member "space" from Onode

Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-30 15:19:33 -05:00
Casey Bodley
b59afea4db radosgw-admin: 'zone placement modify' doesnt require pool names
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-11-30 14:56:35 -05:00
Casey Bodley
711cc13252 radosgw-admin: add 'zonegroup placement default' command
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-11-30 14:56:35 -05:00
Iain Buclaw
e7e8c03a0a pybind: Add binding for aio_exec
This exposes to the python API for the following C methods:
* rados_aio_exec

Signed-off-by: Iain Buclaw <iain.buclaw@sociomantic.com>
2016-11-30 20:04:13 +01:00