zio.c (269407) | zio.c (272598) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 1443 unchanged lines hidden (view full) --- 1452 zio_unique_parent(zio) == NULL) { 1453 /* 1454 * This is a logical async I/O with no parent to wait for it. 1455 * We add it to the spa_async_root_zio "Godfather" I/O which 1456 * will ensure they complete prior to unloading the pool. 1457 */ 1458 spa_t *spa = zio->io_spa; 1459 | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 1443 unchanged lines hidden (view full) --- 1452 zio_unique_parent(zio) == NULL) { 1453 /* 1454 * This is a logical async I/O with no parent to wait for it. 1455 * We add it to the spa_async_root_zio "Godfather" I/O which 1456 * will ensure they complete prior to unloading the pool. 1457 */ 1458 spa_t *spa = zio->io_spa; 1459 |
1460 zio_add_child(spa->spa_async_zio_root, zio); | 1460 zio_add_child(spa->spa_async_zio_root[CPU_SEQID], zio); |
1461 } 1462 1463 zio_execute(zio); 1464} 1465 1466/* 1467 * ========================================================================== 1468 * Reexecute or suspend/resume failed I/O --- 1931 unchanged lines hidden --- | 1461 } 1462 1463 zio_execute(zio); 1464} 1465 1466/* 1467 * ========================================================================== 1468 * Reexecute or suspend/resume failed I/O --- 1931 unchanged lines hidden --- |