Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2014 11:32:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-fs@FreeBSD.org
Subject:   [Bug 191573] [zfs] kernel panic when running zpool/add/files.t
Message-ID:  <bug-191573-3630-R6SobDKzKQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191573-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-191573-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191573

--- Comment #18 from commit-hook@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191573-3630-R6SobDKzKQ>