Commit Graph

59082 Commits

Author SHA1 Message Date
Pan Liu
ce26dc2a4e common: make l_finisher_complete_lat more accurate
Signed-off-by: Pan Liu <pan.liu@istuary.com>
2016-10-25 12:36:28 +08:00
Jason Dillaman
db32d6be7a Merge pull request #11632 from VictorDenisov/group_pool_fix
rbd: fix parsing of group and image specific pools

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-10-24 23:55:17 -04:00
Victor Denisov
c4eee9f196 rbd: fix parsing of group and image specific pools
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2016-10-24 16:50:19 -07:00
Yuri Weinstein
fc70cd9ac3 Merge pull request #11036 from tomy-ac/wip-tc-rados_append
Added append functionality to rados tool.

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-10-24 14:45:42 -07:00
Yuri Weinstein
a216ff28a6 Merge pull request #11221 from stiopaa1/osd_osdmap_removeUseOfCount
osd/OSDMap.cc: remove unneeded use of count

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-24 14:45:00 -07:00
Yuri Weinstein
73a1b45ec0 Merge pull request #11388 from ukernel/wip-17177
os/ObjectStore: properly clear object map when replaying OP_REMOVE

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-24 14:44:04 -07:00
Kefu Chai
b0e2028086 Merge pull request #11143 from kylinstorage/wip-fix-write-hang
osd: fix rados write op hang

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-10-25 00:16:17 +08:00
Kefu Chai
57ed9c5a35 Merge pull request #11532 from javeme/run_in_thread-return
pybind: avoid "exception 'int' object is not iterable"

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-25 00:15:30 +08:00
Sage Weil
9d8b5027e6 Merge pull request #11610 from liewegas/wip-mon-forward-features
messages/MForward: reencode forwarded message if target has differing features

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-24 11:10:54 -05:00
Sage Weil
e7bf50b27a msg/Message: fix set_middle vs throttler
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-24 11:10:17 -05:00
Sage Weil
a9651282f7 msg: adjust byte_throttler from Message::encode
Normally we never call encode on a message that has a byte_throttler set
because we only use it for messages we received.  However, for forwarded
messages that we clear_payload() before resending, we *do* reencode, and in
that case we need to retake the appropriate number of bytes from the
throttler--just like we release them in clear_payload().

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-24 11:10:17 -05:00
Sage Weil
a433455e59 messages/MForward: reencode forwarded message if target has differing features
This ensures we reencode the payload with the
appropriate set of features if the client, us, or the
target do not have identical features.  Otherwise we
may forward an encoding with more features than the
target can handle.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-24 11:10:17 -05:00
Sage Weil
dcd677213e Merge pull request #11595 from liewegas/wip-move-ranges
os: fix offsets for move_ranges operation

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-10-24 11:08:06 -05:00
Jason Dillaman
e7da810e75 Merge pull request #11160 from VictorDenisov/consistency_groups_namespaces
librbd: add support for snapshot namespaces

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-10-24 11:55:48 -04:00
John Spray
439ca801b3 mds: fix compile error from merges
Two patches both added these definitions
in slightly different places, so git let them
merge without a conflict.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-10-24 13:36:32 +01:00
John Spray
4f09892a84 Merge remote-tracking branch 'ukernel/wip-mdstypes-split' 2016-10-24 12:02:48 +01:00
John Spray
ba5d61d954 Merge pull request #11576 from ukernel/wip-17636-debug
mds: add debug assertion for issue #17636

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-24 12:00:48 +01:00
John Spray
7001eeef45 Merge pull request #11578 from jcsp/wip-backtrace-repair
mds: repair backtraces during scrub

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-24 11:53:47 +01:00
Sage Weil
9e0b482a8e Merge pull request #11596 from liewegas/wip-osdmap-features
mon/OSDMonitor: encode OSDMap::Incremental with same features as OSDMap

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-24 05:28:44 -05:00
Sage Weil
3b35f2d010 unittest_bluestore_types: fix csum const name
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-24 04:57:42 -05:00
Sage Weil
cc306c81d2 Merge branch 'wip-bluestore-per-pool-compress2' of https://github.com/ifed01/ceph 2016-10-24 04:57:34 -05:00
Kefu Chai
75edfbba34 Merge pull request #8751 from flyd1005/wip-fix-typo
doc: fix typos

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-10-24 11:15:12 +08:00
Loic Dachary
0e5e33dae0 Merge pull request #10955 from objoo/YD-mailmap-updates-Sept
mailmap updates sept

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-10-23 23:32:34 +02:00
Sage Weil
3eec78e5f1 Merge pull request #11607 from xiexingguo/xxg-wip-bluestore-1022
os/bluestore: simplify can_split_at() 

Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-22 09:54:54 -05:00
xie xingguo
1958ca7426 os/bluestore: literal changes
1. drop redundant semicolon
2. fix wrong output message

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-10-22 17:25:36 +08:00
Victor Denisov
dfc63168ac cls_rbd: Allow snapshots with the same name in different namespaces
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2016-10-21 20:53:24 -07:00
Victor Denisov
6788d9305e rbd: Use user snapshot namespace in rbd_mirror for now
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2016-10-21 20:53:24 -07:00
Victor Denisov
2174751946 librbd: By default create snapshots in UserNamespace
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2016-10-21 20:53:24 -07:00
Victor Denisov
ca31b7a744 cls_rbd: Add snapshot namespaces data structures
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2016-10-21 20:53:24 -07:00
xie xingguo
5c91f71e6c os/bluestore: simplify can_split_at()
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-10-22 10:33:20 +08:00
Gregory Farnum
3e9064cedb Merge pull request #11026 from jcsp/wip-pg-files
tools/cephfs: add pg_files command

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-21 14:48:31 -07:00
Gregory Farnum
e677f0c243 Merge pull request #11456 from tchaikov/wip-17558
mon: send updated monmap to its subscribers

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-21 14:40:46 -07:00
Sage Weil
e58bd8988a Merge pull request #11599 from tanghaodong25/wip-2q-cache
os/bluestore: make 2q cache kin/kout size tunable

Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-21 15:14:45 -05:00
Sage Weil
6fb2860a6a Merge pull request #11603 from liewegas/wip-bluestore-obj-remove
os/bluestore: clear extent map on object removal
2016-10-21 14:45:08 -05:00
Sage Weil
8f00116f32 Merge pull request #11597 from ifed01/wip-bluestore-reshard-fix
os/bluestore: fix lack of resharding

Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-21 14:43:16 -05:00
Sage Weil
5ab57dfee6 os/bluestore: clear extent map on object removal
Clear ExtentMap (esp shards, etc.) when an object is removed.  Otherwise
if we recreate it we will have stale state (like the shards vector or
inline_bl) that are bogus.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-21 15:42:28 -04:00
Orit Wasserman
c86206032f Merge pull request #11230 from yehudasa/wip-rgw-resharding
rgw: bucket resharding
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-10-21 19:49:41 +02:00
haodong
f7dd1901b5 os/bluestore: make 2q cache kin/kout size tunable
default kin/hot queue size is 50% of max buffer size.
50% is a better choice for the number of page slot in kout.
we make it tunable.

Signed-off-by: Haodong Tang <haodong.tang@intel.com>
2016-10-22 01:11:01 +08:00
Igor Fedotov
059cc40b9d os/bluestore: fix black of resharding
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-10-21 16:35:34 +00:00
Sage Weil
916ca6a0aa mon/OSDMonitor: encode OSDMap::Incremental with same features as OSDMap
The Incremental encode stashes encode_features, which is
what we use later to reencode the updated OSDMap.  Use
the same features so that the encoding will match!

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-21 12:27:48 -04:00
Sage Weil
2dcb23afcb os: fix offsets in move_ranges
This simplifies the interface, and avoids problems in
bluestore with alignment.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-21 12:07:05 -04:00
Casey Bodley
b2a3d281c0 Merge pull request #11566 from oritwas/wip-rgw-put-acl-underscore
rgw: fix put_acls for objects starting and ending with underscore

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-10-21 12:00:53 -04:00
Sage Weil
0cedfafdb0 Merge pull request #11591 from liewegas/wip-bluestore-test-dev
ceph_test_objectstore: smaller device
2016-10-21 10:57:26 -05:00
Orit Wasserman
da6bfe55c6 Merge pull request #11444 from cbodley/wip-rgw-get-system-obj
rgw: get_system_obj does not use result of get_system_obj_state
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-10-21 17:25:17 +02:00
Sage Weil
566fb3df1a Merge pull request #11588 from xiexingguo/wip-fix-fastinfo-id
osd: fix duplicated id of incompat feature "fastinfo"

Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-21 08:56:08 -05:00
Sage Weil
27a98c4583 ceph_test_objectstore: smaller device
This is faster.  The bitmap has to be scanned during
startup and fsck and that's slow.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-21 09:17:30 -04:00
John Spray
9a961e607a mds: repair backtraces during scrub
Fixes: http://tracker.ceph.com/issues/17639
Signed-off-by: John Spray <john.spray@redhat.com>
2016-10-21 11:34:55 +01:00
Kefu Chai
eb9cf0bda0 Merge pull request #11575 from ceph/wip-17260
cmake: link tests against static librados

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-10-21 11:54:53 +08:00
xiexingguo
26648cf2ac Merge pull request #10490 from Yan-waller/yj-wip-msgtest-0729
msg/test: fix the guided compile-command to ceph_test_msgr

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-10-21 11:01:32 +08:00
xie xingguo
0828974a75 osd: fix duplicated id of incompat feature "fastinfo"
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-10-21 10:38:23 +08:00