Merge pull request #514 from Ostrokrzew/fast_fix

Fix previous fix
This commit is contained in:
Robert Baldyga 2020-08-27 08:39:32 +02:00 committed by GitHub
commit f9f3ce100b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ CFLAGS += -O0 -g
else else
CFLAGS += -O2 -D_FORTIFY_SOURCE=2 CFLAGS += -O2 -D_FORTIFY_SOURCE=2
endif endif
CFLAGS += -Wall -z relro -z now -fstack-protector -fPIC -Wformat -Wformat-security -fno-strict-aliasing CFLAGS += -Wall -Werror -z relro -z now -fstack-protector -fPIC -Wformat -Wformat-security -fno-strict-aliasing
# #
# Flags for linking # Flags for linking

View File

@ -972,7 +972,7 @@ int start_cache(uint16_t cache_id, unsigned int cache_init,
if (!cmd.metadata_mode_optimal) if (!cmd.metadata_mode_optimal)
cas_printf(LOG_NOTICE, "Selected metadata mode is not optimal for device %s.\n" cas_printf(LOG_NOTICE, "Selected metadata mode is not optimal for device %s.\n"
"You can improve cache performance by formatting your device\n", "You can improve cache performance by formatting your device\n",
cache_device, cache_device); cache_device);
check_cache_scheduler(cache_device, check_cache_scheduler(cache_device,
cmd.cache_elevator); cmd.cache_elevator);