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_sii.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_sii.c')
-rw-r--r-- | sys/geom/raid/md_sii.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/raid/md_sii.c b/sys/geom/raid/md_sii.c index ce38aea..e8183d9 100644 --- a/sys/geom/raid/md_sii.c +++ b/sys/geom/raid/md_sii.c @@ -140,6 +140,7 @@ static struct g_raid_md_class g_raid_md_sii_class = { "SiI", g_raid_md_sii_methods, sizeof(struct g_raid_md_sii_object), + .mdc_enable = 1, .mdc_priority = 100 }; @@ -1688,4 +1689,4 @@ g_raid_md_free_sii(struct g_raid_md_object *md) return (0); } -G_RAID_MD_DECLARE(g_raid_md_sii); +G_RAID_MD_DECLARE(sii, "SiI"); |