optimistyzy
edb0e7d4c6
NVMEDevice.cc: cleanup the logic in data_buf_next_sge
...
Signed-off-by: optimistyzy <optimistyzy@gmail.com>
2017-01-23 11:00:02 +08:00
Sage Weil
65f5187e42
Merge pull request #12980 from liewegas/wip-osdop-printer
...
osd/osd_types: clean up OSDOp printers
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-22 10:45:37 -06:00
Sage Weil
1bda01736f
osd/osd_types: clean up OSDOp printers
...
Specify which ones get offset~length instead of blacklisting those that
don't.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-22 11:44:46 -05:00
Sage Weil
55b96a3b65
Merge pull request #12950 from liewegas/wip-omap-getkeys
...
osd: extend OMAP_GETKEYS and GETVALS to include a 'more' output field
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-01-22 10:44:04 -06:00
Sage Weil
9a6a276aa2
Merge pull request #12961 from songbaisen/s10
...
crush: when osd_location_hook does not exist, we should exit error.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-22 10:43:27 -06:00
Sage Weil
5dccac8697
Merge pull request #12975 from wonzhq/fix-pgstats-down
...
mon: don't set last_osd_report when the pg stats msg is ignored
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-22 10:43:00 -06:00
Sage Weil
c0b4ced7b1
Merge pull request #12976 from LiumxNL/wip-170118
...
osd/OSDMap: get_previous_up_osd_before() may run into endless loop
Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-22 10:42:33 -06:00
Sage Weil
4bad4bd86a
Merge pull request #12981 from liewegas/wip-crush-move-osd
...
mon/OSDMonitor: make 'osd crush move ...' work on osds
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-22 10:42:08 -06:00
Sage Weil
7495487e56
Merge pull request #13008 from athanatos/wip-clone-range
...
osd,librados: remove clone_range and associated multi-object cruft
Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-22 10:41:55 -06:00
Mykola Golub
fce69f6348
Merge pull request #13033 from dillaman/wip-18618
...
journal: don't hold future lock during assignment
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-01-22 14:52:32 +02:00
Xie Xingguo
24413051d6
Merge pull request #13051 from chuanhong-wang/dev_conf_clean
...
common: delete unused conf "filestore_debug_disable_sharded_check"
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-22 13:35:50 +08:00
chuanhong.wang
57c1542ed4
common: delete unused conf "filestore_debug_disable_sharded_check"
...
Signed-off-by: Chuanhong Wang <chuanhong.wang@163.com>
2017-01-22 12:23:40 +08:00
Mykola Golub
11dce465f0
Merge pull request #13042 from dillaman/wip-librbd-compile-warning
...
librbd: fixed initializer list ordering
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-01-21 17:52:42 +02:00
Jason Dillaman
0f21ceef83
journal: don't hold future lock during assignment
...
It's possible that the future raced with its owner and reaches
an empty reference count. This was resulting in the future being
destructed while its lock was still held.
Fixes: http://tracker.ceph.com/issues/18618
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-21 09:48:14 -05:00
Jason Dillaman
4da2326252
librbd: fixed initializer list ordering
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-21 09:17:36 -05:00
Sage Weil
1f150f8a52
PendingReleaseNotes: mention old clients vs new OSDs
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-20 17:52:18 -05:00
Sage Weil
2d9cfadf71
rados: use bare omap_get_keys op
...
This handles the client-side looping on 'more' if the OSD limits
the response size.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-20 17:52:18 -05:00
Sage Weil
faec324f64
ceph_test_rados: pass nullptr for pmore for omap fetch
...
Assume OSD limits are hugh enough.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-20 17:52:18 -05:00
Sage Weil
35671cedb2
rados: omap bench: pass null for pmore for omap fetch
...
Assume OSD limits are high enough for us.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-20 17:52:18 -05:00
Sage Weil
b9f4194306
ceph_test_rados_*: use new omap methods
...
Make these tests pass nullptr for pmore. This codifies our
assumption that the OSD limits are high enough.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-20 17:52:18 -05:00
Sage Weil
fbebd83537
librados: add omap_get_{keys,vals}2 with pmore output arg
...
Expose public methods that include a new output argument to indicate
whether there are more keys to fetch or not.
Mark the old interfaces deprecated.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-20 17:52:17 -05:00
Sage Weil
cfa6f7932e
osdc/Objecter: infer ptruncated on old OSDs via max_entries
...
If we do not get an explicit 'more' value from the OSD, infer it by
checking whether we got the max requested entries. On old OSDs, which
don't enforce a limit, this will work. On new OSDs, we will get the
explicit result.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-20 17:52:17 -05:00
Mykola Golub
af9152f34a
Merge pull request #12991 from dillaman/wip-17447
...
librbd: avoid possible recursive lock when racing acquire lock
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-01-20 19:50:02 +02:00
Mykola Golub
709198ae02
Merge pull request #12982 from dillaman/wip-18524
...
librbd: remove unnecessary dependencies of ManagedLock
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-01-20 19:49:36 +02:00
Sage Weil
4b7258a8ad
Merge pull request #13010 from liewegas/wip-bluestore-allocator
...
os/bluestore: fix Allocator::allocate() int truncation
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-20 11:13:47 -06:00
Kefu Chai
d8e4a2c204
Merge pull request #12908 from tchaikov/wip-rocksdb
...
rocksdb: build with ppc64
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2017-01-20 22:41:04 +08:00
John Spray
2d253c30d8
Merge pull request #12830 from renhwztetecs/renhw-wip-libcephfs-misc
...
libcephfs: cleanups
Reviewed-by: John Spray <john.spray@redhat.com>
2017-01-20 15:29:30 +01:00
John Spray
abb2608b6b
Merge pull request #12994 from ukernel/wip-18487
...
mds: add authority check for delay dirfrag split
Reviewed-by: John Spray <john.spray@redhat.com>
2017-01-20 15:28:12 +01:00
Sage Weil
e19aa84846
os/bluestore: fix Allocator::allocate() int truncation
...
An allocation of size 0x80000000 gets truncated to 0. Larger values can
break things in similar ways.
Introduced in 5ab034345d
.
Fixes: http://tracker.ceph.com/issues/18595
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-19 19:51:45 -06:00
Alfredo Deza
3e75c6bea6
Merge pull request #12947 from smatzek/fix_18538
...
ceph-disk: use correct user in check_journal_req
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-01-19 18:39:59 -05:00
Sage Weil
b6aef08cc9
osdc/Objecter: add pmore argument to omap_get_{keys,vals}
...
Note that the MDS callers have new #warnings indicating that they
are not providing the pmore argument and are thus broken. (They
were already broken.)
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-19 15:59:30 -06:00
Sage Weil
d6dcf417c2
osd/PrimaryLogPG: tell client if we truncate results
...
If we truncate the results of the omap read commands,
provide a flag so that the caller knows there is more
to be read. We don't need to provide the name of the
next key because the interface is defined as
"start_after" (not "start_with"), allowing them to use
the last key they received.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-19 15:59:30 -06:00
Casey Bodley
5db320ce93
Merge pull request #12865 from ceph/wip-rgw-18476
...
rgw: fix handling RGWUserInfo::system in RGWHandler_REST_SWIFT.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-01-19 11:00:12 -05:00
Sage Weil
00222af585
Merge pull request #12968 from liewegas/wip-kraken-notes
...
doc/release-notes: final kraken notes
2017-01-19 06:57:54 -06:00
Sage Weil
47956475de
mon/OSDMonitor: make 'osd crush move ...' work on osds
...
Currently it only allows you to move buckets, which is annoying and much
less useful. To move an OSD you need to use create-or-move, which is
harder to use.
Fixes: http://tracker.ceph.com/issues/18587
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-19 06:54:54 -06:00
Sage Weil
04980b7d83
Merge pull request #12963 from liewegas/wip-bluestore-extents
...
os/bluestore: fix reclaim_blocks and clean up Allocator interface
Reviewed-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-01-19 06:29:25 -06:00
John Spray
36874c8d0c
Merge pull request #12550 from stiopaa1/B9935_segfaultInRmDir
...
client/Client.cc: prevent segfaulting
Reviewed-by: John Spray <john.spray@redhat.com>
2017-01-19 09:15:27 +01:00
Yan, Zheng
5de08f099b
mds: add authority check for delay dirfrag split
...
the dirfrag can be migareted to other mds while waiting in the
timer.
Fixes: http://tracker.ceph.com/issues/18487
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-01-19 15:30:19 +08:00
Kefu Chai
e1d13284e0
Merge pull request #12988 from SUSE/wip-submitting-patches
...
doc: clarify SubmittingPatches.rst
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-19 13:30:03 +08:00
Jason Dillaman
5e46e8eb66
librbd: avoid possible recursive lock when racing acquire lock
...
Fixes: http://tracker.ceph.com/issues/17447
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-18 20:54:22 -05:00
Yehuda Sadeh
5c5147efdf
Merge pull request #12492 from yehudasa/wip-func-oid-tracing
...
osd, messenger, librados: lttng oid tracing
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-01-18 15:19:21 -08:00
Jason Dillaman
7b62e5ec4c
librbd: clean up pre-release lock handling
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-18 16:44:43 -05:00
Jason Dillaman
1a34fcefee
test: separate testing of exclusive lock from managed lock
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-18 16:44:43 -05:00
Jason Dillaman
2a86f48c89
librbd: removed ManagedLock dependency from ancillary classes
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-18 16:44:43 -05:00
Matt Benjamin
611b7120fe
Merge pull request #12972 from linuxbox2/wip-librgw-shut
...
rgw: librgw shut
2017-01-18 16:31:26 -05:00
Nathan Cutler
736b8039f5
doc: clarify SubmittingPatches.rst
...
This commit clarifies that folks opening bugfix PRs that need backporting to
one or more stable branches should always target master, and that the
backporting itself takes place only after the master PR is merged.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-18 22:20:17 +01:00
Casey Bodley
a18c7e1239
Merge pull request #12907 from theanalyst/wip-18064
...
rgw: sync status compares the current master period
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-01-18 14:21:41 -05:00
Casey Bodley
37ff492351
Merge pull request #12357 from dongbula/fix-versioned-bucket-datasync-fail
...
rgw: fix versioned bucket data sync fail when upload is busy
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-01-18 14:21:00 -05:00
Jason Dillaman
d82508da72
Merge pull request #12945 from jimmyway/wip-add-cmd-snap-set-limit-prompt
...
rbd: add error prompt when input command 'snap set limit' is incomplete
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-18 14:15:58 -05:00
Jason Dillaman
dacf4da901
Merge pull request #12886 from rjfd/wip-shared-managed-lock
...
librbd: support for shared locking in ManagedLock
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-18 14:15:03 -05:00