freebsd-src/sys/geom
Warner Losh 5c9f0f72f4 gpart: Be less picky about GPT Tables in some cases
When we're recoverying a damangae GPT, or when we're restoring a backed
up partition tables, don't enforce the 4k alignment for start/end LBAs.
This is useful for 512e/4kn drives when we're creating a new partition
table or partition. However, when we're trying to fix / restore an old
partition, we shouldn't force this alignment, since in that case it's
more important to use the partition table as is than to optimize
performance by rounding (which isn't required by the standard).

MFC After:		1 week
Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D42359
2023-10-26 10:14:54 -06:00
..
bde sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
cache sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
concat sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
eli sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
gate sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
journal sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
label sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
linux_lvm geom_linux_lvm: Avoid removing from vg_list before inserting 2023-10-17 11:19:05 -04:00
mirror sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mountver sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
multipath sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nop sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
part gpart: Be less picky about GPT Tables in some cases 2023-10-26 10:14:54 -06:00
raid sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
raid3 sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
shsec sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
stripe sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
union spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
uzip sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
vinum sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
virstor sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
zero sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
geom_bsd_enc.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom_ccd.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom_ctl.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom_ctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
geom_dbg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
geom_dev.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom_disk.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom_disk.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
geom_dump.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom_event.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom_flashmap.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom_flashmap.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
geom_int.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
geom_io.c Fix geom build with clang 17 and KTR enabled 2023-09-17 14:13:09 +02:00
geom_kern.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom_map.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom_redboot.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom_slice.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom_slice.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
geom_subr.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom_vfs.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
geom_vfs.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
notes sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00