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. Hence do not
print a warning if the put_page_callback patch has not been applied.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
This commit is contained in:
Bart Van Assche
2015-04-13 10:48:13 +02:00
parent 2d97fce7de
commit e860c56bcd

View File

@@ -27,7 +27,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 \
@@ -4129,7 +4129,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 "