Received: by mail.netbsd.org (Postfix, from userid 605) id 4EB8884E62; Thu, 2 Jan 2020 06:22:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B1BF384E61 for ; Thu, 2 Jan 2020 06:22:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id wWjFHM7cdtKr for ; Thu, 2 Jan 2020 06:22:23 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 49CF484E02 for ; Thu, 2 Jan 2020 06:22:23 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 42CDFFA97; Thu, 2 Jan 2020 06:22:23 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 2 Jan 2020 06:22:23 +0000 From: "Tomohiro Kusumi" Subject: CVS commit: src/sys/dev/dm To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200102062223.42CDFFA97@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: "Tomohiro Kusumi" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: tkusumi Date: Thu Jan 2 06:22:23 UTC 2020 Modified Files: src/sys/dev/dm: dm.h dm_target.c Added Files: src/sys/dev/dm: dm_target_flakey.c Log Message: dm: Add dm-flakey target Ported from DragonFlyBSD, but this target had originally existed in Linux kernel. See below for details. https://www.kernel.org/doc/Documentation/device-mapper/dm-flakey.txt Due to two technical issues, this hasn't been hooked to dm.kmod yet. 1) "tick" in hz(9) not working. 2) Unable to use ->b_private in nestiobuf callback when it's already used for mbp (see HAS_BUF_PRIV2). taken-from: DragonFlyBSD To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/dev/dm/dm.h cvs rdiff -u -r1.37 -r1.38 src/sys/dev/dm/dm_target.c cvs rdiff -u -r0 -r1.1 src/sys/dev/dm/dm_target_flakey.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.