diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-10-13 19:12:59 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-10-28 12:26:06 -0400 |
commit | 630c3183cec33b502e80846e728c3ff165d1c84d (patch) | |
tree | 6d4a1fc22992869e3b1cdb2c04fcac9bd89c85ee /drivers/infiniband/ulp/iser/iscsi_iser.c | |
parent | dd0107a08996c0ab8cac2b98ddbed5313e118e81 (diff) | |
download | linux-630c3183cec33b502e80846e728c3ff165d1c84d.tar.gz linux-630c3183cec33b502e80846e728c3ff165d1c84d.tar.bz2 linux-630c3183cec33b502e80846e728c3ff165d1c84d.zip |
IB/iser: Enable SG clustering
iser is perfectly capable supporting SG clustering as it translates
the SG list to a page vector. Enabling SG clustering can dramatically
reduce the number of SG elements, which doesn't make much of a difference
at this point, but with arbitrary SG list support, reducing the
number of SG elements can benefit greatly as as it would reduce
the length of the HW descriptors array.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp/iser/iscsi_iser.c')
-rw-r--r-- | drivers/infiniband/ulp/iser/iscsi_iser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.c b/drivers/infiniband/ulp/iser/iscsi_iser.c index 2ea0a14125e8..9080161e01af 100644 --- a/drivers/infiniband/ulp/iser/iscsi_iser.c +++ b/drivers/infiniband/ulp/iser/iscsi_iser.c @@ -986,7 +986,7 @@ static struct scsi_host_template iscsi_iser_sht = { .eh_device_reset_handler= iscsi_eh_device_reset, .eh_target_reset_handler = iscsi_eh_recover_target, .target_alloc = iscsi_target_alloc, - .use_clustering = DISABLE_CLUSTERING, + .use_clustering = ENABLE_CLUSTERING, .slave_alloc = iscsi_iser_slave_alloc, .proc_name = "iscsi_iser", .this_id = -1, |