]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Wed, 8 Mar 2017 20:01:28 +0000 (15:01 -0500)]
os/bluestore: reimplement/rename _sync -> _flush_all
The old implementation is racy and doesn't actually work. Instead, rely
on a list of all OpSequencers and drain them all.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 14 Mar 2017 02:49:41 +0000 (22:49 -0400)]
os/bluestore: keep all OpSequencers registered
Maintain the set of all live OpSequencers.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 11 Mar 2017 19:30:53 +0000 (14:30 -0500)]
os/bluestore: keep onode refs for lifetime of obc
This ensures that we don't trim an onode from the cache while it has a
txc that is still in flight. Which in turn ensures that if we try to read
the object, we will have any writing buffers available.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 11 Mar 2017 19:21:47 +0000 (14:21 -0500)]
os/bluestore: make OnodeSpace onode_map private
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 9 Mar 2017 23:05:48 +0000 (18:05 -0500)]
os/bluestore: make Sequencer::flush() more efficient
BlueStore collection methods only need preceding transactions to be
applied to the kv db; they do not need to be committed.
Note that this is *only* needed for collection listings; all other read
operations are immediately safe after queue_transactions().
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 14 Mar 2017 02:49:37 +0000 (22:49 -0400)]
os/bluestore: add OpSequencer::drain()
Currently this is the same as flush, but more precisely it is an internal
method that means all txc's must complete. Update _wal_apply() to use it
instead of flush(), which is part of the public Sequencer interface.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 8 Mar 2017 20:45:31 +0000 (15:45 -0500)]
os/bluestore: revert throttle perfcounters
This reverts
3e40595f3cd8626cdceffa4a3a4efb088127f726
The individual throttles have their own set of perfcounters; no need to
duplicate them here.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 8 Mar 2017 19:57:52 +0000 (14:57 -0500)]
os/bluestore: release deferred throttle on io finish, before cleanup
The throttle is really about limiting deferred IO; we do not need to
actually remove the deferred record from the kv db before queueing more.
(In fact, the txc that queues more will do the cleanup.)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 8 Mar 2017 19:51:39 +0000 (14:51 -0500)]
os/bluestore: separate _txc_finish_kv into _txc_{applied,committed}_kv
We can unblock flush()ing threads as soon as we have applied to the kv db,
while the callbacks must wait until we have committed.
Move methods around a bit to better match the execution order.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 8 Mar 2017 19:48:12 +0000 (14:48 -0500)]
os/bluestore: make flush() only wait for kv commit
The only remaining flush() users only need to see previous txc's applied
to the kv db (e.g., _omap_clear needs to see the records to delete them).
Signed-off-by: Sage Weil <sage@redhat.com>
# Conflicts:
# src/os/bluestore/BlueStore.h
Sage Weil [Wed, 8 Mar 2017 19:45:27 +0000 (14:45 -0500)]
os/bluestore: no need to Onode::flush() on truncate
We do not release extents until after any deferred IO, so this flush() is
unnecessary.
Signed-off-by: Sage Weil <sage@redhat.com>
# Conflicts:
# src/os/bluestore/BlueStore.cc
Sage Weil [Mon, 6 Mar 2017 18:51:30 +0000 (13:51 -0500)]
os/bluestore: no need to Onode::flush() in _do_read
We now ensure that deferred writes are in cache until the txc retires,
so there is no need to wait here.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 6 Mar 2017 18:50:30 +0000 (13:50 -0500)]
os/bluestore: pin writing cache buffers until txc is finished
Notably, this includes WAL writes, which means an in-flight WAL write will
always be in the cache.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 9 Mar 2017 14:38:50 +0000 (09:38 -0500)]
os/bluestore: write padded data into buffer cache
We rely on the buffer cache to avoid reading any deferred write data. In
order for that to work, we have to ensure the entire block whose
overwrite is deferred is in the buffer cache. Otherwise, a write to 0~5
that results in a deferred write could break a subsequent read from 5~5
that reads the same block from disk before the deferred write lands.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 8 Mar 2017 19:28:55 +0000 (14:28 -0500)]
os/bluestore: update freelist on initial commit
It does not matter if we update the freelist in the initial commit or when
cleaning up the deferred transaction; both will eventually update the
persistent kv freelist. We maintain one case to ensure that legacy
deferred events (from a kraken upgrade) release when they are replayed.
What matters while online is the Allocator, which has an independent
in-memory copy of the freelist to make decisions. And we can delay that
as long as we want. To avoid any concerns about deferred writes racing
against released blocks, just defer any release until the txc is fully
completed (including any deferred writes). This ensures that even if we
have a pattern like
txc 1: schedule deferred write on block A
txc 2: release block A
txc 1+2: commit
txc 2: done!
txc 1: do deferred write
txc 1: done!
then txc 2 won't do its release because it is stuck behind txc 1 in the
OpSequencer queue:
...
txc 1: reaped
txc 2: reaped (and extents released to alloc)
This builds in some delay in just-released space being usable again, but
it should be a very small amount of space relative to the size of the
store!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 8 Mar 2017 19:04:47 +0000 (14:04 -0500)]
os/bluestore: wal -> deferred
"wal" can refer to both the rocksdb wal (effectively, or journal) and the
"wal" events we include in it (mainly promises to do future IO or release
extents to the freelist). This is super confusing!
Instead, call them 'deferred'.. deferred transactions, ops, writes, or
releases.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 9 Mar 2017 21:46:50 +0000 (16:46 -0500)]
vstart.sh: larger wal device
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 21 Mar 2017 17:58:14 +0000 (12:58 -0500)]
Merge pull request #14030 from tchaikov/wip-denc-without-nullptr
os/bluestore: do not use nullptr to calc the size of bluestore_pextent_t
Reviewed-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Tue, 21 Mar 2017 15:42:15 +0000 (11:42 -0400)]
Merge pull request #12041 from yangdongsheng/rbd_mirror_clone
librbd: asynchronous clone state machine
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Tue, 21 Mar 2017 14:41:59 +0000 (22:41 +0800)]
Merge pull request #14058 from tchaikov/wip-doc-linkcheck
doc: add optional argument for build-doc
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: liuchang0812 <liuchang0812@gmail.com>
Mykola Golub [Tue, 21 Mar 2017 14:40:36 +0000 (16:40 +0200)]
Merge pull request #14023 from dillaman/wip-rbd-coverity
librbd: fix valid coverity warnings
Reviewed-by: Pan Liu <liupan1111@gmail.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Tue, 21 Mar 2017 14:37:04 +0000 (16:37 +0200)]
Merge pull request #14034 from liupan1111/wip-fix-comment-nbd
rbd-nbd: fix typo in comment
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Pan Liu [Tue, 21 Mar 2017 11:22:26 +0000 (19:22 +0800)]
rbd-nbd: fix typo in comment.
Signed-off-by: Pan Liu <liupan1111@gmail.com>
Kefu Chai [Tue, 21 Mar 2017 04:49:45 +0000 (12:49 +0800)]
doc: cephfs: fix the unexpected indent warning
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 21 Mar 2017 04:22:57 +0000 (12:22 +0800)]
admin/build-doc: support optional argument for specifying sphinx builders
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 21 Mar 2017 03:46:12 +0000 (11:46 +0800)]
Merge pull request #13997 from tchaikov/wip-doc-fixings
doc: fixes to silence sphinx-build
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Brad Hubbard [Tue, 21 Mar 2017 03:35:09 +0000 (13:35 +1000)]
Merge pull request #14057 from badone/wip-RadosImport-connect
tools/rados: Check return value of connect
Reviewed-by: David Zafman <dzafman@redhat.com>
Brad Hubbard [Tue, 21 Mar 2017 02:22:20 +0000 (12:22 +1000)]
tools/rados: Check return value of connect
Fail gracefully if Rados::connect returns an error.
Fixes: http://tracker.ceph.com/issues/19319
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Haomai Wang [Mon, 20 Mar 2017 21:18:20 +0000 (05:18 +0800)]
Merge pull request #13971 from optimistyzy/0315_1
os/blestore/NVMEDevice: fix the I/O logic for read
Reviewed-by: Haomai Wang <haomai@xsky.com>
Yuri Weinstein [Mon, 20 Mar 2017 20:05:54 +0000 (13:05 -0700)]
Merge pull request #13923 from xiexingguo/wip-clean-pglog-t
OSD: drop parameter t from merge_log()
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Yuri Weinstein [Mon, 20 Mar 2017 20:04:44 +0000 (13:04 -0700)]
Merge pull request #13938 from jimmyway/wip-chg-return-value-to-refs
osd: replace object_info_t::operator=() with decode()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Mon, 20 Mar 2017 20:03:58 +0000 (13:03 -0700)]
Merge pull request #13980 from majianpeng/filejournal-bufferlist-rebuild
os/filestore/FileJournal: bufferlist rebuild
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 20 Mar 2017 15:20:48 +0000 (10:20 -0500)]
Merge pull request #13535 from dongbula/add-rgw-finisher-to-perfcounter
rgw: add radosclient finisher to perf counter
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 20 Mar 2017 14:25:39 +0000 (10:25 -0400)]
Merge pull request #13955 from wangzhengyong/notify_finish
rgw: handle error return value in build_linked_oids_index
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 20 Mar 2017 14:25:14 +0000 (10:25 -0400)]
Merge pull request #13820 from mikulely/cleanup-rgw-lc
rgw: cleanup lifecycle managament
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 20 Mar 2017 14:20:43 +0000 (10:20 -0400)]
Merge pull request #13481 from theanalyst/rgw/env-dout
rgw: don't log the env_map twice
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Matt Benjamin [Mon, 20 Mar 2017 13:54:02 +0000 (09:54 -0400)]
Merge pull request #13895 from guihecheng/rgw_file-fix
rgw_file: fix reversed return value of getattr
Matt Benjamin [Mon, 20 Mar 2017 13:44:18 +0000 (09:44 -0400)]
Merge pull request #14045 from guihecheng/rgw_file-fix-retcode
rgw_file: fix non-negative return code for open operation
Jason Dillaman [Mon, 20 Mar 2017 13:37:41 +0000 (09:37 -0400)]
Merge pull request #14049 from yangdongsheng/rbd_cleanup
cleanup: rbd: fix a typo in comment
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Ziye Yang [Wed, 15 Mar 2017 06:32:53 +0000 (14:32 +0800)]
Bluestore,NVMEDEVICE: fix the I/O logic for READ
Aio_submit will submit both aio_read/write, and also there
are synchronized read and random read, so we need to
handle the read I/O completion in a correct way.
Since random read has its own ioc, so the
num_reading for ioc will be at most 1, which will be easy
to handle in io_complete. And we need only to differentiate
whethere it is an aio_read.
Also fix the exception logic in command send, make the style
consistent.
Signed-off-by: optimistyzy <optimistyzy@gmail.com>
Kefu Chai [Mon, 20 Mar 2017 07:49:08 +0000 (15:49 +0800)]
Merge pull request #13936 from ZVampirEM77/cleanup-rgw-doc
doc: fix typos in radosgw-admin usage
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 20 Mar 2017 07:32:28 +0000 (15:32 +0800)]
Merge pull request #13559 from voidbag/wip-fix-_open_super_meta
os/bluestore: fix bug in _open_super_meta()
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 20 Mar 2017 07:31:10 +0000 (15:31 +0800)]
Merge pull request #13718 from aclamk/wip-bs-indexed-bitshift
os/bluestore: cleanup, got rid of table reference of 1<<x
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 20 Mar 2017 07:30:29 +0000 (15:30 +0800)]
Merge pull request #13769 from wangzhengyong/wip-noid
os/bluestore: "noid" is not always necessary in clone op
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 20 Mar 2017 07:28:58 +0000 (15:28 +0800)]
Merge pull request #13804 from xiaoxichen/fix_adminsocket
pybind/ceph_daemon: use small chunk for recv
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 20 Mar 2017 07:28:01 +0000 (15:28 +0800)]
Merge pull request #13814 from liupan1111/wip-fix-remove-when-full
rados: allow "rados purge" to delete objects when osd is full
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Mon, 20 Mar 2017 07:26:54 +0000 (15:26 +0800)]
Merge pull request #13822 from Liuchang0812/wip-event-center-bug
msg/async: fix crash that writing char to nonblock-fd gets EAGAIN in EventCenter::wakeup
Reviewed-by: Haomai Wang <haomai@xsky.com>
Kefu Chai [Mon, 20 Mar 2017 07:25:34 +0000 (15:25 +0800)]
Merge pull request #13853 from tchaikov/wip-19134
mon/MonClient: don't return zero global_id
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Mon, 20 Mar 2017 06:49:48 +0000 (14:49 +0800)]
Merge pull request #13899 from jcsp/wip-19245
mds: fix handling very fast delete ops
Kefu Chai [Mon, 20 Mar 2017 04:12:28 +0000 (12:12 +0800)]
Merge pull request #14007 from badone/wip-api-doc-code-fixes
docs: Fix problems with example code
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 20 Mar 2017 04:05:36 +0000 (12:05 +0800)]
Merge pull request #14028 from tchaikov/wip-kill-gcc-warning
os/bluestore: silence gcc warning
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Kefu Chai [Mon, 20 Mar 2017 04:04:05 +0000 (12:04 +0800)]
Merge pull request #13969 from tchaikov/wip-ceph-disk-manpage-formatting
man/8/ceph-disk: fix formatting
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Gui Hecheng [Mon, 20 Mar 2017 02:53:46 +0000 (10:53 +0800)]
rgw_file: fix non-negative return code for open operation
The nfs-ganesha expects a negative retcode for errors.
Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
Matt Benjamin [Mon, 20 Mar 2017 00:01:45 +0000 (20:01 -0400)]
Merge pull request #13988 from guihecheng/rgw_file-fix-rename
rgw_file: fix double unref on rgw_fh for rename
Brad Hubbard [Sun, 19 Mar 2017 00:03:42 +0000 (10:03 +1000)]
Merge pull request #14033 from wjin/clean
mon/PGMonitor: rm nonused function
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Wei Jin [Sat, 18 Mar 2017 13:50:54 +0000 (21:50 +0800)]
mon/PGMonitor: rm nonused function
Signed-off-by: Wei Jin <wjin.cn@gmail.com>
Kefu Chai [Sat, 18 Mar 2017 09:07:48 +0000 (17:07 +0800)]
os/bluestore: do not use nullptr to calc the size of bluestore_pextent_t
see also #13889, otherwise this segfaults when compiled with -O0.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 18 Mar 2017 08:39:27 +0000 (16:39 +0800)]
os/bluestore: silence gcc warning
src/os/bluestore/BitAllocator.h:410:8: warning: ‘virtual bool
BitMapAreaIN::child_check_n_lock(BitMapArea*, int64_t, bool)’ was
hidden [-Woverloaded-virtual]
bool child_check_n_lock(BitMapArea *child, int64_t required, bool
lock) {
^~~~~~~~~~~~~~~~~~
/var/ceph/ceph/src/os/bluestore/BitAllocator.h:489:8: warning: by
‘BitMapAreaLeaf::child_check_n_lock’ [-Woverloaded-virtual]
bool child_check_n_lock(BitMapZone* child, int64_t required, bool
lock);
^~~~~~~~~~~~~~~~~~
Signed-off-by: Kefu Chai <kchai@redhat.com>
Loic Dachary [Sat, 18 Mar 2017 07:48:58 +0000 (08:48 +0100)]
Merge pull request #13917 from nikitych/add-oracle-distros
ceph-detect-init: Adds Oracle Linux Server and Oracle VM Server detect
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Xie Xingguo [Sat, 18 Mar 2017 07:27:36 +0000 (15:27 +0800)]
Merge pull request #14006 from ShiqiCooperation/master
test/unittest_bluefs: remove unused variable
Signed-off-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Sat, 18 Mar 2017 07:09:53 +0000 (09:09 +0200)]
Merge pull request #14005 from liupan1111/wip-fix-resize-issue
rbd-nbd: update size only when NBD_SET_SIZE successful
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Yuri Weinstein [Fri, 17 Mar 2017 21:39:04 +0000 (14:39 -0700)]
Merge pull request #13922 from gregsfortytwo/wip-pg-unsigned-warning
osd: fix a signed/unsigned warning in PG
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Fri, 17 Mar 2017 21:35:45 +0000 (14:35 -0700)]
Merge pull request #13946 from LiumxNL/wip-170313
osd: don't share osdmap with objecter when preboot
Reviewed-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Fri, 17 Mar 2017 18:53:35 +0000 (14:53 -0400)]
librbd: fix valid coverity warnings
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Fri, 17 Mar 2017 18:36:42 +0000 (13:36 -0500)]
Merge pull request #13911 from liewegas/wip-bluestore-fix-flush
os/bluestore: fix bugs in bluefs and bdev flush
Reviewed-by: Haomai Wang <haomai@xsky.com>
Mykola Golub [Fri, 17 Mar 2017 17:01:00 +0000 (19:01 +0200)]
Merge pull request #12364 from dillaman/wip-rbd-mirror-notifications
rbd-mirror: replace remote pool polling with add/remove notifications
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Jason Dillaman [Fri, 17 Mar 2017 16:55:48 +0000 (12:55 -0400)]
Merge pull request #12970 from VictorDenisov/snapshot_namespace_index
librbd: add SnapshotNamespace to ImageCtx
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
John Spray [Fri, 17 Mar 2017 16:04:07 +0000 (16:04 +0000)]
Merge pull request #14019 from singler/wip-cleanup-create_new_fs
mon/MDSMonitor: remove create_new_fs from header
Reviewed-by: John Spray <john.spray@redhat.com>
Casey Bodley [Fri, 17 Mar 2017 13:40:17 +0000 (09:40 -0400)]
Merge pull request #13684 from shashalu/rgw-admin-init-bucket-for-sync
rgw: fix init_bucket_for_sync retcode
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Henrik Korkuc [Fri, 17 Mar 2017 13:29:11 +0000 (15:29 +0200)]
mon/MDSMonitor: remove create_new_fs from header
create_new_fs was refactored and moved earlier. This removes a left
over header entry.
Signed-off-by: Henrik Korkuc <henrik@kirneh.eu>
Haomai Wang [Fri, 17 Mar 2017 10:18:05 +0000 (18:18 +0800)]
Merge pull request #14012 from optimistyzy/0317_2
bluestore,NVMEDevice: minor error for get slave core
Reviewed-by: Haomai Wang <haomai@xsky.com>
Ziye Yang [Fri, 17 Mar 2017 09:23:07 +0000 (17:23 +0800)]
bluestore,NVMEDevice: minor error for get slave core
The second parameter should set to 1 to skip master core.
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Loic Dachary [Fri, 17 Mar 2017 08:26:10 +0000 (09:26 +0100)]
Merge pull request #13646 from mslovy/wip-fix-test-pidfile
test: fix test_pidfile
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Jiaying Ren [Thu, 16 Mar 2017 03:20:12 +0000 (11:20 +0800)]
doc: fix typos in common/config_opts.h comments
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
Jiaying Ren [Wed, 15 Mar 2017 14:03:15 +0000 (22:03 +0800)]
rgw: kill dead lc config options
+ rgw_lifecycle_enabled is redundant with rgw_enable_lc_threads,which is
wildly used.
+ rgw_lifecycle_thread is never used.
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
Jiaying Ren [Wed, 15 Mar 2017 08:30:24 +0000 (16:30 +0800)]
rgw: cleanup redundant file include for lc
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
Brad Hubbard [Fri, 17 Mar 2017 06:12:41 +0000 (16:12 +1000)]
docs: Fix problems with example code
Current code generates warnings and, in some cases, doesn't compile.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
shiqi [Fri, 17 Mar 2017 02:08:39 +0000 (10:08 +0800)]
test: Invalid local variables and it is in an infinite loop
Signed-off-by: shiqi <1454927420@qq.com>
Pan Liu [Fri, 17 Mar 2017 01:56:37 +0000 (09:56 +0800)]
rbd-nbd: only set size to new_size when NBD_SET_SIZE successfully.
Signed-off-by: Pan Liu <liupan1111@gmail.com>
Gui Hecheng [Wed, 15 Mar 2017 07:01:05 +0000 (15:01 +0800)]
rgw_file: fix double unref on rgw_fh for rename
Skip unref after unlink to fix the problem.
Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
lu.shasha [Tue, 28 Feb 2017 06:28:38 +0000 (14:28 +0800)]
rgw: fix init_bucket_for_sync retcode
init_bucket_for_sync error retcode should be negative
Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
Jason Dillaman [Wed, 15 Mar 2017 15:18:01 +0000 (11:18 -0400)]
rbd-mirror: move replayer admin socket hook to anonymous namespace
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 15 Mar 2017 15:16:24 +0000 (11:16 -0400)]
rbd-mirror: refresh local images after acquiring leader role
The local image id set should be up-to-date when attempting to
determine which images need to be deleted.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 22 Nov 2016 18:47:37 +0000 (13:47 -0500)]
rbd-mirror: utilize the mirroring watcher to receive update notifications
Fixes: http://tracker.ceph.com/issues/15029
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 28 Nov 2016 21:02:07 +0000 (16:02 -0500)]
rbd-mirror: templatize Threads helper class for mock tests
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Matt Benjamin [Thu, 16 Mar 2017 20:15:23 +0000 (16:15 -0400)]
Merge pull request #13953 from linuxbox2/wip-rmdir-check
rgw_file: implement reliable has-children check (unlink dir)
Tamilarasi Muthamizhan [Thu, 16 Mar 2017 17:40:24 +0000 (10:40 -0700)]
Merge pull request #13951 from smithfarm/wip-drop-obsolete-bt
tests: drop obsolete Perl scripts
Mykola Golub [Thu, 16 Mar 2017 17:18:34 +0000 (19:18 +0200)]
Merge pull request #13944 from liupan1111/wip-fix-nbd-issues
rbd-nbd: don't ignore --read-only option in BLKROSET ioctl
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Casey Bodley [Thu, 16 Mar 2017 16:37:43 +0000 (12:37 -0400)]
Merge pull request #13893 from hrchu/rgw-admin-api-doc
doc: Update adminops.rst
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 16 Mar 2017 16:20:20 +0000 (12:20 -0400)]
Merge pull request #13688 from theanalyst/fix/rgw/http-client-dout-msg
rgw: http_client clarify the debug msg function call
Reviewed-by: Casey Bodley <cbodley@redhat.com>
John Wilkins [Thu, 16 Mar 2017 16:19:59 +0000 (09:19 -0700)]
Merge pull request #13985 from ebozag/master
doc: Fixes a typo.
Reviewed-by: John Wilkins <jowilkin@redhat.com>
Casey Bodley [Thu, 16 Mar 2017 16:19:36 +0000 (12:19 -0400)]
Merge pull request #13761 from zhangsw/cleanup-rgw-unlinkobj
rgw: correct the debug info when unlink instance failed.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Matt Benjamin [Wed, 15 Mar 2017 20:35:16 +0000 (16:35 -0400)]
rgw_file: remove unused rgw_key variable
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Wed, 15 Mar 2017 20:40:35 +0000 (16:40 -0400)]
rgw_file: rgw_readdir: return dot-dirs only when *offset is 0
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Tue, 14 Mar 2017 01:52:08 +0000 (21:52 -0400)]
rgw_file: implement reliable has-children check (unlink dir)
Bug report and discussion provided by
Gui Hecheng <guihecheng@cmss.chinamobile.com> in nfs-ganesha upstream
github. Briefly, while a reliable check is potentially costly,
it is necessary.
Fixes: http://tracker.ceph.com/issues/19270
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Thu, 16 Mar 2017 15:37:14 +0000 (11:37 -0400)]
Merge pull request #13408 from zhangsw/fix-rgw-loglevel
rgw: change loglevel to 5 in user's quota sync.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Haomai Wang [Thu, 16 Mar 2017 15:14:05 +0000 (23:14 +0800)]
Merge pull request #14001 from Adirl/rdma-cm-1
msg/async/rdma: Introduce Device.{cc,h}
Reviewed-by: Haomai Wang <haomai@xsky.com>
Kefu Chai [Thu, 16 Mar 2017 15:05:42 +0000 (23:05 +0800)]
Merge pull request #13930 from drunkard/master
doc: fix a typo
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 16 Mar 2017 15:02:39 +0000 (23:02 +0800)]
Merge pull request #13958 from wangzhengyong/have_output
mon: drop useless assignment statements
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Amir Vadai [Wed, 15 Mar 2017 09:08:38 +0000 (11:08 +0200)]
msg/async/rdma: Introduce Device.{cc,h}
Later on, multidevice support will be added and Device class will be the
main RDMA class (instead of Infiniband as it is today).
Issue: 995322
Change-Id: I060d849de21c8f847dd11ecd3edf1ddfb79b0820
Signed-off-by: Amir Vadai <amir@vadai.me>