LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "adam radford" <aradford@gmail.com>
To: "Matteo Tescione" <matteo@rmnet.it>
Cc: linux-kernel@vger.kernel.org
Subject: Re: max_sectors_kb problem
Date: Thu, 20 Mar 2008 14:45:01 -0800	[thread overview]
Message-ID: <b1bc6a000803201545i2eaecc20r921b77e2e60e8911@mail.gmail.com> (raw)
In-Reply-To: <C4077491.650A%matteo@rmnet.it>

On Wed, Mar 19, 2008 at 4:55 PM, Matteo Tescione <matteo@rmnet.it> wrote:
> Hello Folks,
>
>  I'm running 2.6.24.3 kernel with the 3ware 9650se 8port in raid10 with 256K
>  of stripesize.
>  The question is: why linux kernel (2.6.24 but it's the same in older
>  kernels) see only 128K as it's max_sectors_kb ?
>  It's limited by max_hw_segments_kb which i think should be 256 with a 256 k
>  stripe.
>  It seems hardcoded somewhere, altough in 3w-9xxx.c i can't find it.
>  I'm running firmware FE9X 3.08.02.007 and driver version  2.26.02.010
>  Can someone help me?

This is hardcoded in the 3w-9xxx driver to 128k.   The controller firmware
is only guaranteed to work with that size.  If you change it, you may
incur data corruption, hangs, or both.  Hacker beware.

-Adam

      reply	other threads:[~2008-03-20 22:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-20  0:55 Matteo Tescione
2008-03-20 22:45 ` adam radford [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=b1bc6a000803201545i2eaecc20r921b77e2e60e8911@mail.gmail.com \
    --to=aradford@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matteo@rmnet.it \
    --subject='Re: max_sectors_kb problem' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).