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()
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()
334 uint64_t min_offset = P2ALIGN(io_start, VCBS); in vdev_cache_write()
335 uint64_t max_offset = P2ROUNDUP(io_end, VCBS); in vdev_cache_write()
[all …]