target/iblock: Use request_queue->nr_request for se_device defaults
authorNicholas Bellinger <nab@linux-iscsi.org>
Wed, 22 Jun 2011 08:32:20 +0000 (01:32 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 22 Jul 2011 09:37:45 +0000 (09:37 +0000)
commit8f3d14e2b0352e41c8e64a39c95c7d9498c96e89
tree607a72e745b87c18a9e594e9f3c8167ffdbb42bf
parent5e1be919820175a2becc3c72051050aaa3fae954
target/iblock: Use request_queue->nr_request for se_device defaults

This patch converts iblock_create_virtdevice() to use request_queue->nr_request
for se_dev_limits usage of ->hw_queue_depth and ->queue_depth for individual
struct se_device export.

It also removes the now unused defines for IBLOCK_DEVICE_QUEUE_DEPTH and
IBLOCK_MAX_DEVICE_QUEUE_DEPTH

Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_iblock.c
drivers/target/target_core_iblock.h