Received: by mail.netbsd.org (Postfix, from userid 605) id 764B784D4B; Sun, 13 Aug 2017 21:00:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0614384D62 for ; Sun, 13 Aug 2017 21:00:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 76qq5-AVcB4D for ; Sun, 13 Aug 2017 21:00:58 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 9CA9984D3E for ; Sun, 13 Aug 2017 21:00:58 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 8F368FAD0; Sun, 13 Aug 2017 21:00:58 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 13 Aug 2017 21:00:58 +0000 From: "Michael van Elst" Subject: CVS commit: src/sys/ufs/ffs To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20170813210058.8F368FAD0@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Michael van Elst" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: mlelstv Date: Sun Aug 13 21:00:58 UTC 2017 Modified Files: src/sys/ufs/ffs: ffs_alloc.c Log Message: Don't time out the discard work queue here. Either destroying a work queue with pending work items panics or accessing freed resources from the work item will crash. The timeout needs to be handled gracefully by the driver that implements the discard operation. Fixes parts of PR 50725. To generate a diff of this commit: cvs rdiff -u -r1.157 -r1.158 src/sys/ufs/ffs/ffs_alloc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.