Date: Sun, 6 Apr 2014 16:31:28 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r264193 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs Message-ID: <201404061631.s36GVSpa075375@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Sun Apr 6 16:31:28 2014 New Revision: 264193 URL: http://svnweb.freebsd.org/changeset/base/264193 Log: In addition to r264077, tell GEOM that we do support BIO_DELETE now. Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c ============================================================================== --- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c Sun Apr 6 10:56:27 2014 (r264192) +++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c Sun Apr 6 16:31:28 2014 (r264193) @@ -2440,6 +2440,9 @@ zvol_geom_start(struct bio *bp) zvol_strategy(bp); break; case BIO_GETATTR: + if (g_handleattr_int(bp, "GEOM::candelete", 1)) + return; + /* FALLTHROUGH */ default: g_io_deliver(bp, EOPNOTSUPP); break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404061631.s36GVSpa075375>