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:
Tom Keiser 2006-10-22 02:58:37 +00:00 committed by Jeffrey Altman
parent e720779b7c
commit e6b719a4c0

View File

@ -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(&params,dpq); queue_Append(&params,dpq);
} }
threads = MIN(parts, vol_attach_threads); threads = MIN(parts, vol_attach_threads);