Yuri Weinstein
4a05803abb
Merge pull request #9077 from liewegas/wip-osd-map-cache
...
osd: instrument map cache hits and misses
Reviewed-by: xiexingguo <xie.xingguo@zte.com.cn>
2016-05-16 13:27:40 -07:00
Yuri Weinstein
a025148c4b
Merge pull request #9078 from liewegas/wip-clean-temps
...
mon, osdmap: optimize check and cleanup of pg_temp for new osdmaps
Reviewed-by: xiexingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-16 13:20:18 -07:00
Kefu Chai
8980f84078
Merge pull request #8298 from wjwithagen/wip-wjw-freebsd-autobuild-2
...
build: many fixes for freebsd
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-17 01:07:17 +08:00
Sage Weil
b58173f96f
Merge pull request #8480 from songbaisen/song19
...
crush: When consider rule size use the correct method.
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-16 13:02:55 -04:00
Sage Weil
38b8031f62
Merge pull request #8974 from liewegas/wip-addr-cleanup
...
msg/msg_types: clean up entity_addr_t
Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-16 13:02:15 -04:00
Sage Weil
934f85c068
Merge pull request #9027 from roidayan/make-debs_avoid_creating_recursive_conf_dir
...
make-debs.sh: avoid creating recursive conf dir
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-16 13:01:26 -04:00
Kefu Chai
4244c31083
Merge pull request #9144 from vumrao/wip-vumrao-15899
...
doc : adding explanation of --no-increasing for
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-16 20:58:34 +08:00
John Spray
7d5ca75503
Merge pull request #8452 from jcsp/wip-15266
...
pybind: fix unicode handling in CephFSVolumeClient::purge
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-16 07:54:16 -05:00
Vikhyat Umrao
f8eca5e7e7
doc : adding explanation of --no-increasing for
...
reweight-by-utilization and test-reweight-by-utilization
commands
Fixes: http://tracker.ceph.com/issues/15899
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2016-05-16 18:02:41 +05:30
Sage Weil
e93c7b0709
doc/changelog: missed v10.2.1 changelog
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-16 05:57:45 -04:00
Loic Dachary
cd879e887f
Merge pull request #9141 from liewegas/wip-10.2.1
...
doc/release-notes: v10.2.1 release notes
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-05-16 10:50:04 +02:00
Sage Weil
547d9b87e3
doc/release-notes: v10.2.1 release notes
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-16 04:37:42 -04:00
Sage Weil
ef3a678911
Merge pull request #9135 from flaf/master
...
doc: improvement of the "tunables" part
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-16 03:48:48 -04:00
lafont
4cc820812c
doc: improvement of the "tunables" part
...
* Some CRUSH_TUNABLES$N references were false.
* The explanations concerning the warning when tunables are
non-optimal were false or confusing.
* Make the definition of the "default" profile clearer.
Signed-off-by: François Lafont <francois.lafont@ac-versailles.fr>
2016-05-16 05:15:06 +02:00
ZhenyuLeng
6171ffbced
The function op_is_discardable introduces lock overhead which can
...
The function op_is_discardable introduces lock overhead which can
not be ignored.It would be better to judge if to discard op when
the connection disconnected as a parameter whether the network is
believable or extremely unlikelihood.
add g_conf osd_discard_disconnected_ops to control whether to
discard op when the connection disconnected
Waiting for test
Signed-off-by: ZhenyuLeng <lengzhenyu@ict.ac.cn>
2016-05-16 09:55:24 +08:00
Sage Weil
10f9a1d1b3
Merge pull request #9124 from stiopaa1/osd_someMorePrivate
...
osd/OSD.h: move some data members under private
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-15 18:47:29 -04:00
Sage Weil
c1e950acf9
Merge pull request #9128 from stiopaa1/osd_constOperatorPGQueueable
...
osd/OSD: pass op() params by const in PGQueueable
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-15 18:45:59 -04:00
Sage Weil
b759d47aaa
Merge pull request #9131 from stiopaa1/compatset_removeConstructor
...
common: CompatSet.h: Remove unneeded constuctor
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-15 18:43:41 -04:00
Sage Weil
6e03a8da91
Merge pull request #9132 from shinobu-x/wip-shinobu
...
cls_rbd: fix comment typo
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-15 18:42:38 -04:00
Shinobu Kinjo
3c47e48aa2
src/cls/rbd/cls_rbd.cc: fix super trivial typo
2016-05-15 18:01:25 +09:00
Michal Jarzabek
aa3c3f6645
CompatSet.h: Remove unneeded constuctor
...
We have a constuctor taking a std::string so there is no need for
the constuctor taking char*.
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-05-15 07:27:21 +01:00
Mykola Golub
4381e341c4
doc: update mirroring guide to include pool/image status commands
...
Fixes: http://tracker.ceph.com/issues/15746
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-05-14 20:06:46 +03:00
Michal Jarzabek
d9bd6654f2
osd/OSD: pass op() params by const in PGQueueable
...
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-05-14 16:57:45 +01:00
Loic Dachary
62bd3fae3f
Merge pull request #8767 from jjhuo/org_jianjian
...
.mailmap and .orgmap: organization affiliation
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-05-14 09:16:37 +02:00
Michal Jarzabek
b49b8d4ec3
osd/OSD.h: move some data members under private
...
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-05-13 22:10:16 +01:00
Jason Dillaman
cd729526e9
Merge pull request #9123 from idryomov/wip-qa-rbd-dont-chown
...
qa: rbd: don't modprobe, chown sysfs files or udevadm settle
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-05-13 15:52:01 -04:00
Ilya Dryomov
6643f4d972
qa: rbd/simple_big.sh: drop extraneous sudo
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2016-05-13 17:57:12 +02:00
Ilya Dryomov
a7d4189587
qa: rbd/concurrent.sh: suppress rbd map output
...
rbd_map_image() echoes the id of the image and is used in command
substitution:
id=$(rbd_map_image "${image}")
Output from rbd map isn't consumed and clobbers the return.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2016-05-13 17:51:45 +02:00
Ilya Dryomov
6bddef8ecf
qa: rbd: don't modprobe, chown sysfs files or udevadm settle
...
This is a followup to 38a572011d
("qa: rbd/map-snapshot-io.sh: don't
chown sysfs files") for the rest of the workunits:
- /sys/bus/rbd/add_single_major is used if present, so chown'ing
/sys/bus/rbd/add doesn't help. Use sudo on rbd map instead.
- Don't modprobe or udevadm settle - rbd CLI tool takes care of that.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2016-05-13 17:51:45 +02:00
Sage Weil
39402c0801
os: remove collection attr methods
...
These have been deprecated since hammer, and were only kept so that you
could do an offline upgrade from firefly. Bye bye!
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-13 11:06:30 -04:00
Sage Weil
a3d08e28ed
osd/PG: drop pre-jewel pg attr method
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-13 11:06:30 -04:00
Sage Weil
ab42bc5925
Merge pull request #9070 from liewegas/doc-ct
...
doc: words of caution about cache tiering
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Nick Fisk <nick@fisk.me.uk>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-13 11:00:00 -04:00
Sage Weil
7488c917af
doc/rados: adjust example cache tiering settings
...
These are saner values.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-13 10:58:50 -04:00
Sage Weil
fcd1d097b1
doc/rados: words of caution about cache tiering
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-13 10:58:50 -04:00
Orit Wasserman
8454ff1a91
rgw: fix realm pull and period pull for apache frontend
...
add missing content-type and content-length headers
Fixes: http://tracker.ceph.com/issues/15846
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-05-13 16:05:55 +02:00
Sage Weil
f5e9d8e610
Merge pull request #9110 from stiopaa1/osd_moveTickClasses
...
osd: move tick classes
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-13 09:35:46 -04:00
John Spray
a4e440eb44
Merge pull request #8887 from jcsp/wip-15689
...
osdc: send error to recovery waiters on shutdown
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2016-05-13 08:25:01 -05:00
John Spray
ae2346579f
Merge pull request #8835 from xiaoxichen/implement_fsync_in_pybind
...
pybind: expose fsync in cephfs binding.
Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-13 08:17:05 -05:00
runsisi
3494a2ac66
osd/ReplicatedBackend: reuse the already computed cost
...
no need to compute the cost a second time
Signed-off-by: runsisi <runsisi@zte.com.cn>
2016-05-13 16:51:06 +08:00
Samuel Just
b224912d24
Pipe: take a ref to existing while we are waiting
...
Otherwise, if it is reaped while we are waiting, it'll be a
use-after-free.
Fixes: http://tracker.ceph.com/issues/15870
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-05-12 17:02:42 -07:00
Michal Jarzabek
ef3ea0150b
osd/OSD.cc: add override to virtual functions
...
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-05-12 21:13:45 +01:00
Michal Jarzabek
2af377925a
osd/OSD: move C_Tick and C_Tick_WithoutOSDLock
...
Since above classes are implementation detail of OSD class move them
to the .cc file.
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-05-12 21:13:38 +01:00
Casey Bodley
5db5c9f8be
rgw: RGWZoneGroup::add_zone rejects duplicate zone names
...
Fixes: http://tracker.ceph.com/issues/15613
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-05-12 15:24:06 -04:00
Casey Bodley
6c05cd3b27
radosgw-admin: 'zone create' doesn't need to load RGWRealm
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-05-12 15:24:06 -04:00
Sage Weil
c347087e0a
Merge pull request #9079 from liewegas/wip-bluestore-freelist
...
os/bluestore: switch to bitmap freelist by default
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-12 13:56:30 -04:00
Sage Weil
7d8fb8a050
Merge pull request #8956 from shinobu-x/wip-shinobu
...
os/bluestore: fix permissions on StupidAllocator.cc, cleanups
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-12 13:56:03 -04:00
Kefu Chai
9eee5eba6d
Merge pull request #9074 from tchaikov/wip-cmake-manpages
...
cmake: build man pages
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-12 22:14:18 +08:00
Abhishek Lekshmanan
4c849a34d7
rgw_rados: remove unused ioctx for domain root in create_bucket
...
In `create_bucket`, we open an ioctx for domain root pool and never use
it later, removing this.
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-05-12 16:09:23 +02:00
Sage Weil
18d2bb9bc2
osd/OSDMap: fix clean_temps and test
...
For both pg_temp and primary_temp, we want to calculate what the
mapping *will* be after the inc is applied, and if the mapping is
redundant (it matches what we would have gotten anyway), remove
it. Removing the mapping might mean putting a 'remove' entry in
the inc, or it might mean removing the proposed addition in the
inc.
Update the unit test to test both cases.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-12 09:59:30 -04:00
Sage Weil
1a255b9252
osd/OSDMap: consolidate into clean_temps
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-12 09:59:30 -04:00