[Bug 191573] [zfs] kernel panic when running zpool/add/files.t
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Nov 17 11:32:23 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191573
--- Comment #18 from commit-hook at freebsd.org ---
A commit references this bug:
Author: smh
Date: Mon Nov 17 11:32:12 UTC 2014
New revision: 274619
URL: https://svnweb.freebsd.org/changeset/base/274619
Log:
Disable TRIM on file backed ZFS vdevs and fix TRIM on init
After r265152 TRIM requests are ZIO_TYPE_FREE instead of ZIO_TYPE_IOCTL
this meant file backed vdevs to attempted to process the ZIO as a write
causing a panic.
We now disable TRIM on file backed vdevs and ASSERT the ZIO types supported
by each vdev type to ensure we explicity support the ZIO type being
processed.
Also ensure that TRIM on init is not procesed for devices which declare they
didn't support TRIM via vdev_notrim.
PR: 195061, 194976, 191573
Sponsored by: Multiplay
Changes:
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/trim_map.c
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_disk.c
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_file.c
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_label.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-fs
mailing list