linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] increase iscsi_tcp max_lun to ~1, don't care
@ 2012-08-15 19:50 Rob Evers
  2012-08-15 22:24 ` Rob Evers
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Evers @ 2012-08-15 19:50 UTC (permalink / raw)
  To: linux-scsi


Signed-off-by: Rob Evers <revers@redhat.com>
---
 drivers/scsi/iscsi_tcp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c
index 9220861..fc9dfd2 100644
--- a/drivers/scsi/iscsi_tcp.c
+++ b/drivers/scsi/iscsi_tcp.c
@@ -55,7 +55,7 @@ static struct scsi_transport_template *iscsi_sw_tcp_scsi_transport;
 static struct scsi_host_template iscsi_sw_tcp_sht;
 static struct iscsi_transport iscsi_sw_tcp_transport;
 
-static unsigned int iscsi_max_lun = 512;
+static unsigned int iscsi_max_lun = ~1;
 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
 
 static int iscsi_sw_tcp_dbg;
-- 
1.7.11.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] increase iscsi_tcp max_lun to ~1, don't care
  2012-08-15 19:50 [PATCH] increase iscsi_tcp max_lun to ~1, don't care Rob Evers
@ 2012-08-15 22:24 ` Rob Evers
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Evers @ 2012-08-15 22:24 UTC (permalink / raw)
  To: linux-scsi

On 08/15/2012 03:50 PM, Rob Evers wrote:
> Signed-off-by: Rob Evers<revers@redhat.com>
> ---
>   drivers/scsi/iscsi_tcp.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c
> index 9220861..fc9dfd2 100644
> --- a/drivers/scsi/iscsi_tcp.c
> +++ b/drivers/scsi/iscsi_tcp.c
> @@ -55,7 +55,7 @@ static struct scsi_transport_template *iscsi_sw_tcp_scsi_transport;
>   static struct scsi_host_template iscsi_sw_tcp_sht;
>   static struct iscsi_transport iscsi_sw_tcp_transport;
>
> -static unsigned int iscsi_max_lun = 512;
> +static unsigned int iscsi_max_lun = ~1;
>   module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
>
>   static int iscsi_sw_tcp_dbg;

should be ~0, not ~1.  I'll post another patch.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-15 22:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-15 19:50 [PATCH] increase iscsi_tcp max_lun to ~1, don't care Rob Evers
2012-08-15 22:24 ` Rob Evers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).