lkml.org 
[lkml]   [2012]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] cciss: Fix scsi tape io with more than 255 scatter gather elements
On 2012-03-22 19:08, Stephen M. Cameron wrote:
> From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
>
> The total number of scatter gather elements in the CISS command
> used by the scsi tape code was being cast to a u8, which can hold
> at most 255 scatter gather elements. It should have been cast to
> a u16. Without this patch the command gets rejected by the controller
> since the total scatter gather count did not add up to the right
> value resulting in an i/o error.

Thanks Stephen, applied both patches.

--
Jens Axboe



\
 
 \ /
  Last update: 2012-03-22 21:37    [W:0.041 / U:0.236 seconds]
©2003-2014 Jasper Spaans. Advertise on this site