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

src/vol/volume.c

index 3ef35aa79487cd3f408ca48bd28d3aef519feef7..672f4958c66826d042eeca38990d91e37d94bf18 100644 (file)
@@ -521,7 +521,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);