Date: Sun, 6 Jun 2010 19:18:48 GMT From: Ilya Bakulin <kibab@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 179264 for review Message-ID: <201006061918.o56JImNm024694@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@179264?ac=10 Change 179264 by kibab@kibab_kibab-nb on 2010/06/06 19:17:48 Feature set: GEOM classes, part 1. Affected files ... .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/geom/bde/g_bde.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/geom/concat/g_concat.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/geom/eli/g_eli.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/geom/gate/g_gate.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/geom/journal/g_journal.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/geom/label/g_label.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/geom/linux_lvm/g_linux_lvm.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/geom/mirror/g_mirror.c#2 edit Differences ... ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/geom/bde/g_bde.c#2 (text+ko) ==== @@ -41,6 +41,7 @@ #include <sys/systm.h> #include <sys/kernel.h> #include <sys/kthread.h> +#include <sys/sysctl.h> #include <crypto/rijndael/rijndael-api-fst.h> #include <crypto/sha2/sha2.h> @@ -48,6 +49,8 @@ #include <geom/bde/g_bde.h> #define BDE_CLASS_NAME "BDE" +FEATURE(geom_bde, "Geom Based Disk Encryption"); + static void g_bde_start(struct bio *bp) { ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/geom/concat/g_concat.c#2 (text+ko) ==== @@ -39,6 +39,7 @@ #include <geom/geom.h> #include <geom/concat/g_concat.h> +FEATURE(geom_concat, "Geom concatenation support"); static MALLOC_DEFINE(M_CONCAT, "concat_data", "GEOM_CONCAT Data"); ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/geom/eli/g_eli.c#2 (text+ko) ==== @@ -51,6 +51,7 @@ #include <geom/eli/g_eli.h> #include <geom/eli/pkcs5v2.h> +FEATURE(geom_eli, "Geom crypto module"); MALLOC_DEFINE(M_ELI, "eli data", "GEOM_ELI Data"); ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/geom/gate/g_gate.c#2 (text+ko) ==== @@ -53,6 +53,8 @@ #include <geom/geom.h> #include <geom/gate/g_gate.h> +FEATURE(geom_gate, "Geom Gate"); + static MALLOC_DEFINE(M_GATE, "gg_data", "GEOM Gate Data"); SYSCTL_DECL(_kern_geom); ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/geom/journal/g_journal.c#2 (text+ko) ==== @@ -55,6 +55,7 @@ #include <geom/journal/g_journal.h> +FEATURE(geom_journal, "Geom journaling support"); /* * On-disk journal format: ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/geom/label/g_label.c#2 (text+ko) ==== @@ -36,10 +36,12 @@ #include <sys/bio.h> #include <sys/malloc.h> #include <sys/libkern.h> +#include <sys/sysctl.h> #include <geom/geom.h> #include <geom/geom_slice.h> #include <geom/label/g_label.h> +FEATURE(geom_label, "Geom labeling support"); SYSCTL_DECL(_kern_geom); SYSCTL_NODE(_kern_geom, OID_AUTO, label, CTLFLAG_RW, 0, "GEOM_LABEL stuff"); ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/geom/linux_lvm/g_linux_lvm.c#2 (text+ko) ==== @@ -42,6 +42,8 @@ #include <geom/linux_lvm/g_linux_lvm.h> +FEATURE(geom_linux_lvm, "Geom Linux LVM support"); + /* Declare malloc(9) label */ static MALLOC_DEFINE(M_GLLVM, "gllvm", "GEOM_LINUX_LVM Data"); ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/geom/mirror/g_mirror.c#2 (text+ko) ==== @@ -45,6 +45,7 @@ #include <sys/sched.h> #include <geom/mirror/g_mirror.h> +FEATURE(geom_mirror, "Geom mirroring support"); static MALLOC_DEFINE(M_MIRROR, "mirror_data", "GEOM_MIRROR Data");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006061918.o56JImNm024694>