]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-parallel-attaching-20061021
authorTom Keiser <tkeiser@gmail.com>
Sun, 22 Oct 2006 03:00:12 +0000 (03:00 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 22 Oct 2006 03:00:12 +0000 (03:00 +0000)
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

index e3513fcce23fecf23709adfca282b072c469fd92..91ede86e9428c64121beb7b60942285cefc6239c 100644 (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);