Re: [Q] is queue->hardsect_size respected?

From: Jens Axboe
Date: Thu Nov 24 2005 - 04:59:18 EST


On Wed, Nov 23 2005, Bartlomiej Zolnierkiewicz wrote:
> Hi,
>
> I'm hacking on ide-cd.c and I've noticed that some old code
> (PIO handing for read fs requests) still supports unaligned access:

I think that can safely die, that code even predates me maintaining it.
It's a bug to receive a request that's not hardsector aligned. It used
to be a problem with eg hfs cds, since they use 512b sectors. But the
caching should take care of it for us, it's definitely not driver
business.

So rip it!

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/