From: Jens Axboe <axboe@kernel.dk>
To: "Stephen M. Cameron" <scameron@beardog.cce.hp.com>
Cc: stephenmcameron@gmail.com, akpm@linux-foundation.org,
mikem@beardog.cce.hp.com, linux-kernel@vger.kernel.org,
thenzl@redhat.com
Subject: Re: [PATCH 1/2] cciss: Fix scsi tape io with more than 255 scatter gather elements
Date: Thu, 22 Mar 2012 21:33:58 +0100 [thread overview]
Message-ID: <4F6B8CB6.1040305@kernel.dk> (raw)
In-Reply-To: <20120322180852.14453.3206.stgit@beardog.cce.hp.com>
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
prev parent reply other threads:[~2012-03-22 20:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-22 18:08 [PATCH 1/2] cciss: Fix scsi tape io with more than 255 scatter gather elements Stephen M. Cameron
2012-03-22 18:08 ` [PATCH 2/2] cciss: Initialize scsi host max_sectors for tape drive support Stephen M. Cameron
2012-03-22 20:33 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F6B8CB6.1040305@kernel.dk \
--to=axboe@kernel.dk \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mikem@beardog.cce.hp.com \
--cc=scameron@beardog.cce.hp.com \
--cc=stephenmcameron@gmail.com \
--cc=thenzl@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox