[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ide: Cap LBA28 capacity announcement to 2^28-1
From: |
Kevin Wolf |
Subject: |
Re: [PATCH] ide: Cap LBA28 capacity announcement to 2^28-1 |
Date: |
Wed, 20 Oct 2021 10:57:58 +0200 |
Am 06.10.2021 um 01:57 hat Samuel Thibault geschrieben:
> Ping?
>
> Samuel Thibault, le mar. 24 août 2021 12:43:44 +0200, a ecrit:
> > The LBA28 capacity (at offsets 60/61 of identification) is supposed to
> > express the maximum size supported by LBA28 commands. If the device is
> > larger than this, we have to cap it to 2^28-1.
> >
> > At least NetBSD happens to be using this value to determine whether to use
> > LBA28 or LBA48 for its commands, using LBA28 for sectors that don't need
> > LBA48. This commit thus fixes NetBSD access to disks larger than 128GiB.
> >
> > Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Thanks, applied to the block branch. (I hope John doesn't have a problem
with me stealing this patch from his maintainership area.)
Kevin