commit
f9f3ce100b
@ -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
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user