mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
parallel-attaching-20061021
FIXES 43332 Some sites expect single-threaded volume attaches to happen in a specific order. The parallel attach patch also changed the attach order for sites not specifying -vattachpar.
This commit is contained in:
parent
e720779b7c
commit
e6b719a4c0
@ -521,7 +521,7 @@ VInitVolumePackage(ProgramType pt, afs_uint32 nLargeVnodes, afs_uint32 nSmallVno
|
|||||||
dpq = (diskpartition_queue_t *) malloc(sizeof(struct diskpartition_queue_t));
|
dpq = (diskpartition_queue_t *) malloc(sizeof(struct diskpartition_queue_t));
|
||||||
assert(dpq != NULL);
|
assert(dpq != NULL);
|
||||||
dpq->diskP = diskP;
|
dpq->diskP = diskP;
|
||||||
queue_Prepend(¶ms,dpq);
|
queue_Append(¶ms,dpq);
|
||||||
}
|
}
|
||||||
|
|
||||||
threads = MIN(parts, vol_attach_threads);
|
threads = MIN(parts, vol_attach_threads);
|
||||||
|
Loading…
Reference in New Issue
Block a user