[Bug 320638] Re: Raid1 HDD and SD card -> bio too big device md0 (248 > 200)
Stephan Diestelhorst
stephan.diestelhorst at gmail.com
Fri Jan 23 22:17:59 UTC 2009
Just stumbled through Linux' source and fooled around a bit.
It seems that the value of 240 is consistent with what I can find in /sys/block/sdb/max_{,hw}_sectors_kb
for the SD card. (Returns 120)
Any other device I attach through USB and / or the card reader has the
same value. Where does this come from?
I've tried to understand how this value propagates through the
hierarchy, but was not too successful. What is strange is the fact that
the reported 248 are exactly one page (4kb = 8 sectors) off the max.
Could this be a rounding issue somewhere?
Most of the stuff just kept copying the value from the lower level or propagated the minimum value.
Which layer comes up with the 248 in the first place?
Just sharing my 0.02$, I apparently have no clue about that block layer
(stack).
--
Raid1 HDD and SD card -> bio too big device md0 (248 > 200)
https://bugs.launchpad.net/bugs/320638
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux-meta in ubuntu.
More information about the kernel-bugs
mailing list