LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* max_sectors_kb problem
@ 2008-03-20 0:55 Matteo Tescione
2008-03-20 22:45 ` adam radford
0 siblings, 1 reply; 2+ messages in thread
From: Matteo Tescione @ 2008-03-20 0:55 UTC (permalink / raw)
To: linux-kernel
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?
Thanks in advance,
--
--
#Matteo Tescione
#RMnet srl
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: max_sectors_kb problem
2008-03-20 0:55 max_sectors_kb problem Matteo Tescione
@ 2008-03-20 22:45 ` adam radford
0 siblings, 0 replies; 2+ messages in thread
From: adam radford @ 2008-03-20 22:45 UTC (permalink / raw)
To: Matteo Tescione; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-20 22:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-20 0:55 max_sectors_kb problem Matteo Tescione
2008-03-20 22:45 ` adam radford
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).