iscsi-scst: Suppress put_page_callback patch warnings

The put_page_callback patch only improves performance on single
socket systems but not on systems with multiple CPU sockets.
Since this message is confusing to SCST users, do not print a
warning if the put_page_callback patch has not been applied.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6340 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-06-16 23:10:28 +00:00
parent 269d417601
commit f272064c12
+2 -2
View File
@@ -31,7 +31,7 @@
#include "iscsi.h"
#include "digest.h"
#ifndef GENERATING_UPSTREAM_PATCH
#if 0 && !defined(GENERATING_UPSTREAM_PATCH)
#if !defined(CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION)
#warning Patch put_page_callback-<kernel-version>.patch not applied on your \
kernel or CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION \
@@ -4298,7 +4298,7 @@ static int __init iscsi_init(void)
goto out_destroy_mempool;
}
#else
#ifndef GENERATING_UPSTREAM_PATCH
#if 0 && !defined(GENERATING_UPSTREAM_PATCH)
PRINT_WARNING("%s",
"CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION "
"not enabled in your kernel. ISCSI-SCST will be working with "