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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux