zil.c (239620) | zil.c (240415) |
---|---|
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 --- 1095 unchanged lines hidden (view full) --- 1104 * log record sequence number. Note that this is generally not 1105 * equal to the itx sequence number because not all transactions 1106 * are synchronous, and sometimes spa_sync() gets there first. 1107 */ 1108 lrc->lrc_seq = ++zilog->zl_lr_seq; /* we are single threaded */ 1109 lwb->lwb_nused += reclen + dlen; 1110 lwb->lwb_max_txg = MAX(lwb->lwb_max_txg, txg); 1111 ASSERT3U(lwb->lwb_nused, <=, lwb->lwb_sz); | 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 --- 1095 unchanged lines hidden (view full) --- 1104 * log record sequence number. Note that this is generally not 1105 * equal to the itx sequence number because not all transactions 1106 * are synchronous, and sometimes spa_sync() gets there first. 1107 */ 1108 lrc->lrc_seq = ++zilog->zl_lr_seq; /* we are single threaded */ 1109 lwb->lwb_nused += reclen + dlen; 1110 lwb->lwb_max_txg = MAX(lwb->lwb_max_txg, txg); 1111 ASSERT3U(lwb->lwb_nused, <=, lwb->lwb_sz); |
1112 ASSERT3U(P2PHASE(lwb->lwb_nused, sizeof (uint64_t)), ==, 0); | 1112 ASSERT0(P2PHASE(lwb->lwb_nused, sizeof (uint64_t))); |
1113 1114 return (lwb); 1115} 1116 1117itx_t * 1118zil_itx_create(uint64_t txtype, size_t lrsize) 1119{ 1120 itx_t *itx; --- 933 unchanged lines hidden --- | 1113 1114 return (lwb); 1115} 1116 1117itx_t * 1118zil_itx_create(uint64_t txtype, size_t lrsize) 1119{ 1120 itx_t *itx; --- 933 unchanged lines hidden --- |