From owner-svn-src-head@FreeBSD.ORG Mon Nov 17 12:03:55 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4CFD7F32 for ; Mon, 17 Nov 2014 12:03:55 +0000 (UTC) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C9461B5C for ; Mon, 17 Nov 2014 12:03:54 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id 10so15580552lbg.21 for ; Mon, 17 Nov 2014 04:03:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:cc:content-type; bh=jSexI1M9oE7otYcqnYlVhwLNSKdR29CFmolXQoACsx4=; b=bIImTxUFcNKZrLlZgZe3c1hlGHGm4fwhb7D0BldXFq2cyn3nqBWNv6xuY5liDXc59i fCWeAuD0wHBQtnbyp86NYcXfV1BMsIy9pwq4ESDvwIbo3qY6jTvL7dd58pnreYyRyU9R IelyTLvLJ0O7WXWtaUducGHUjvzen+v51x3GemC5KxsF2Kb4+FWg7gcympLFAIUCyvIV 0v5bs4a5AqCPEJQvoKOx/FTDto505/szkyyhfJv1rp4lOrN6yt2DHovK+PDUyuOwcCYO 0Rii1wXhBFHya8QdGznuxQhdU2mJPxVdPrfjtymSjWKhS5TUHnZUTKNSDPb7CD97CYZo lyzw== X-Gm-Message-State: ALoCoQkEOmVmaqxQ9i9bZN5TkfXyf6nnRtm+GFq+0rO+CrFm7cK37v1swYaN7hkpMsawtss0KWnk X-Received: by 10.152.5.6 with SMTP id o6mt14238716lao.8.1416225832210; Mon, 17 Nov 2014 04:03:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.21.1 with HTTP; Mon, 17 Nov 2014 04:03:21 -0800 (PST) In-Reply-To: <201411171132.sAHBWBMU006778@svn.freebsd.org> References: <201411171132.sAHBWBMU006778@svn.freebsd.org> From: Steven Hartland Date: Mon, 17 Nov 2014 12:03:21 +0000 Message-ID: Subject: Re: svn commit: r274619 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2014 12:03:55 -0000 On 17 November 2014 11:32, Steven Hartland wrote: > Author: smh > Date: Mon Nov 17 11:32:10 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 > This should have listed MFC: 3 days