mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 22:04:40 +00:00
We really don't want to receive spoil event for synchroniztion consumers.
This commit is contained in:
parent
e8e41d4cf8
commit
d86bc96cab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133991
|
@ -2404,7 +2404,6 @@ g_mirror_create(struct g_class *mp, const struct g_mirror_metadata *md)
|
|||
*/
|
||||
gp = g_new_geomf(mp, "%s.sync", md->md_name);
|
||||
gp->softc = sc;
|
||||
gp->spoiled = g_mirror_spoiled;
|
||||
gp->orphan = g_mirror_orphan;
|
||||
sc->sc_sync.ds_geom = gp;
|
||||
sc->sc_sync.ds_ndisks = 0;
|
||||
|
|
|
@ -2492,7 +2492,6 @@ g_raid3_create(struct g_class *mp, const struct g_raid3_metadata *md)
|
|||
*/
|
||||
gp = g_new_geomf(mp, "%s.sync", md->md_name);
|
||||
gp->softc = sc;
|
||||
gp->spoiled = g_raid3_spoiled;
|
||||
gp->orphan = g_raid3_orphan;
|
||||
sc->sc_sync.ds_geom = gp;
|
||||
sc->sc_zone_64k = uma_zcreate("gr3:64k", 65536, NULL, NULL, NULL, NULL,
|
||||
|
|
Loading…
Reference in a new issue