From owner-freebsd-bugs@FreeBSD.ORG Mon Dec 4 18:30:18 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 536A816A569 for ; Mon, 4 Dec 2006 18:30:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EF2643C9D for ; Mon, 4 Dec 2006 18:29:42 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB4IUG5b093460 for ; Mon, 4 Dec 2006 18:30:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB4IUGGe093459; Mon, 4 Dec 2006 18:30:16 GMT (envelope-from gnats) Resent-Date: Mon, 4 Dec 2006 18:30:16 GMT Resent-Message-Id: <200612041830.kB4IUGGe093459@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dieter Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0FDBC16A40F for ; Mon, 4 Dec 2006 18:27:55 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id D524043CB1 for ; Mon, 4 Dec 2006 18:27:19 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kB4IRp01056459 for ; Mon, 4 Dec 2006 18:27:51 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id kB4IRpQb056456; Mon, 4 Dec 2006 18:27:51 GMT (envelope-from nobody) Message-Id: <200612041827.kB4IRpQb056456@www.freebsd.org> Date: Mon, 4 Dec 2006 18:27:51 GMT From: Dieter To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: kern/106340: Need to control disk write cache on per-disk basis X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2006 18:30:18 -0000 >Number: 106340 >Category: kern >Synopsis: Need to control disk write cache on per-disk basis >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 04 18:30:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dieter >Release: 6.0 >Organization: >Environment: >Description: FreeBSD only allows setting disk write cache mode on a system wide basis, and only at boot time. NetBSD allows setting the disk write cache mode of each disk individually, and does not require a reboot. See the NetBSD dkctl(8) man page. There are many times it would be very useful to be able to put one disk into write-back mode and get the 10x speedup. But we cannot do this in FreeBSD because putting all the filesystems at risk of getting scrambled is unacceptable. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: