From adb3c467989bfd63c5f8619b6b0d215a51f12e7f Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 24 Jan 2014 10:32:43 +0000 Subject: [PATCH] fcst: Increase ft_scst_template.sg_tablesize The libfc implementation can handle long SG lists, hence increase ft_scst_template.sg_tablesize from 128 to 65535. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5223 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- fcst/ft_scst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fcst/ft_scst.c b/fcst/ft_scst.c index 569b9fea7..fb4e576f1 100644 --- a/fcst/ft_scst.c +++ b/fcst/ft_scst.c @@ -36,7 +36,7 @@ static struct notifier_block ft_notifier = { * XXX - re-check uninitialized fields */ struct scst_tgt_template ft_scst_template = { - .sg_tablesize = 128, /* XXX get true limit from libfc */ + .sg_tablesize = 0xffff, .xmit_response_atomic = 1, .rdy_to_xfer_atomic = 1, .xmit_response = ft_send_response,