Commit Graph

87448 Commits

Author SHA1 Message Date
Alfredo Deza
22c9707cd8 systemd: remove ceph-disk service
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-06-13 15:16:22 -04:00
Alfredo Deza
148df5f4ff udev: remove ceph-disk rules
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-06-13 15:16:22 -04:00
Alfredo Deza
c8177b5d34 src: remove ceph-disk tool
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-06-13 15:16:21 -04:00
Lenz Grimmer
77f40ed408
Merge pull request #22284 from tspmelo/wip-unit-test-api
mgr/dashboard: Add unit test for frontend api services

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-06-13 12:20:18 +02:00
Lenz Grimmer
77f3bce87d
Merge pull request #22422 from Devp00l/wip-stringify-array-objects
mgr/dashboard: Stringify object[] in KV-table

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-06-13 10:55:15 +02:00
Yuri Weinstein
bb5a296fe8
Merge pull request #22531 from yuriw/wip-yuriw-crontab
qa/tests: removed all jewel runs and reduced runs on ovh
2018-06-12 12:58:43 -07:00
Sage Weil
7d292da5c6 Merge PR #22527 into master
* refs/pull/22527/head:
	test/encoding/types.h: Adjusting src/messages entries
	test/encoding/types.h: Adjusting src/cls entries
	test/encoding/types.h: Adjusting src/rgw entries
	test/encoding/types.h: Adjusting src/rbd_replay entries
	test/encoding/types.h: Adjusting src/mds entries
	test/encoding/types.h: Adjusting src/mon entries
	test/encoding/types.h: Adjusting src/os entries
	test/encoding/types.h: Adjusting src/osd entries
	test/encoding/types.h: Adjusting src/common entries
	test/encoding/types.h: Adjusting src/test/encoding entries
	test/encoding/types.h: Adjusting src/include/ entries

Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-12 13:21:31 -05:00
Yuri Weinstein
f8b4a1d99b qa/tests: removed all jewel runs and reduced runs on ovh
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-06-12 09:49:09 -07:00
Erwan Velu
d629e125df test/encoding/types.h: Adjusting src/messages entries
This patch is about:
- Adding the missing headers from src/messages
- Adding the missing types from the existing headers
- Adding blank lines to keep includes and types in a visual block.
  That is much easier to read and keep the same visual as the rest of the file.

Signed-off-by: Erwan Velu <erwan@redhat.com>
2018-06-12 17:30:58 +02:00
Erwan Velu
5df434b4e5 test/encoding/types.h: Adjusting src/cls entries
This patch is about:
- Adding the missing headers from src/cls
- Adding the missing types from the existing headers
- Ordering types to get them in the file's order (that's easier to update)

Signed-off-by: Erwan Velu <erwan@redhat.com>
2018-06-12 17:30:58 +02:00
Erwan Velu
ef3b57cd89 test/encoding/types.h: Adjusting src/rgw entries
This patch is about:
- Adding the missing headers from src/rgw
- Adding the missing types from the existing headers
- Ordering types to get them in the file's order (that's easier to update)

Signed-off-by: Erwan Velu <erwan@redhat.com>
2018-06-12 17:30:58 +02:00
Erwan Velu
e4e22b6b3f test/encoding/types.h: Adjusting src/rbd_replay entries
This patch is about removing a simple typo.
The semi-colong isn't necessary here.

Signed-off-by: Erwan Velu <erwan@redhat.com>
2018-06-12 17:30:58 +02:00
Erwan Velu
5f1a30e275 test/encoding/types.h: Adjusting src/mds entries
This patch is about:
- Adding the missing headers from src/mds
- Adding the missing types from the existing headers
- Adding blank lines to keep includes and types in a visual block.
  That is much easier to read and keep the same visual as the rest of the file.

Signed-off-by: Erwan Velu <erwan@redhat.com>
2018-06-12 17:30:58 +02:00
Erwan Velu
821dbfa305 test/encoding/types.h: Adjusting src/mon entries
This patch is about:
- Adding the missing types from the existing headers
- Ordering types to get them in the file's order (that's easier to update)

Signed-off-by: Erwan Velu <erwan@redhat.com>
2018-06-12 17:30:58 +02:00
Erwan Velu
0bfbee55c1 test/encoding/types.h: Adjusting src/os entries
This patch is about:
- Adding the missing headers from src/os
- Adding the missing types from the existing headers
- Ordering types to get them in the file's order (that's easier to update)

Signed-off-by: Erwan Velu <erwan@redhat.com>
2018-06-12 17:30:58 +02:00
Erwan Velu
6b80c3095a test/encoding/types.h: Adjusting src/osd entries
This patch is about:
- Adding the missing headers from src/osd
- Adding the missing types from the existing headers
- Ordering types to get them in the file's order (that's easier to update)
- Moving crush entries avoid let all the osd entries in a collocated place

Signed-off-by: Erwan Velu <erwan@redhat.com>
2018-06-12 17:30:51 +02:00
Tiago Melo
671cbb4b50 mgr/dashboard: Add unit test for frontend api services
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-06-12 14:57:44 +01:00
Stephan Müller
823f87a730 mgr/dashboard: Prettier KV-table
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-06-12 15:42:27 +02:00
Stephan Müller
95db06766d mgr/dashboard: Stringify object[] in KV-table
The problem was that object[] weren't handled in the key value table
before. Now they will be stringified to prevent an output like
'[Object object]'.

Signed-off-by: Stephan Müller <smueller@suse.com>
2018-06-12 15:42:27 +02:00
Lenz Grimmer
7acd015a06
Merge pull request #22082 from tspmelo/wip-angular-6
mgr/dashboard: Update Angular to version 6

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-06-12 15:32:58 +02:00
Sage Weil
3422e05248 Merge PR #21825 into master
* refs/pull/21825/head:
	os/bluestore: rename new bitmap allocator class to BitmapAllocator.
	os/bluestore: perform allocations aligned with min_length  in new bitmap allocator
	test/objectstore/unitetest_fastbmap_allocator: replace ASSERT_TRUE with
	os/bluestore: respect min_length as allocation granularity for new
	os/bluestore: cosmetic new allocator internal method rename.
	os/bluestore: properly respect min_length when analysing partially free
	os/bluestore: cosmetic cleanup in new bitmap allocator.
	os/bluestore: more verbose logging in new bitmap allocator
	os/bluestore: default to bitmap allocator for bluestore/bluefs
	os/bluestore: remove original bitmap allocator
	os/bluestore: align BitMap allocator's init_rm_free/init_add_free parameters with min_alloc_size
	os/bluestore: fix improper access to a BitmapFastAllocator::last_pos
	test/allocator: move bluestore allocator's benchmarks to a standalone UT
	os/bluestore: add new bitmap allocator
	test/allocator: get rid off bitmap allocator specifics and introduce new
	test/fio: dump mempool on job completion

Reviewed-by: Varada Kari <varadaraja.kari@flipkart.com>
2018-06-12 08:31:16 -05:00
Lenz Grimmer
ccfdc46c89
Merge pull request #22504 from tspmelo/wip-table-filtered-numbers
mgr/dashboard: Add filtered rows number in table footer

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-06-12 15:30:17 +02:00
Sage Weil
33d7024c29 Merge PR #22423 into master
* refs/pull/22423/head:
	common/blkdev: fix non-linux build for get_device_id
	common/blkdev: do not include vendor in fallback mode
	mgr: allow open-ended life expectancy
	mgr: use prettified durations for life expectancy
	common/ceph_time: very lame timespan_str() helper
	mgr: "predicted failure" -> "life expectancy", and as a range
	mgr: detailed output for 'ceph device ...'
	mgr/DaemonState: skip blank device_ids
	osd: skip blank device ids
	mgr: track and report device names too
	mgr/ActivePyModule: expose 'devices' to python modules
	mgr: move dump/print to DeviceState
	mgr: implement 'device {set,rm}-predicted-failure' commands
	mgr: load persistent device metadata on mgr stat
	include/utime: add parse() method
	mgr: tolerate racing config-key change during load_store()
	mgr: implement 'device {ls,ls-by-daemon,ls-by-host,info}' commands
	mgr/DaemonState: populate DeviceState structures
	mgr: parse out devids from daemon metadata
	common/blkdev: add modelines
	osd: include device_ids in metadata
	common/blkdev: add get_device_id() helper.

Reviewed-by: Erwan Velu <erwan@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2018-06-12 08:27:17 -05:00
Sage Weil
33dcb24663 githubmap: update contributors
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-12 08:27:16 -05:00
Sage Weil
a3d8246a89
Merge pull request #22522 from tchaikov/wip-githubmap
githubmap: update contributors
2018-06-12 08:06:10 -05:00
Erwan Velu
127f198748 test/encoding/types.h: Adjusting src/common entries
This patch is about:
- Moving some common/ entries to keep them in a collocated place, and in the file order : that's easier to update this way.

Signed-off-by: Erwan Velu <erwan@redhat.com>
2018-06-12 14:56:33 +02:00
Erwan Velu
856318da4e test/encoding/types.h: Adjusting src/test/encoding entries
This patch is about :
- Moving encoding headers in a visual block (easier to update)

Signed-off-by: Erwan Velu <erwan@redhat.com>
2018-06-12 14:56:33 +02:00
Erwan Velu
d9630bb83d test/encoding/types.h: Adjusting src/include/ entries
This patch is about
- Moving fs_types.h with the other src/include files, this is easier to update.

Signed-off-by: Erwan Velu <erwan@redhat.com>
2018-06-12 14:56:33 +02:00
Igor Fedotov
a8e8c192ac os/bluestore: rename new bitmap allocator class to BitmapAllocator.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-12 14:50:30 +03:00
Igor Fedotov
51974c48e3 os/bluestore: perform allocations aligned with min_length in new bitmap allocator
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-12 14:48:45 +03:00
Igor Fedotov
69ccb4367d test/objectstore/unitetest_fastbmap_allocator: replace ASSERT_TRUE with
ASSERT_EQ

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-12 14:48:45 +03:00
Igor Fedotov
8a188b2aa3 os/bluestore: respect min_length as allocation granularity for new
bitmap allocator.
It was used a real minimum threshold before this fix which allowed e.g.
allocated extent length to be equal to min_length + 1.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-12 14:48:45 +03:00
Igor Fedotov
fa06ff234f os/bluestore: cosmetic new allocator internal method rename.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-12 14:48:45 +03:00
Igor Fedotov
288bbd4253 os/bluestore: properly respect min_length when analysing partially free
slots in bitmap allocator.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-12 14:48:45 +03:00
Igor Fedotov
3db9d9a66c os/bluestore: cosmetic cleanup in new bitmap allocator.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-12 14:48:45 +03:00
Igor Fedotov
160c73032d os/bluestore: more verbose logging in new bitmap allocator
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-12 14:48:45 +03:00
Igor Fedotov
231b7dd9c5 os/bluestore: default to bitmap allocator for bluestore/bluefs
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-12 14:48:45 +03:00
Igor Fedotov
95bd72fc22 os/bluestore: remove original bitmap allocator
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-12 14:48:44 +03:00
Igor Fedotov
1b6a56e800 os/bluestore: align BitMap allocator's init_rm_free/init_add_free parameters with min_alloc_size
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-12 14:48:44 +03:00
Igor Fedotov
0c69672fce os/bluestore: fix improper access to a BitmapFastAllocator::last_pos
from multiple threads.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-12 14:48:44 +03:00
Igor Fedotov
ac2ec80cdd test/allocator: move bluestore allocator's benchmarks to a standalone UT
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-12 14:48:44 +03:00
Igor Fedotov
631041a7b7 os/bluestore: add new bitmap allocator
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-12 14:48:44 +03:00
Igor Fedotov
dcd30610fb test/allocator: get rid off bitmap allocator specifics and introduce new
performance test cases

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-12 14:48:44 +03:00
Igor Fedotov
16a9a0db3d test/fio: dump mempool on job completion
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-12 14:48:44 +03:00
Tiago Melo
9381204f52 mgr/dashboard: Add filtered rows number in table footer
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-06-12 10:13:52 +01:00
Kefu Chai
a4034ec0f2 githubmap: update contributors
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-06-12 12:50:19 +08:00
Kefu Chai
1f976a7d95
Merge pull request #22497 from liewegas/wip-24486
osd/Session: fix invalid iterator dereference in Session::have_backoff()

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-12 11:05:12 +08:00
Sage Weil
d826f6e8a2 Merge PR #22501 into master
* refs/pull/22501/head:
	messages/MOSDPGLog: encode epoch for query_epoch for pre-nautilus OSDs

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-11 16:14:13 -05:00
Sage Weil
ebfef2db9a Merge PR #22499 into master
* refs/pull/22499/head:
	os/bluestore: fix SharedBlobSet deregister race

Reviewed-by: git push gh masterVarada Kari <varadaraja.kari@flipkart.com>
2018-06-11 16:13:38 -05:00
Sage Weil
5ec1245ba9 githubmap: update contributors
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-11 16:13:37 -05:00