From ebb53bebac3e5c649a85bf20f2ce9d4b2ed01bf7 Mon Sep 17 00:00:00 2001 From: Tom Keiser Date: Sun, 22 Oct 2006 03:00:12 +0000 Subject: [PATCH] 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) --- src/vol/volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vol/volume.c b/src/vol/volume.c index e3513fcce2..91ede86e94 100644 --- a/src/vol/volume.c +++ b/src/vol/volume.c @@ -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(¶ms,dpq); + queue_Append(¶ms,dpq); } threads = MIN(parts, vol_attach_threads);