In that level no io_priority_class-es exist. Instead, all the IO happens in the context of current sched-group. File API no longer accepts prio class argument (and makes io_intent arg mandatory to impls). So the change consists of - removing all usage of io_priority_class - patching file_impl's inheritants to updated API - priority manager goes away altogether - IO bandwidth update is performed on respective sched group - tune-up scylla-gdb.py io_queues command The first change is huge and was made semi-autimatically by: - grep io_priority_class | default_priority_class - remove all calls, found methods' args and class' fields Patching file_impl-s is smaller, but also mechanical: - replace io_priority_class& argument with io_intent* one - pass intent to lower file (if applicatble) Dropping the priority manager is: - git-rm .cc and .hh - sed out all the #include-s - fix configure.py and cmakefile The scylla-gdb.py update is a bit hairry -- it needs to use task queues list for IO classes names and shares, but to detect it should it checks for the "commitlog" group is present. Signed-off-by: Pavel Emelyanov <xemul@scylladb.com> Closes #13963
43 lines
990 B
CMake
43 lines
990 B
CMake
add_library(service STATIC)
|
|
target_sources(service
|
|
PRIVATE
|
|
broadcast_tables/experimental/lang.cc
|
|
client_state.cc
|
|
forward_service.cc
|
|
migration_manager.cc
|
|
misc_services.cc
|
|
pager/paging_state.cc
|
|
pager/query_pagers.cc
|
|
paxos/paxos_state.cc
|
|
paxos/prepare_response.cc
|
|
paxos/prepare_summary.cc
|
|
paxos/proposal.cc
|
|
qos/qos_common.cc
|
|
qos/service_level_controller.cc
|
|
qos/standard_service_level_distributed_data_accessor.cc
|
|
raft/discovery.cc
|
|
raft/group0_state_machine.cc
|
|
raft/raft_group0.cc
|
|
raft/raft_group0_client.cc
|
|
raft/raft_group_registry.cc
|
|
raft/raft_rpc.cc
|
|
raft/raft_sys_table_storage.cc
|
|
storage_proxy.cc
|
|
storage_service.cc
|
|
tablet_allocator.cc
|
|
topology_state_machine.cc)
|
|
target_include_directories(service
|
|
PUBLIC
|
|
${CMAKE_SOURCE_DIR})
|
|
target_link_libraries(service
|
|
PUBLIC
|
|
db
|
|
Seastar::seastar
|
|
xxHash::xxhash
|
|
PRIVATE
|
|
mutation
|
|
raft
|
|
repair
|
|
streaming
|
|
systemd)
|