Home
last modified time | relevance | path

Searched refs:zil_blksz (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/uts/common/fs/zfs/
H A Dzil.c934 uint64_t zil_blksz, wsz; in zil_lwb_write_start() local
979 zil_blksz = zilog->zl_cur_used + sizeof (zil_chain_t); in zil_lwb_write_start()
980 for (i = 0; zil_blksz > zil_block_buckets[i]; i++) in zil_lwb_write_start()
982 zil_blksz = zil_block_buckets[i]; in zil_lwb_write_start()
983 if (zil_blksz == UINT64_MAX) in zil_lwb_write_start()
984 zil_blksz = SPA_OLD_MAXBLOCKSIZE; in zil_lwb_write_start()
985 zilog->zl_prev_blks[zilog->zl_prev_rotor] = zil_blksz; in zil_lwb_write_start()
987 zil_blksz = MAX(zil_blksz, zilog->zl_prev_blks[i]); in zil_lwb_write_start()
992 error = zio_alloc_zil(spa, txg, bp, &lwb->lwb_blk, zil_blksz, in zil_lwb_write_start()