]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Yuri Weinstein [Thu, 26 May 2016 19:24:11 +0000 (12:24 -0700)]
Merge pull request #8941 from xiexingguo/xxg-wip-reweight-filter
mon/OSDMonitor: more fixes for reweight_by_* command
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Thu, 26 May 2016 19:22:08 +0000 (12:22 -0700)]
Merge pull request #9120 from runsisi/wip-rpg-minor-cleanup
osd/ReplicatedPG: remove unused local variable update
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Thu, 26 May 2016 19:19:41 +0000 (12:19 -0700)]
Merge pull request #9126 from xiexingguo/xxg-wip-fix-precisionlost
osd: fix sched_time not actually randomized
Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Matt Benjamin [Thu, 26 May 2016 18:52:31 +0000 (14:52 -0400)]
Merge pull request #9324 from rzarzynski/wip-16015
rgw: properly handle initial slashes in SLO's segment path.
Sage Weil [Thu, 26 May 2016 18:31:30 +0000 (14:31 -0400)]
Merge pull request #9353 from stiopaa1/common_weightedPriorityQueue
common/WeightedPriorityQueue: add override to func
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 May 2016 18:25:13 +0000 (14:25 -0400)]
Merge pull request #7733 from xinxinsh/wip-14701
osdmaptool: allow add --pg-num to osdmaptool --test-map-pgs to override the map's pg_num value
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 May 2016 18:24:43 +0000 (14:24 -0400)]
Merge pull request #9065 from xiexingguo/xxg-wip-texttable
mon/PGMonitor: use TextTable for pg relevant dump commands.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 May 2016 18:23:46 +0000 (14:23 -0400)]
Merge pull request #9097 from jcsp/wip-15866
mon: fix 'mon metadata' for lone monitors, and enable listing all metadata at once
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 26 May 2016 18:23:21 +0000 (14:23 -0400)]
Merge pull request #9198 from xiexingguo/xxg-wip-filestore-trackedkey
os/filestore: add xattr option family to tracked keys
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 May 2016 18:23:09 +0000 (14:23 -0400)]
Merge pull request #9204 from xiexingguo/xxg-wip-fix-omapfsid
os/filestore: fix omap fsid related fd leak
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 May 2016 18:22:24 +0000 (14:22 -0400)]
Merge pull request #9223 from vumrao/wip-vumrao-15762
osd: add peer_addr in heartbeat_check log message
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ali Maredia [Thu, 26 May 2016 15:47:12 +0000 (10:47 -0500)]
Merge pull request #9302 from ceph/wip_update_cmake_readme
Improves the README for cmake instructions and slightly improved markdown syntax.
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Radoslaw Zarzynski [Wed, 25 May 2016 12:23:29 +0000 (14:23 +0200)]
rgw: properly handle initial slashes in SLO's segment path.
Fixes: http://tracker.ceph.com/issues/16015
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Orit Wasserman [Thu, 26 May 2016 11:30:33 +0000 (13:30 +0200)]
Merge pull request #9342 from vumrao/wip-vumrao-16023
rgw : cleanup radosgw-admin temp command
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 26 May 2016 10:56:28 +0000 (12:56 +0200)]
Merge pull request #9244 from dreamhost/wip-15974
rgw: fix manager selection when APIs customized
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 26 May 2016 10:55:41 +0000 (12:55 +0200)]
Merge pull request #9263 from rzarzynski/wip-rgw-15976
rgw: fix CORS/ACLs metadata processing in Swift API
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 26 May 2016 10:54:58 +0000 (12:54 +0200)]
Merge pull request #9246 from rzarzynski/wip-15977
rgw: fix update of already existing account/bucket's custom attributes.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 26 May 2016 10:53:05 +0000 (12:53 +0200)]
rgw: we should probably return InvalidArgument when XML_parser fails of RGWPutACLs opReviewed-by: Orit Wasserman <owasserm@redhat.com>
rgw: we should probably return InvalidArgument when XML_parser fails of RGWPutACLs op
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 26 May 2016 10:52:23 +0000 (12:52 +0200)]
Merge pull request #7273 from linuxbox2/rgw-email
Rgw email (#1398)
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Vikhyat Umrao [Thu, 26 May 2016 10:13:41 +0000 (15:43 +0530)]
rgw : cleanup radosgw-admin temp command as it was deprecated
and also implementation code for this command was removed in commit
8d7c8828b02c46e119adc4b9e8f655551512fc2d
Fixes: http://tracker.ceph.com/issues/16023
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
John Spray [Thu, 26 May 2016 09:56:10 +0000 (10:56 +0100)]
Merge pull request #9338 from songbaisen/a1
cephfs: should give a value before use cpp_strerror
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 26 May 2016 09:47:42 +0000 (10:47 +0100)]
Merge pull request #9323 from ukernel/wip-mdsmap-subs
MDSMonitor.cc: fix mdsmap.<namespace> subscriptions
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 26 May 2016 09:46:17 +0000 (10:46 +0100)]
Merge pull request #9033 from renhwztetecs/renhw-wip-cephfs_addlink_python
cephfs: add link function in python
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 26 May 2016 09:39:38 +0000 (10:39 +0100)]
mds: fix race between StrayManager::{eval_stray,reintegrate_stray}Reviewed-by: John Spray <
mds: fix race between StrayManager::{eval_stray,reintegrate_stray}
Reviewed-by: John Spray <john.spray@redhat.com>
songbaisen [Thu, 26 May 2016 07:56:26 +0000 (15:56 +0800)]
cephfs: should give a value before use cpp_strerror
Signed-off-by:song baisen <song.baisen@zte.com.cn>
Michal Jarzabek [Wed, 25 May 2016 21:12:49 +0000 (22:12 +0100)]
common/WeightedPriorityQueue: add override to func
Add override to virtual functions.
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Yuri Weinstein [Wed, 25 May 2016 19:59:53 +0000 (12:59 -0700)]
Merge pull request #9258 from trociny/wip-15982
pybind: RBD API should default to None for features
Reviewed-by: Jason Dillaman <dillaman@redhat.com >
J. Eric Ivancich [Wed, 25 May 2016 19:44:47 +0000 (15:44 -0400)]
Renamed file to better indicate it contains markdown syntax.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
Casey Bodley [Wed, 25 May 2016 19:23:41 +0000 (15:23 -0400)]
Merge pull request #9300 from tchaikov/wip-cmake-java
cmake: add libcephfs-java support
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yan, Zheng [Wed, 25 May 2016 10:33:49 +0000 (18:33 +0800)]
MDSMonitor.cc: fix mdsmap.<namespace> subscriptions
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Orit Wasserman [Wed, 25 May 2016 12:05:11 +0000 (14:05 +0200)]
Merge pull request #9122 from cbodley/wip-rgw-httpmgr-pipe
rgw: clean up pipe fds in RGWHTTPManager::stop()
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 25 May 2016 12:03:36 +0000 (14:03 +0200)]
Merge pull request #8765 from cbodley/wip-rgw-usr2
rgw: extend SIGHUP handler for realm reconfiguration
Nathan Cutler [Wed, 25 May 2016 11:40:44 +0000 (13:40 +0200)]
Merge pull request #9167 from rjfd/wip-ceph-tool-non-ascii-chars
ceph.in: fix exception when pool name has non-ascii characters
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Mykola Golub [Wed, 25 May 2016 07:38:04 +0000 (10:38 +0300)]
Merge pull request #9282 from dillaman/wip-15993
rbd-mirror: image live-replay might become stuck
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Yehuda Sadeh [Wed, 25 May 2016 07:30:03 +0000 (10:30 +0300)]
Merge pull request #9285 from mikulely/rgw-clean-multipart-macro
rgw: cleanup RGW_MIN_MULTIPART_SIZE
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
J. Eric Ivancich [Tue, 24 May 2016 18:20:08 +0000 (14:20 -0400)]
Improves the README for cmake by including quick-start developer
instructions and slightly improved markdown syntax.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
Kefu Chai [Tue, 24 May 2016 04:55:20 +0000 (12:55 +0800)]
cmake: add "git-update" target for syncing git submodules
it maps the same functionality in autogen.sh
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 24 May 2016 19:25:16 +0000 (03:25 +0800)]
cmake: add libcephfs-java support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Tue, 24 May 2016 19:26:26 +0000 (15:26 -0400)]
Merge pull request #8672 from zaitcev/wip-5073-multen-2
rgw: Add access to multi-tenancy test
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Orit Wasserman [Tue, 24 May 2016 18:18:03 +0000 (20:18 +0200)]
Merge pull request #8533 from theanalyst/rgw/rest-user-get
rgw_rest_admin: return -EINVAL for improper user info requests
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 24 May 2016 18:17:14 +0000 (20:17 +0200)]
Merge pull request #8186 from rzarzynski/wip-rgw-bulkdel-cosm
rgw: optimize BulkDelete authorization and response printing
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 24 May 2016 18:11:57 +0000 (20:11 +0200)]
Merge pull request #8093 from zaitcev/swift-root-prefix
rgw: Allow to serve Swift off the URL root
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 24 May 2016 18:11:04 +0000 (20:11 +0200)]
Merge pull request #8053 from rzarzynski/wip-rgw-aws4-memalloc
rgw: improve memory management in AWS4 auth
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Jason Dillaman [Tue, 24 May 2016 02:26:05 +0000 (22:26 -0400)]
test: use randomized write sizes for rbd-mirror stress test
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 24 May 2016 02:21:33 +0000 (22:21 -0400)]
journal: eliminate watch delay for object refetches
The randomized write sizes of the modified rbd-mirror stress
test results in a lot of journal object with few entries.
Immediately fetch objects when performing a refetch check prior
to closing an empty object.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 23 May 2016 18:57:03 +0000 (14:57 -0400)]
journal: keep active tag to assist with pruning watched objects
It's possible that there might be additional entries to prune in
objects that haven't been prefetched yet. Keep the active tag
to allow these entries to be pruned after they have been loaded.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 23 May 2016 16:15:49 +0000 (12:15 -0400)]
journal: update commit entry object number upon overflow
Otherwise the recorded object positions might point to an older
object that doesn't contain the actual entry.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 23 May 2016 15:01:05 +0000 (11:01 -0400)]
journal: cleanup watch refetch flag handling
Clear the refetch required flag while scheduling the watch
and remove the stale object after the watch completes if still
empty. Previously, it was possible for the flag to become
out-of-sync with whether or not it was actually refreshed
and pruned.
Fixes: http://tracker.ceph.com/issues/15993
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 24 May 2016 12:40:12 +0000 (08:40 -0400)]
Merge pull request #9279 from majianpeng/bluestore-uniquelock
os/bluestore/BlueStore: Fix wrong usage of std::unique_lock for OpSequencer
Reviewed-by: Kefu Chai <kchai@redhat.com>
Matt Benjamin [Tue, 24 May 2016 11:31:30 +0000 (07:31 -0400)]
Merge pull request #8741 from rzarzynski/wip-rgw-keystonev3-doc
rgw, doc: improve documentation of Keystone v3 config options
Jianpeng Ma [Tue, 24 May 2016 09:22:32 +0000 (17:22 +0800)]
os/bluestore/BlueStore: Fix wrong usage of std::unique_lock for OpSequenecer
When set bluestore_sync_wal_apply = false, the osd must be crashed.
I add some debug message in WALWQ::_dequeue():
// preserve wal ordering for this sequencer by taking the lock
/ while still holding the queue lock
- i->osr->wal_apply_lock.lock();
+ try {
+ i->osr->wal_apply_lock.lock();
+ } catch (const system_error& e) {
+ if (e.code() == std::errc::resource_deadlock_would_occur) {
+ assert(0 == "would deadlock");
+ } else
+ assert(0 == "other system_error");
+ }
return i;
}
2016-05-24 00:02:29.107165
7f0f32ea6700 -1 os/bluestore/BlueStore.h: In
function 'virtual BlueStore::TransContext* BlueStore::WALWQ::_dequeue()'
thread
7f0f32ea6700 time 2016-05-24 00:02:29.103360
os/bluestore/BlueStore.h: 489: FAILED assert(0 == "would deadlock")
ceph version
10.2.0-1232-g21c7599 (
21c759936ddcbfec50cf177a577206a2c443c212 )
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x80) [0x560196215ac0]
2: (ThreadPool::WorkQueue<BlueStore::TransContext>::_void_dequeue()+0x234)[0x560195e618b4]
3: (ThreadPool::worker(ThreadPool::WorkThread*)+0x654) [0x560196207324]
4: (ThreadPool::WorkThread::entry()+0x10) [0x560196208d70]
5: (()+0x760a) [0x7f0f411d260a]
6: (clone()+0x6d) [0x7f0f3f17a59d]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is
needed to interpret this.
This because the wron usage of std::unique_lock.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Boris Ranto [Tue, 24 May 2016 09:05:33 +0000 (11:05 +0200)]
Merge pull request #9218 from ceph/wip-asok-denials
rpm: Packaging fixes
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Nathan Cuthler <ncutler@suse.com>
Yan, Zheng [Tue, 24 May 2016 07:44:24 +0000 (02:44 -0500)]
Merge pull request #8906 from david-z/wip-fix-kcephfs-symlink
mds: wrongly treat symlink inode as normal file/dir when symlink inode is stale on kcephfs
Jiaying Ren [Tue, 24 May 2016 07:02:41 +0000 (15:02 +0800)]
rgw: cleanup RGW_MIN_MULTIPART_SIZE
As the commit
11cf9bbb298768b5307616db5977cc4985072a6e
make rgw_multipart_min_part_size as a config option,
we did not use RGW_MIN_MULTIPART_SIZE anymore.
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
Haomai Wang [Tue, 24 May 2016 06:02:29 +0000 (14:02 +0800)]
Merge pull request #9281 from songbaisen/song29
msg: fix the wrong para in cpp_strerror
Reviewed-by: Kefu Chai <kefu@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
Yan, Zheng [Mon, 23 May 2016 09:40:05 +0000 (17:40 +0800)]
mds: fix race between StrayManager::{eval_stray,reintegrate_stray}
StrayManager::eval_stray() is called after Server::respond_to_request()
drops locks. So it can race with StrayManager::reintegrate_stray()
Fixes: http://tracker.ceph.com/issues/15920
Signed-off-by: Yan, Zheng <zyan@redhat.com>
songbaisen [Tue, 24 May 2016 02:22:34 +0000 (10:22 +0800)]
msg: fix the wrong para in cpp_strerror
Signed-off-by:song baisen <song.baisen@zte.com.cn>
Matt Benjamin [Mon, 23 May 2016 23:00:03 +0000 (19:00 -0400)]
Merge branch 'xio-rename_XioRsp' of https://github.com/Adirl/ceph into Adirl-xio-rename_XioRsp
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Josh Durgin [Mon, 23 May 2016 22:02:41 +0000 (15:02 -0700)]
Merge pull request #9235 from athanatos/wip-throttle
BackoffThrottle: fix for freebsd and avoid spinning when full
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Matt Benjamin [Mon, 23 May 2016 21:24:17 +0000 (17:24 -0400)]
Merge pull request #9276 from linuxbox2/xio-enqueue-2
xio: follow
03d33e59 (enqueue_for_send()->enqueue())
Matt Benjamin [Mon, 23 May 2016 21:22:38 +0000 (17:22 -0400)]
xio: follow
03d33e59 (enqueue_for_send()->enqueue())
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Gregory Farnum [Mon, 23 May 2016 21:21:33 +0000 (14:21 -0700)]
Merge pull request #9275 from ktdreyer/wip-doc-cephfs-jcsp
doc: John Spray is now CephFS lead
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Ken Dreyer [Mon, 23 May 2016 21:17:55 +0000 (15:17 -0600)]
doc: John Spray is now CephFS lead
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Matt Benjamin [Mon, 23 May 2016 21:12:45 +0000 (17:12 -0400)]
Merge pull request #8856 from avnerbh/fixes_4_keepalive_to_xio
xio: provide keepalive(s) and their ack(s)
Casey Bodley [Mon, 23 May 2016 20:55:15 +0000 (16:55 -0400)]
Merge pull request #9171 from weiqiaomiao/wqm-wip-rgw-mem
rgw: fix some memory leak
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Matt Benjamin [Mon, 23 May 2016 20:26:39 +0000 (16:26 -0400)]
Merge pull request #8873 from roidayan/xio-use_xio_session_event_str
xio: use accelio api to get event str
(this is a decision for the Accelio API, we need to follow it)
Matt Benjamin [Mon, 23 May 2016 20:24:34 +0000 (16:24 -0400)]
Merge pull request #9205 from Adirl/fix_compiltaion_entity_addr_t3
Fix compiltaion entity addr t
Casey Bodley [Mon, 23 May 2016 20:07:09 +0000 (16:07 -0400)]
Merge pull request #9229 from oritwas/wip-15937
rgw: add missing metadata_heap pool to old zones
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Boris Ranto [Mon, 23 May 2016 15:06:19 +0000 (17:06 +0200)]
rpm: Restore /var/run/ceph context manually
The fixfiles command won't fix label for /var/run/ceph (/run is probably
excluded from relabel), we need to restore the context manually.
Signed-off-by: Boris Ranto <branto@redhat.com>
Boris Ranto [Fri, 20 May 2016 06:09:42 +0000 (08:09 +0200)]
rpm: Mute semodule in postun script
Currently, we don't mute the semodule output in postun script. This
results in the following message when removing ceph-selinux package:
libsemanage.semanage_direct_remove_key: Removing last ceph module (no
other ceph module exists at another priority).
The fix is to simply mute the output of the command.
Signed-off-by: Boris Ranto <branto@redhat.com>
Boris Ranto [Fri, 20 May 2016 05:43:08 +0000 (07:43 +0200)]
Revert "rpm: put /sbin/ldconfig into -p"
This reverts commit
a53d932fc4a77a1fac33c4f650f2bf629a2f1234 .
If the interpret is passed to postun script, everything until the next
rpm section gets interpreted as the input for the interpret (in this
case ldconfig). This results in warnings like
/sbin/ldconfig: relative path `0' used to build cache
when removing the packages that pass the interpret because we use
several '#' characters to separate the subpackage sections and these get
passed to the ldconfig.
Using the default interpret (bash) fixes the warning. I'm also doing the
same to %post script for consistency.
Signed-off-by: Boris Ranto <branto@redhat.com>
Samuel Just [Wed, 18 May 2016 19:09:10 +0000 (12:09 -0700)]
BackoffThrottle: wait() if past max
Otherwise, we risk spinning on wait_for() with a small
delay.
Fixes: http://tracker.ceph.com/issues/15953
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Wed, 18 May 2016 18:49:19 +0000 (11:49 -0700)]
BackoffThrottle: use wait_for instead of wait_until
On some platforms, wait_until won't surrender the lock
with a negative argument.
Signed-off-by: Samuel Just <sjust@redhat.com>
Casey Bodley [Mon, 23 May 2016 14:53:15 +0000 (10:53 -0400)]
Merge pull request #9249 from tchaikov/wip-cmake-ocf
cmake: add ocf support
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Boris Ranto [Mon, 23 May 2016 14:34:42 +0000 (16:34 +0200)]
Merge pull request #9227 from ceph/rpm-autosetup-kdreyer
ceph.spec.in: use %autosetup macro
Reviewed-by: Nathan Cuthler <ncutler@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Kefu Chai [Mon, 23 May 2016 14:20:54 +0000 (22:20 +0800)]
Merge pull request #9147 from flaf/master
doc: update required packages list to build doc
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 23 May 2016 13:51:27 +0000 (09:51 -0400)]
Merge pull request #9247 from cxwshawn/wip-tc4-fix
global: optimize header file dependency.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 23 May 2016 13:50:50 +0000 (09:50 -0400)]
Merge pull request #9251 from cxwshawn/wip-tc5-fix
client: optimize header file dependency.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 23 May 2016 13:50:13 +0000 (09:50 -0400)]
osd/HitSet.h: add 'override' to virtual functionsReviewed-by: Kefu Chai <kchai@redhat.com>
osd/HitSet.h: add 'override' to virtual functions
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 23 May 2016 13:48:56 +0000 (09:48 -0400)]
Merge pull request #9255 from yuyuyu101/wip-test-msgr-fix
test_msgr: add verbose info for pending connections
Reviewed-by: Sage Weil <sage@redhat.com>
John Spray [Mon, 23 May 2016 11:34:30 +0000 (12:34 +0100)]
Merge pull request #8929 from ajarr/wip-15614
ceph_volume_client: allow read-only authorization for volumes
Reviewed-by: John Spray <john.spray@redhat.com>
Radoslaw Zarzynski [Mon, 23 May 2016 11:27:24 +0000 (13:27 +0200)]
rgw: remove unnecessary data copying in RGWPutMetadataBucket.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Radoslaw Zarzynski [Sun, 22 May 2016 13:32:19 +0000 (15:32 +0200)]
rgw: Fix updating CORS/ACLs during POST on Swift's container.
Introduced in:
7a7de9b75265b978ba4e53966f614fac033972cb
Fixes: http://tracker.ceph.com/issues/15976
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Ramana Raja [Wed, 27 Apr 2016 17:56:44 +0000 (23:26 +0530)]
ceph_volume_client: allow read-only authorization for volumes
Allow clients to be restricted to read-only mount of the volume
by restricting their ceph auth ID's MDS and OSD caps to read-only.
Fixes: http://tracker.ceph.com/issues/15614
Signed-off-by: Ramana Raja <rraja@redhat.com>
Mykola Golub [Mon, 23 May 2016 06:18:34 +0000 (09:18 +0300)]
pybind/rbd: create/clone/copy: default to None for features param
If None is specified don't set the features so that the defaults is
used.
Fixes: http://tracker.ceph.com/issues/15982
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Mon, 23 May 2016 06:16:38 +0000 (09:16 +0300)]
librbd: clone: default to parent features
Fixes: http://tracker.ceph.com/issues/15982
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Jason Dillaman [Sun, 22 May 2016 20:14:18 +0000 (16:14 -0400)]
Merge pull request #8473 from rjfd/wip-14421
rbd-mirror: Delete local image mirror when remote image mirroring is disabled
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Ricardo Dias [Fri, 13 May 2016 15:47:25 +0000 (16:47 +0100)]
rbd-mirror: test: added image-deleter test case when mirroring is disabled
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Fri, 13 May 2016 15:44:53 +0000 (16:44 +0100)]
rbd-mirror: Unregister clients from non-primary images journal
A non-primary image may have registered clients on its journal
(for instance a primary image that was later demoted). We must
unregister the clients when disabling image mirroring with the
force option.
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 19 Apr 2016 11:35:49 +0000 (12:35 +0100)]
rbd-mirror: test: Added unit test for testing image-deleter thread
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Mon, 18 Apr 2016 11:22:19 +0000 (12:22 +0100)]
rbd-mirror: test: Fixed test_PoolWatcher to support the new changes in PoolWatcher class
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 5 Apr 2016 08:47:32 +0000 (09:47 +0100)]
rbd-mirror: Replayer: bootstrap existing mirrored images
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Thu, 28 Apr 2016 10:49:43 +0000 (11:49 +0100)]
rbd-mirror: replayer: Added image-deleter thread to replayer
Fixes: http://tracker.ceph.com/issues/14421
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Thu, 28 Apr 2016 10:48:05 +0000 (11:48 +0100)]
rbd-mirror: Added image-deleter thread to rbd-mirror
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Wed, 13 Apr 2016 14:17:40 +0000 (15:17 +0100)]
rbd-mirror: Added implementation of image-deleter thread
image-deleter thread will handle the deletion of local images that have
been disabled for mirroring by the primary site.
Signed-off-by: Ricardo Dias <rdias@suse.com>
Jason Dillaman [Sun, 22 May 2016 19:45:11 +0000 (15:45 -0400)]
Merge pull request #9179 from vshankar/rbd-min-commit-position
cls_journal: initialize empty commit position upon client register
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Sun, 22 May 2016 19:44:53 +0000 (15:44 -0400)]
Merge pull request #7836 from yuyuyu101/wip-13938
TaskFinisher: use singleton SafeTimer and Finisher
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Haomai Wang [Sun, 22 May 2016 15:43:47 +0000 (23:43 +0800)]
test_msgr: add verbose info for pending connections
Signed-off-by: Haomai Wang <haomai@xsky.com>
cxwshawn [Sun, 22 May 2016 07:04:46 +0000 (15:04 +0800)]
client: optimize header file dependency.
same work as https://github.com/ceph/ceph/pull/9247
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
xie xingguo [Sun, 22 May 2016 06:39:47 +0000 (14:39 +0800)]
os/filestore: standardize lock name for better tracing
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>