[parted-devel] [PATCH 9/9] libparted: device mapper uses 512b sectors
Phillip Susi
psusi at ubuntu.com
Fri Feb 6 21:48:21 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2/6/2015 4:42 PM, Brian C. Lane wrote:
>> It is at least true under normal circumstances... iirc though,
>> the test harness uses PED_SECTOR_SIZE to force parted to ignore
>> the size the disk reports and pretend it has a larger sector
>> size. Is that what is going on here? If so then then problem is
>> only with the test harness and I'm not entirely sure using that
>> override that way is really supported. In other words, this kind
>> of feels like a "don't do that" bug. On the other hand, I
>> suppose it wouldn't *hurt* to fix it.
>
> That's probably also happening, but I can reproduce it outside of
> the test harness:
OH! They must have changed devmapper to report larger sector sizes,
while still using fixed 512 byte sectors in the mapping tables. If
that is the case, then ACK.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
iQEcBAEBAgAGBQJU1TalAAoJENRVrw2cjl5R1qEH/AoudEGIn+IEcwpBf3BrcYd5
DX0DqndKq73wJDor/fZDGiItIb6I1j2hgRZJR9L3kxEPTyNP1h055OdMLBX4KeTo
YMdR9oMRrPmrigX+i4FhDWp65qSWH/hsUNq7ii2cTECP+szhqM1AMJDf7A4uEhY/
yaC/THjLWwz+CaVRgkhnWEngOZQlhX7uFTnJ8B30+QDi7O+wVz5/VhXF+mYcesXo
eQmykCA34XPhc/RVUAgAM0GmiqcJID1UOdBfvjcR7PHjGi+16yBYK1cgz3wiIPgp
WA0qfU4CI0dXaC2U4fgFrH/7VJS5Sa8gOplXRIiJrXz62eloAulbAtTvbU9RZ3o=
=fi8Z
-----END PGP SIGNATURE-----
More information about the parted-devel
mailing list