Deleted Added
full compact
vdev_queue.c (249206) vdev_queue.c (251631)
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 */
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/* The maximum number of I/Os concurrently pending to each device. */
40int zfs_vdev_max_pending = 10;
41
38/*
42/*
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 * The initial number of I/Os pending to each device, before it starts ramping
44 * up to zfs_vdev_max_pending.
43 */
45 */
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 ---
46int zfs_vdev_min_pending = 4;
47
48/*
49 * The deadlines are grouped into buckets based on zfs_vdev_time_shift:
50 * deadline = pri + gethrtime() >> time_shift)
51 */
52int zfs_vdev_time_shift = 29; /* each bucket is 0.537 seconds */
53

--- 395 unchanged lines hidden ---