mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
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:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user