diff options
author | Richard Yao <[email protected]> | 2015-08-29 12:01:07 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-09-01 15:22:07 -0700 |
commit | fb40095f5f0853946f8150481ca22602d1334dfe (patch) | |
tree | d0c1617c305088d01b7c3db29c46824c610c0f5f /include/sys | |
parent | cafbd2aca3fd17be78577348d9661f4142d1eb70 (diff) |
Disable LBA weighting on files and SSDs
The LBA weighting makes sense on rotational media where the outer tracks
have twice the bandwidth of the inner tracks. However, it is detrimental
on nonrotational media such as solid state disks, where the only effect
is to ensure that metaslabs enter the best-fit allocation behavior
sooner, which is detrimental to performance. It also makes no sense on
files where the underlying filesystem can arrange things however it
wants.
Signed-off-by: Richard Yao <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #3712
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/vdev_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/vdev_impl.h b/include/sys/vdev_impl.h index 6b27e75ae..1371a3f03 100644 --- a/include/sys/vdev_impl.h +++ b/include/sys/vdev_impl.h @@ -151,6 +151,7 @@ struct vdev { vdev_stat_t vdev_stat; /* virtual device statistics */ boolean_t vdev_expanding; /* expand the vdev? */ boolean_t vdev_reopening; /* reopen in progress? */ + boolean_t vdev_nonrot; /* true if solid state */ int vdev_open_error; /* error on last open */ kthread_t *vdev_open_thread; /* thread opening children */ uint64_t vdev_crtxg; /* txg when top-level was added */ |