Merge pull request #611 from robertbaldyga/shorten-cleaner-thead-name

Shorten cleaner thread name
This commit is contained in:
Robert Baldyga 2020-12-31 21:11:10 +01:00 committed by GitHub
commit 6bd2681134
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -250,7 +250,7 @@ int cas_create_cleaner_thread(ocf_cleaner_t c)
int result;
result = _cas_create_thread(&info, _cas_cleaner_thread, c,
CAS_CPUS_ALL, "cas_clean_%s",
CAS_CPUS_ALL, "cas_cl_%s",
ocf_cache_get_name(cache));
if (!result) {
ocf_cleaner_set_priv(c, info);

View File

@ -33,7 +33,7 @@ io_size = Size(10000, Unit.Blocks4096)
time_to_wait = 30
# Name of CAS cleaner to search for in running processes:
cas_cleaner_process_name = "cas_clean"
cas_cleaner_process_name = "cas_cl_"
@pytest.mark.parametrize("cleaning_policy", CleaningPolicy)