Jason Dillaman
34016f7441
test: fix unused function warnings due to explicit template instantiation
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:47:45 -05:00
Jason Dillaman
7c45b13e2b
rbd-mirror: async mirror image refresh state machine
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:47:44 -05:00
Jason Dillaman
4b97611123
cls/rbd: async versions for dir_list and mirror_image_list
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:46:46 -05:00
Jason Dillaman
77d7d8f99d
librbd: improved state tracking within object watcher
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:46:44 -05:00
Jason Dillaman
7565acc14f
rbd-mirror: preliminary support to track multiple remote peer image sources
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:43:18 -05:00
Jason Dillaman
ced7187567
rbd-mirror: utilize global image id as internal unique key
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:43:16 -05:00
Jason Dillaman
c35d307c62
test: added missing IoCtx copy/assignment methods in librados_test_stub
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:41:23 -05:00
Josh Durgin
1d27e61d47
Merge pull request #13419 from dmick/wip-17826
...
ceph_common.sh: fix syntax error
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-14 13:03:03 -08:00
Dan Mick
fc28dcaed5
ceph_common.sh: fix syntax error
...
Introduced by 299b7d06ac
Fixes: http://tracker.ceph.com/issues/17826
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-02-14 10:44:36 -08:00
Yuri Weinstein
477356f19a
Merge pull request #13311 from asheplyakov/master-18820
...
ceph-osd: --flush-journal: sporadic segfaults on exit
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-14 09:59:53 -08:00
Yuri Weinstein
5de6a0a4c1
Merge pull request #13307 from songbaisen/s12
...
osd: add is_split check before _start_split
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-14 09:57:52 -08:00
Yuri Weinstein
079616ae74
Merge pull request #13326 from xiexingguo/wip-firstn
...
crush: do is_out test only if we do not collide
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Loic Dachary <loic@dachary.org>
2017-02-14 09:56:02 -08:00
Yuri Weinstein
58a0c327c8
Merge pull request #13328 from wonzhq/fix-rec-stat
...
osd: fix stat sum update of recovery pushing
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-14 09:54:10 -08:00
Yuri Weinstein
a7df1b2831
Merge pull request #13353 from wonzhq/wip-failed-push
...
osd: fix the setting of soid in sub_op_push
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-14 09:52:42 -08:00
Jason Dillaman
61ac1b41da
Merge pull request #13389 from trociny/wip-rbd-nbd-unused_old_format
...
rbd-nbd: no need to check image format any more
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 11:42:22 -05:00
Casey Bodley
a89b728f75
Merge pull request #13248 from rzarzynski/wip-rgw-18796
...
rgw: improve handling of illformed Swift's container ACLs.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-14 11:37:04 -05:00
Casey Bodley
827bb32aa9
Merge pull request #12810 from zhangsw/fix-rgw-datasync-errorlog
...
rgw: error_code in error log is not right when data sync fails.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-14 11:36:04 -05:00
John Spray
71938e3c6d
Merge pull request #13394 from tchaikov/wip-18838
...
cmake: link consumers of libclient with libcommon
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-14 11:09:26 +00:00
Josh Durgin
4961f2ebd4
Merge pull request #11128 from tchaikov/wip-16091
...
mon/MonClient: hunt monitors in parallel
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-14 00:00:36 -08:00
Kefu Chai
c3cca96d93
mon/MonClient: remove unnecessary helper functions
...
refactor _reopen_session() by removing wrapper around it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-14 12:58:22 +08:00
Kefu Chai
8e019f661c
mon/MonClient: remove unnecessary include
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-14 12:58:22 +08:00
Kefu Chai
a2eb6ae3fb
mon/monclient: hunt for multiple monitor in parallel
...
* add an option "mon_client_hunt_parallel" for the maxmimum number of parallel
hunting sessions.
Fixes: http://tracker.ceph.com/issues/16091
Signed-off-by: Steven Dieffenbach <sdieffen@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-14 12:58:22 +08:00
Kefu Chai
8729e1eb9c
mon/MonClient: mark monc_lock a mutable
...
so we can label the getters of MonClient with the `const` specifier.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-14 12:58:22 +08:00
Kefu Chai
96862f8f29
mon/MonClient: use __func__ for function names
...
Signed-off-by: Steven Dieffenbach <sdieffen@redhat.com>
2017-02-14 12:58:22 +08:00
Kefu Chai
79f3f30112
client: move monc->set_want_keys() before monc->init()
...
if monc's tick connect to the mon before monc.set_want_keys() is called,
monc won't ask for the key for MDS service, and hence will fail to
build_authorizer() for MDS service. this change ready us for the
feature of monc-connect-to-mon-in-parallel.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-14 12:58:22 +08:00
Kefu Chai
5871a6f403
auth: AuthClientHandler::init() pass parameter by const ref
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-14 12:58:22 +08:00
Sage Weil
20809f0bf7
Merge pull request #13149 from liewegas/wip-list-objects
...
librados: remove legacy object listing API, clean up newer api
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-02-13 22:20:20 -06:00
Sage Weil
494f05ac4b
Merge pull request #13409 from xiexingguo/wip-fix-throttler-name
...
os/bluestore: add "_" prefix for internal methods
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-13 22:16:52 -06:00
xie xingguo
7cb210d98d
os/bluestore: add "_" prefix for internal methods
...
These 4 methods are reserved for internal use only.
Prefix them with "_" to keep pace with others.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-02-14 10:22:03 +08:00
Sage Weil
a2fb70ddca
Merge pull request #13391 from Adirl/ibv_exp
...
msg/async/rdma: check if exp verbs avail
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-02-13 18:54:10 -06:00
Sage Weil
293c766143
Merge pull request #13034 from wjwithagen/wip-wjw-brag
...
mailmap: Willem Jan Withagen affiliation
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-02-13 18:51:26 -06:00
Sage Weil
e5ae7bab66
Merge pull request #13209 from wjwithagen/wip-wjw-freebsd-init-ceph
...
init-ceph: Make init-ceph work under FreeBSD for init-system
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-13 18:50:19 -06:00
Sage Weil
625ffe8cc6
Merge pull request #13377 from wjwithagen/wip-wjw-freebsd-jemalloc
...
CMakeLists.txt: suppress unneeded warning about jemalloc
2017-02-13 18:47:29 -06:00
Sage Weil
b3723a1e60
Merge pull request #13360 from ktdreyer/doc-firewalld-improvements
...
doc: improve firewalld instructions
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-13 18:46:15 -06:00
Sage Weil
606aa6567e
Merge pull request #13399 from vumrao/wip-vumrao-18919
...
rgw: change loglevel to 20 for 'System already converted' message
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-13 18:42:15 -06:00
Sage Weil
4386cb09d2
Merge pull request #13396 from tchaikov/wip-doc-dedup-refs
...
doc: remove duplicated references
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-02-13 18:41:03 -06:00
Sage Weil
321f8e66e5
Merge pull request #13400 from shinobu-x/wip-18840
...
doc: Modify Configuring Cinder section
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-13 18:40:34 -06:00
Matt Benjamin
2e1e72b13c
Merge pull request #13405 from linuxbox2/wip-librgw-refcnt
...
Wip librgw refcnt
2017-02-13 17:28:37 -05:00
Jason Dillaman
7245b4f22d
Merge pull request #13403 from MichaelEischer/master
...
doc: Fixes parameter name in rbd configuration on openstack havana/icehouse
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-13 16:31:53 -05:00
Matt Benjamin
b8791b2217
rgw_file: fix hiwat behavior
...
Removed logic to skip reclaim processing conditionally on hiwat,
this probably meant to be related to a lowat value, which does
not exist.
Having exercised the hiwat reclaim behavior, noticed that the
path which moves unreachable objects to LRU, could and probably
should remove them altogether when q.size exceeds hiwat. Now
the max unreachable float is lane hiwat, for all lanes.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-02-13 16:28:20 -05:00
Matt Benjamin
beaeff0593
rgw_file: refcnt bugfixes
...
This change includes 3 related changes:
1. add required lock flags for FHCache updates--this is a crash
bug under concurrent update/lookup
2. omit to inc/dec refcnt on root filehandles in 2 places--the
root handle current is not on the lru list, so it's not
valid to do so
3. based on observation of LRU behavior during creates/deletes,
update (cohort) LRU unref to move objects to LRU when their
refcount falls to SENTINEL_REFCNT--this cheaply primes the
current reclaim() mechanism, so very significanty improves
space use (e.g., after deletes) in the absence of scans
(which is common due to nfs-ganesha caching)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-02-13 16:28:03 -05:00
Matt Benjamin
462034e17f
rgw_file: add refcount dout traces at debuglevel 17
...
These are helpful for checking RGWFileHandle refcnt invariants.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-02-13 15:59:12 -05:00
Matt Benjamin
ef330f385d
rgw_file: add pretty-print for RGWFileHandle
...
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-02-13 15:31:42 -05:00
Michael Eischer
877245e69e
doc: Fixes parameter name in rbd configuration on openstack havana/icehouse
...
The documentation for using rbd together with openstack havana/icehouse
states that the parameter libvirt_disk_cachemodes should be added to
the nova.conf file. However, this is the only parameter that has no
legacy name with a 'libvirt_' prefix. (See
https://github.com/openstack/nova/blob/icehouse-eol/nova/virt/libvirt/driver.py#L252
for the configuration option)
Thus the configured disk_cachemodes were not applied, defaulting to
no caching.
Fixes : #17978
Signed-off-by: Michael Eischer <michael.eischer@fau.de>
2017-02-13 21:10:56 +01:00
Vikhyat Umrao
55b567c767
rgw: change log level to 20 for 'System already converted' message
...
Fixes: http://tracker.ceph.com/issues/18919
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2017-02-14 00:13:19 +05:30
Shinobu Kinjo
fb419b63e1
Doc: Modify Configuring Cinder section
...
doc/rbd/rbd-openstack.rst: Add ``volume_backend_name`` in description of
cinder.conf
Fixes: http://tracker.ceph.com/issues/18840
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-02-14 03:40:35 +09:00
Yuri Weinstein
df2e1fd84e
Merge pull request #13017 from chuanhong-wang/dev_add_perfcount_for_backoff_throttle
...
osd: adding PerfCounters for backoff throttle
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-02-13 09:02:40 -08:00
Yuri Weinstein
db4d4feb2c
Merge pull request #13274 from ifed01/wip-bluestore-perf-counters
...
os/bluestore: add more perf_counters to BlueStore
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-13 09:01:21 -08:00
Sage Weil
316dc98788
Merge pull request #13321 from liewegas/wip-kill-sortbitwise-harder
...
osd: kill sortbitwise
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-02-13 10:43:56 -06:00
Kefu Chai
1556a07cf1
doc: remove duplicated references
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-14 00:19:54 +08:00