Searched refs:IO_SPAN (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_queue.c500 * Conveniently, the gap between fio and lio is given by -IO_SPAN(lio, fio);
501 * thus fio and lio are adjacent if and only if IO_SPAN(lio, fio) == 0.
503 #define IO_SPAN(fio, lio) ((lio)->io_offset + (lio)->io_size - (fio)->io_offset) macro
504 #define IO_GAP(fio, lio) (-IO_SPAN(lio, fio))
545 IO_SPAN(dio, last) <= zfs_vdev_aggregation_limit &&
565 IO_SPAN(first, dio) <= zfs_vdev_aggregation_limit &&
610 size = IO_SPAN(first, last);

Completed in 58 milliseconds