[2174] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

SG_BIG_BUFF

daemon@ATHENA.MIT.EDU (Pete Popov)
Thu Jul 17 21:56:09 1997

To: linux-scsi@vger.rutgers.edu
Date: 	Thu, 17 Jul 1997 18:52:50 -0700
From: Pete Popov <pete@jones.asd.sel.sony.com>


Does anyone know if there is any reason why SG_BIG_BUFF is
limited to 32768 and ST_BUFFER_BLOCKS to 32?

This limits the size of data transfers too much for modern
high end tape devices.  I would like to be able to dump larger
transfers, so I defined SG_BIG_BUFF as 4*32768 and ST_BUFFER_BLOCKS
as 128.  After recompiling the kernel, I did a quick test and verified
that st was transferring up to ~128KB, depending on the parameters
passed to tar.  However, I don't know if there's any danger lurking
in the dark that I don't know of.  

Is this "safe"?  

Thanks,

Pete

home help back first fref pref prev next nref lref last post