Handle the problem described in r220264 by using GEOM GATE queue of unlimited
length. This should fix deadlocks reported by HAST users. MFC after: 1 week
This commit is contained in:
parent
ab9092093c
commit
2a49afacd1
@ -761,7 +761,7 @@ init_ggate(struct hast_resource *res)
|
||||
ggiocreate.gctl_mediasize = res->hr_datasize;
|
||||
ggiocreate.gctl_sectorsize = res->hr_local_sectorsize;
|
||||
ggiocreate.gctl_flags = 0;
|
||||
ggiocreate.gctl_maxcount = G_GATE_MAX_QUEUE_SIZE;
|
||||
ggiocreate.gctl_maxcount = 0;
|
||||
ggiocreate.gctl_timeout = 0;
|
||||
ggiocreate.gctl_unit = G_GATE_NAME_GIVEN;
|
||||
snprintf(ggiocreate.gctl_name, sizeof(ggiocreate.gctl_name), "hast/%s",
|
||||
|
Loading…
x
Reference in New Issue
Block a user