]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-parallel-attaching-20061021
authorTom Keiser <tkeiser@gmail.com>
Sun, 22 Oct 2006 03:02:01 +0000 (03:02 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 22 Oct 2006 03:02:01 +0000 (03:02 +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 0aa3e558e90a98f14d6e86f67e6e7e9af5576c43..5ecc94c36f965e3e21daa513e0b98e59a2347532 100644 (file)
@@ -317,7 +317,7 @@ VInitVolumePackage(ProgramType pt, int nLargeVnodes, int nSmallVnodes,
            dpq = (diskpartition_queue_t *) malloc(sizeof(struct diskpartition_queue_t));
            assert(dpq != NULL);
            dpq->diskP = diskP;
-           queue_Prepend(&params,dpq);
+           queue_Append(&params,dpq);
        }
 
        assert(pthread_attr_init(&attrs) == 0);