From owner-freebsd-fs@FreeBSD.ORG Mon Aug 28 05:50:26 2006 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 122B016A4DE for ; Mon, 28 Aug 2006 05:50:26 +0000 (UTC) (envelope-from pfgshield-freebsd@yahoo.com) Received: from web32710.mail.mud.yahoo.com (web32710.mail.mud.yahoo.com [68.142.207.254]) by mx1.FreeBSD.org (Postfix) with SMTP id 91A1643D46 for ; Mon, 28 Aug 2006 05:50:25 +0000 (GMT) (envelope-from pfgshield-freebsd@yahoo.com) Received: (qmail 46586 invoked by uid 60001); 28 Aug 2006 05:50:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=npgO8L0n2CzgnjLmRND7/EKOeYgpyO7n2ZgL5eGI9nf03MakWiIxHLfuyMzOJ9UfYXMoGYKSv3aSkoUsHdUPJ8QVu5YxYn66Ox4HO9szNR/MpKqV1lBQ1oA/xb6DmkVCh0pfmGMDIUZWXg9lpm/MXrSHspa7r4iw1QkKrnPe3Yc= ; Message-ID: <20060828055024.46584.qmail@web32710.mail.mud.yahoo.com> Received: from [69.79.135.107] by web32710.mail.mud.yahoo.com via HTTP; Mon, 28 Aug 2006 07:50:24 CEST Date: Mon, 28 Aug 2006 07:50:24 +0200 (CEST) From: To: freebsd-fs@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Mailman-Approved-At: Fri, 01 Sep 2006 12:38:51 +0000 Cc: Subject: UFS chapter of the new Solaris Internals Book online available X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pfgshield-freebsd@yahoo.com List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2006 05:50:26 -0000 Hi; I found this link on the OpenSolaris ufs-discuss forum: http://www.phptr.com/content/images/0131482092/samplechapter/mcdougall_ch15.pdf interesting to see how the fork of UFS evolved ;-) Pedro. __________________________________________________ Do You Yahoo!? Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi http://mail.yahoo.it From owner-freebsd-fs@FreeBSD.ORG Fri Sep 1 18:47:30 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B504F16A4DD for ; Fri, 1 Sep 2006 18:47:30 +0000 (UTC) (envelope-from hardware@ee.ccny.cuny.edu) Received: from ees1s0.engr.ccny.cuny.edu (ees1s0.engr.ccny.cuny.edu [134.74.16.1]) by mx1.FreeBSD.org (Postfix) with SMTP id BC08043D62 for ; Fri, 1 Sep 2006 18:47:26 +0000 (GMT) (envelope-from hardware@ee.ccny.cuny.edu) Received: (qmail 29082 invoked from network); 1 Sep 2006 18:59:48 -0000 Received: from unknown (HELO eesfc20) (134.74.228.20) by ees1s0.engr.ccny.cuny.edu with SMTP; 1 Sep 2006 18:59:48 -0000 Date: Fri, 1 Sep 2006 14:45:54 -0400 (EDT) From: hardware@ee.ccny.cuny.edu X-X-Sender: hardware@eesfc20.engr.ccny.cuny.edu To: freebsd-fs@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: ATA flush cache on sync() X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 18:47:30 -0000 Hello, When the sync() system call is called on an ATA drive with a UFS 2 filesystem, is the "FLUSH CACHE" ATA command sent to the drive? thanks, -kr From owner-freebsd-fs@FreeBSD.ORG Sat Sep 2 09:43:19 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53AF316A4DA for ; Sat, 2 Sep 2006 09:43:19 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30302.mail.mud.yahoo.com (web30302.mail.mud.yahoo.com [209.191.69.64]) by mx1.FreeBSD.org (Postfix) with SMTP id 957A443D62 for ; Sat, 2 Sep 2006 09:43:12 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 18975 invoked by uid 60001); 2 Sep 2006 09:43:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=u3lOgYSVIuXhQF/ws77XrSDlbyNpiduF8Hfjr9MUvv6eQWRKf4tXyRDx8wZkW2keU715FbKMBvTBr0TosFUwqd8YYiKu1qcEDozrzmteY1/2qh9OJtNHjB9U8Md94QD+16auoOjmfpXeg1B8MDyXO2JFaGicoTVNYA3lny15YP0= ; Message-ID: <20060902094312.18973.qmail@web30302.mail.mud.yahoo.com> Received: from [62.246.209.80] by web30302.mail.mud.yahoo.com via HTTP; Sat, 02 Sep 2006 02:43:12 PDT Date: Sat, 2 Sep 2006 02:43:12 -0700 (PDT) From: "R. B. Riddick" To: hardware@ee.ccny.cuny.edu, freebsd-fs@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: ATA flush cache on sync() X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2006 09:43:19 -0000 --- hardware@ee.ccny.cuny.edu wrote: > When the sync() system call is called on an ATA drive with a UFS 2 > filesystem, is the "FLUSH CACHE" ATA command sent to the drive? > As far as I know, when sync() return u cannot even be sure, that the in-kernel buffers are flushed already... And the "FLUSH CACHE" ATA command (or BIO_FLUSH since gjournal) is disputed, since it might break (in FBSD not implemented) concepts like TCQ(?) (tagged command queuing) or so... But I think there should be a FLUSH CACHE command from time to time, so that there cannot be an arbitrary gap... -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com