zil.c (251631) | zil.c (258632) |
---|---|
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 --- 870 unchanged lines hidden (view full) --- 879 880 if (zilog->zl_root_zio == NULL) { 881 zilog->zl_root_zio = zio_root(zilog->zl_spa, NULL, NULL, 882 ZIO_FLAG_CANFAIL); 883 } 884 if (lwb->lwb_zio == NULL) { 885 lwb->lwb_zio = zio_rewrite(zilog->zl_root_zio, zilog->zl_spa, 886 0, &lwb->lwb_blk, lwb->lwb_buf, BP_GET_LSIZE(&lwb->lwb_blk), | 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 --- 870 unchanged lines hidden (view full) --- 879 880 if (zilog->zl_root_zio == NULL) { 881 zilog->zl_root_zio = zio_root(zilog->zl_spa, NULL, NULL, 882 ZIO_FLAG_CANFAIL); 883 } 884 if (lwb->lwb_zio == NULL) { 885 lwb->lwb_zio = zio_rewrite(zilog->zl_root_zio, zilog->zl_spa, 886 0, &lwb->lwb_blk, lwb->lwb_buf, BP_GET_LSIZE(&lwb->lwb_blk), |
887 zil_lwb_write_done, lwb, ZIO_PRIORITY_LOG_WRITE, | 887 zil_lwb_write_done, lwb, ZIO_PRIORITY_SYNC_WRITE, |
888 ZIO_FLAG_CANFAIL | ZIO_FLAG_DONT_PROPAGATE, &zb); 889 } 890} 891 892/* 893 * Define a limited set of intent log block sizes. 894 * 895 * These must be a multiple of 4KB. Note only the amount used (again --- 1235 unchanged lines hidden --- | 888 ZIO_FLAG_CANFAIL | ZIO_FLAG_DONT_PROPAGATE, &zb); 889 } 890} 891 892/* 893 * Define a limited set of intent log block sizes. 894 * 895 * These must be a multiple of 4KB. Note only the amount used (again --- 1235 unchanged lines hidden --- |