Received: by mail.netbsd.org (Postfix, from userid 605) id 3470A14A2E9; Fri, 2 Dec 2011 12:39:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5F02A14A2DA for ; Fri, 2 Dec 2011 12:39:00 +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 n_EpuNlUgGHj for ; Fri, 2 Dec 2011 12:38:59 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id B568F14A1A8 for ; Fri, 2 Dec 2011 12:38:59 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 9A3BC175DD; Fri, 2 Dec 2011 12:38:59 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Fri, 2 Dec 2011 12:38:59 +0000 From: "YAMAMOTO Takashi" Subject: CVS commit: src/sys/kern To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20111202123859.9A3BC175DD@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: "YAMAMOTO Takashi" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: yamt Date: Fri Dec 2 12:38:59 UTC 2011 Modified Files: src/sys/kern: vfs_wapbl.c Log Message: - move disk cache flushing code into a separate function. - more verbose output if vfs.wapbl.verbose_commit >= 2. namely, time taken for each DIOCCACHESYNC calls. wapbl_flush: 1322826000.785245900 this transaction = 546304 bytes wapbl_cache_sync: 1: dev 0x0 0.017572724 wapbl_cache_sync: 2: dev 0x0 0.007199825 wapbl_flush: 1322826011.860771302 this transaction = 431104 bytes wapbl_cache_sync: 1: dev 0x0 0.019469753 wapbl_cache_sync: 2: dev 0x0 0.009473410 wapbl_flush: 1322829266.489154342 this transaction = 187904 bytes wapbl_cache_sync: 1: dev 0x4 0.022270180 wapbl_cache_sync: 2: dev 0x4 0.030749402 - fix a comment. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/kern/vfs_wapbl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.