freebsd-skq/sys/geom
Poul-Henning Kamp 3d3816e633 Extensively rework the geom_bsd method, put a lot of comments in, betting
that this will make people use this for their future copy&paste operations.

Rework the detection of raw-disk offsets in disklabels.  This actually
unearthed a number of bugs in the (now) previous version.

Also accept labels which don't have a magic RAW_PART, provided they don't
confuse us too much.

Change the order of our sanity-checks on labels found on disks to be more
robust.

Check against MAXPARTITIONS in our sanity-check and reject disklabels
we cannot cope with.

Create new g_bsd_modify() function to implment disklabel modifying
ioctls.

Implement DIOCSDINFO and DIOCWDINFO with the provision that the latter
still not writes your change back to disk.  I didn't have the nerves
for that yet.

In the start routine, use g_call_me() for complex ioctls to prevent
sleeping.

Sponsored by:   DARPA & NAI Labs.
2002-09-27 21:54:37 +00:00
..
geom_aes.c Add the new g_slice_config() call, which can add/delete/change a slice, 2002-09-27 21:37:11 +00:00
geom_bsd.c Extensively rework the geom_bsd method, put a lot of comments in, betting 2002-09-27 21:54:37 +00:00
geom_ccd.c - Use vrefcnt() instead of v_usecount. 2002-09-25 02:42:43 +00:00
geom_dev.c Various no-ops: 2002-09-27 21:05:05 +00:00
geom_disk.c (This commit touches about 15 disk device drivers in a very consistent 2002-09-20 19:36:05 +00:00
geom_dump.c Remove "magicspace". It looks good on paper, it doesn't work in practice. 2002-09-06 08:50:28 +00:00
geom_enc.c Various no-ops: 2002-09-27 21:05:05 +00:00
geom_event.c Implement g_call_me() as a way for geom methods to schedule operations 2002-09-27 20:38:36 +00:00
geom_gpt.c Add the new g_slice_config() call, which can add/delete/change a slice, 2002-09-27 21:37:11 +00:00
geom_int.h Implement g_call_me() as a way for geom methods to schedule operations 2002-09-27 20:38:36 +00:00
geom_io.c Setattr should not retry on EBUSY, we could get EBUSY back because 2002-09-27 21:12:47 +00:00
geom_kern.c Make the UP/DOWN threads hold on to their own private mutex while doing 2002-09-27 21:24:40 +00:00
geom_mbr.c Add the new g_slice_config() call, which can add/delete/change a slice, 2002-09-27 21:37:11 +00:00
geom_pc98.c Add the new g_slice_config() call, which can add/delete/change a slice, 2002-09-27 21:37:11 +00:00
geom_slice.c Add the new g_slice_config() call, which can add/delete/change a slice, 2002-09-27 21:37:11 +00:00
geom_slice.h Add the new g_slice_config() call, which can add/delete/change a slice, 2002-09-27 21:37:11 +00:00
geom_subr.c Remove "magicspace". It looks good on paper, it doesn't work in practice. 2002-09-06 08:50:28 +00:00
geom_sunlabel.c Add the new g_slice_config() call, which can add/delete/change a slice, 2002-09-27 21:37:11 +00:00
geom.h Various no-ops: 2002-09-27 21:05:05 +00:00