diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2019-09-27 10:26:55 -0600 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2019-09-30 14:23:52 -0600 |
commit | d0562c105d77a4d4da85007111e260da7ea2616f (patch) | |
tree | 965a58a1e31369a058b6a617236567949895ecd6 | |
parent | aef5ddef46ea0369baf07aba4d38ed9b2cd8cd96 (diff) | |
download | illumos-joyent-d0562c105d77a4d4da85007111e260da7ea2616f.tar.gz |
11754 ZoL trim port used wrong offset for sd unmap
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Kody Kantor <kody.kantor@joyent.com>
Approved by: Robert Mustacchi <rm@fingolfin.org>
-rw-r--r-- | usr/src/uts/common/fs/zfs/vdev_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/fs/zfs/vdev_disk.c b/usr/src/uts/common/fs/zfs/vdev_disk.c index b4fa9e9e17..138d4af9da 100644 --- a/usr/src/uts/common/fs/zfs/vdev_disk.c +++ b/usr/src/uts/common/fs/zfs/vdev_disk.c @@ -956,7 +956,7 @@ vdev_disk_io_start(zio_t *zio) dkioc_free_list_t dfl; dfl.dfl_flags = 0; dfl.dfl_num_exts = 1; - dfl.dfl_offset = VDEV_LABEL_START_SIZE; + dfl.dfl_offset = 0; dfl.dfl_exts[0].dfle_start = zio->io_offset; dfl.dfl_exts[0].dfle_length = zio->io_size; |