DEVEL15-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.


(cherry picked from commit e6b719a4c0a33b0b020c07c20124a40a245dbe9e)
This commit is contained in:
Tom Keiser 2006-10-22 03:00:12 +00:00 committed by Jeffrey Altman
parent 231ef42273
commit ebb53bebac

View File

@ -527,7 +527,7 @@ VInitVolumePackage(ProgramType pt, afs_uint32 nLargeVnodes, afs_uint32 nSmallVno
dpq = (diskpartition_queue_t *) malloc(sizeof(struct diskpartition_queue_t));
assert(dpq != NULL);
dpq->diskP = diskP;
queue_Prepend(&params,dpq);
queue_Append(&params,dpq);
}
threads = MIN(parts, vol_attach_threads);