lkml.org 
[lkml]   [2010]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: ATA 4 KiB sector issues.
From
Date
>>>>> "Karel" == Karel Zak <kzak@redhat.com> writes:

[Cleaned up the CC: list from hell]

Karel> # cat /sys/block/md8/queue/{minimum,optimal}_io_size
Karel> 65536 65536

This one had me puzzled. We set min_io and opt_io correctly in raid5.c
depending on number of non-parity disks. And yet it turns into
something nonsensical after.

Turns out we overrun unsigned int calculating the lowest common multiple
in the stacking function. That's why we ended up with the wrong value.

I never noticed this because my userland topology regression test tool
uses unsigned long.

I'll get a patch off to Jens right away.

--
Martin K. Petersen Oracle Linux Engineering


\
 
 \ /
  Last update: 2010-03-10 06:11    [W:0.105 / U:8.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site