Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_cache.c90 #define VCBS (1 << zfs_vdev_cache_bshift) /* 64KB */ macro
158 uint64_t offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_allocate()
182 ve->ve_abd = abd_alloc_for_io(VCBS, B_TRUE); in vdev_cache_allocate()
193 uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS); in vdev_cache_hit()
219 ASSERT3U(fio->io_size, ==, VCBS); in vdev_cache_fill()
255 uint64_t cache_offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_read()
256 uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS); in vdev_cache_read()
270 if (P2BOUNDARY(zio->io_offset, zio->io_size, VCBS)) in vdev_cache_read()
273 ASSERT3U(cache_phase + zio->io_size, <=, VCBS); in vdev_cache_read()
310 ve->ve_abd, VCBS, ZIO_TYPE_READ, ZIO_PRIORITY_NOW, in vdev_cache_read()
[all …]