Deleted Added
sdiff udiff text old ( 249206 ) new ( 251631 )
full compact
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

--- 21 unchanged lines hidden (view full) ---

30#include <sys/zfs_context.h>
31#include <sys/vdev_impl.h>
32#include <sys/zio.h>
33#include <sys/avl.h>
34
35/*
36 * These tunables are for performance analysis.
37 */
38/*
39 * zfs_vdev_max_pending is the maximum number of i/os concurrently
40 * pending to each device. zfs_vdev_min_pending is the initial number
41 * of i/os pending to each device (before it starts ramping up to
42 * max_pending).
43 */
44int zfs_vdev_max_pending = 10;
45int zfs_vdev_min_pending = 4;
46
47/*
48 * The deadlines are grouped into buckets based on zfs_vdev_time_shift:
49 * deadline = pri + gethrtime() >> time_shift)
50 */
51int zfs_vdev_time_shift = 29; /* each bucket is 0.537 seconds */
52

--- 395 unchanged lines hidden ---