tech-kern archive

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

Re: WD_QUIRK_FORCE_LBA48



On Sat, Dec 05, 2009 at 03:06:50PM +0000, David Laight wrote:
> The 'wd' (aka ATA disk) driver has a load of code for the
> WD_QUIRK_FORCE_LBA48 quirk.
> 
> This forces LBA48 transfers for an ever increasing number of disks.
> 
> My suspicion is that the problems only relate to transfers that
> actually cross the LBA48 boundary.
> 
> So quite possibly checking:
>       wd->sc_wdc_bio.blkno + nblks > LBA48_THRESHOLD
> would remove the need for the quirk.


This would need to be tested more carefully, but actually this problem is
detected automatically and the quirk table for these drives should not be
needed any more (I didn't remove this table just to be conservative).

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index