From owner-freebsd-geom@FreeBSD.ORG Tue Dec 16 04:06:37 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FE511065670 for ; Tue, 16 Dec 2008 04:06:37 +0000 (UTC) (envelope-from gfritz@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id D43A28FC1F for ; Tue, 16 Dec 2008 04:06:36 +0000 (UTC) (envelope-from gfritz@gmail.com) Received: by wa-out-1112.google.com with SMTP id m34so1463011wag.27 for ; Mon, 15 Dec 2008 20:06:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=JBv/KwCY8Ky25Oyh0qCZXkATXFGZgEdvXme3wsNpt/g=; b=H4AmxCim06JmotSnPZfw+hN/Mag900RIhMFSckTDztdESeAO7f9JGO7CrweT8dKbzS 4PXMQ686GojCuMe2YE7Rq+mWGvNq/DrNG0toM7gdm0nflYFVseM8VW9Lfy1ZndajjVid CZS62QNzNka0uFzCtENlBqwC1neygpCkZ19Cs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=Tff7JgFQtwWaMMNW3IebCwVybOtrLQjZsWpsV9Bz4MWWcKwE1RfFmOzdYiFqPjpshw 3gvWUnXVs6VMBCd+sstSLgPftbUgXPdH8n+U79i12rx1cWYIYZbm+9yj6eAi/X/kDPAY /wLMGIXbX2263EM3P0+qY/mGtzvr5ei6wSh9w= Received: by 10.114.146.6 with SMTP id t6mr5415411wad.207.1229400396427; Mon, 15 Dec 2008 20:06:36 -0800 (PST) Received: from dev.null (34-12-66-208.dsl.cust.wirelessbeehive.com [208.66.12.34]) by mx.google.com with ESMTPS id z15sm784517pod.0.2008.12.15.20.06.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Dec 2008 20:06:36 -0800 (PST) Received: by dev.null (Postfix, from userid 1002) id 2CA7087B42B; Mon, 15 Dec 2008 21:06:33 -0700 (MST) Date: Mon, 15 Dec 2008 21:06:33 -0700 From: Geoff Fritz To: freebsd-geom@freebsd.org Message-ID: <20081216040633.GA17495@dev.null> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Subject: GCACHE -- what's it for? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 04:06:37 -0000 I noticed the presence of the geom_cache module recently. Very little available in the archives on what it's used for. Found a post by pjd@ with a link to a tarball containing a man page: "The gcache utility is used for setting up a clean cache in front of the IDE controller on one disk." (btw, where do I post to get this man page included in the release? freebsd-doc? I'm running 7.1-RC1 and the man page is absent.) I set up a test device with it, and noticed that the disk did a lot of thrashing when it was being written to, moreso than normal. Is the purpose of this module to ensure that when the gcache provdider says the write was made it was in fact 100% written to the physical disk (or at least accepted by the next layer down)? Thanks for the info. -- Geoff