Uz.ytkownik Alexander Viro napisa?:
>
> On Thu, 1 Aug 2002, Linus Torvalds wrote:
>
>
>>You probably saw this. Looks like blocksize has been buggered somehow.
>>Apparently Petr has a 1kB blocksize optical device..
>
>
> Yeah - with partition boundaries set not on a physical sector boundary ;-/
>
> He's actually lucky that beginning of partition was not in the middle of
> a physical sector...
>
> Looks like we need
> a) accurate hardsect_size for these beasts (which is a problem
> with current setup, since it's per-queue and not per-device; master and
> slave can have different hardsect sizes).
FYI: In the ATA driver area all queues *are* explicitely per device.
> b) extra check in check_partitions() that would verify that
> partition doesn't end in the middle of a sector (and round it down
> if it does).
>
> Basically, old code worked by accident on that setup - Petr had half-Kb
> in the end of partition unaccessible and do_open() didn't notice that.
> Now it does and tries to give such access. Disk is not happy...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:18 EST