diff options
author | mav <mav@FreeBSD.org> | 2012-09-13 13:27:09 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2012-09-13 13:27:09 +0000 |
commit | db9e01aca9af40e4b56657bc713041a28462e06b (patch) | |
tree | 0ff95415709412d6c621a94ef09cd40e80d7600e /sys/geom/raid/md_intel.c | |
parent | 10608e7d855a9c973b57055bfc2e87284c68ce9e (diff) | |
download | FreeBSD-src-db9e01aca9af40e4b56657bc713041a28462e06b.zip FreeBSD-src-db9e01aca9af40e4b56657bc713041a28462e06b.tar.gz |
Add global and per-module sysctls/tunables to enable/disable metadata taste.
That should help to handle some cases when disk has some RAID metadata that
should be ignored, especially during boot.
MFC after: 3 days
Diffstat (limited to 'sys/geom/raid/md_intel.c')
-rw-r--r-- | sys/geom/raid/md_intel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/raid/md_intel.c b/sys/geom/raid/md_intel.c index 3623a21..cdb15ca 100644 --- a/sys/geom/raid/md_intel.c +++ b/sys/geom/raid/md_intel.c @@ -224,6 +224,7 @@ static struct g_raid_md_class g_raid_md_intel_class = { "Intel", g_raid_md_intel_methods, sizeof(struct g_raid_md_intel_object), + .mdc_enable = 1, .mdc_priority = 100 }; @@ -2432,4 +2433,4 @@ g_raid_md_free_intel(struct g_raid_md_object *md) return (0); } -G_RAID_MD_DECLARE(g_raid_md_intel); +G_RAID_MD_DECLARE(intel, "Intel"); |