All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-scsi@vger.kernel.org
Subject: [Bug 15007] SCSI host adapter's scatter-gather list size Issue
Date: Thu, 14 Jan 2010 08:25:28 GMT	[thread overview]
Message-ID: <201001140825.o0E8PS9e010991@demeter.kernel.org> (raw)
In-Reply-To: <bug-15007-11613@http.bugzilla.kernel.org/>

http://bugzilla.kernel.org/show_bug.cgi?id=15007





--- Comment #1 from Anonymous Emailer <anonymous@kernel-bugs.osdl.org>  2010-01-14 08:25:25 ---
Reply-To: fujita.tomonori@lab.ntt.co.jp

On Fri, 8 Jan 2010 11:07:49 GMT
bugzilla-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=15007
> 
>            Summary: SCSI host adapter's scatter-gather list size Issue
>            Product: IO/Storage
>            Version: 2.5
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: SCSI
>         AssignedTo: linux-scsi@vger.kernel.org
>         ReportedBy: nick.cheng@areca.com.tw
>                 CC: akpm@linux-foundation.org
>         Regression: No
> 
> 
> I found if I set scatter-gather table size as 1024 Areca's RAID controller,

You mean that setting sg_tablesize in scsi_host_template to 1024?


> ARC1680, and then execute "mkfs.ext3 /dev/sdX" on a sas/sata volume which is
> formated as NTFS, it will kill the controller and let it restart.
> This issue pops up easily on Intel server board with multi-processors and so
> far can not be reproduced on a volume with a original Linux filesystem such as,
> ext3.

Can your controller hardware and firmware handle 1024 scatter gather
entries?


> I also found the issue is on the write command with 128 sg entries, each with
> 4K byte in length. As the command comes from the upper layer, it lacks data in
> the 128th sg entry.

The device driver really get 128 entries?

How can you issue a write command with 128 sg entries?

Even if your user-space application issues a write command with 128 sg
entries, the device driver could get less sg entries.

If the device driver gets a command including 128 sg entries
(cmd->sdb.table.nents is set to 128) and 128th sg entry doesn't have
data, then probably we have a bug in scatter gather or block layer
code.

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

  parent reply	other threads:[~2010-01-14  8:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-08 11:07 [Bug 15007] New: SCSI host adapter's scatter-gather list size Issue bugzilla-daemon
2010-01-08 11:11 ` [Bug 15007] " bugzilla-daemon
2010-01-14  8:25 ` [Bug 15007] New: " FUJITA Tomonori
2010-01-14  8:25 ` bugzilla-daemon [this message]
2010-01-14 10:54 ` [Bug 15007] " bugzilla-daemon
2010-01-14 11:12   ` FUJITA Tomonori
2010-01-14 11:12 ` bugzilla-daemon
2010-01-14 12:27 ` bugzilla-daemon
2010-01-14 12:49   ` FUJITA Tomonori
2010-01-14 12:49 ` bugzilla-daemon
2010-01-15  2:49 ` bugzilla-daemon
2010-01-18  4:18   ` FUJITA Tomonori
2010-01-15 12:23 ` bugzilla-daemon
2010-01-18  4:18   ` FUJITA Tomonori
2010-01-18  4:18 ` bugzilla-daemon
2010-01-18  4:18 ` bugzilla-daemon
2010-01-18  9:42 ` bugzilla-daemon
2010-01-18  9:45 ` bugzilla-daemon

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=201001140825.o0E8PS9e010991@demeter.kernel.org \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.