From owner-freebsd-fs@FreeBSD.ORG Thu Aug 26 15:54:12 2004 Return-Path: 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 C7CF516A4CE for ; Thu, 26 Aug 2004 15:54:12 +0000 (GMT) Received: from mail-svr1.cs.utah.edu (mail-svr1.cs.utah.edu [155.99.198.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8AC643D46 for ; Thu, 26 Aug 2004 15:54:12 +0000 (GMT) (envelope-from saggarwa@cs.utah.edu) Received: from faith.cs.utah.edu (faith.cs.utah.edu [155.98.65.40]) by mail-svr1.cs.utah.edu (Postfix) with ESMTP id 42747346D9 for ; Thu, 26 Aug 2004 09:54:12 -0600 (MDT) Received: by faith.cs.utah.edu (Postfix, from userid 4973) id 3C3012EC21; Thu, 26 Aug 2004 09:54:10 -0600 (MDT) Received: from localhost (localhost [127.0.0.1]) by faith.cs.utah.edu (Postfix) with ESMTP id AD7FF34406 for ; Thu, 26 Aug 2004 15:54:10 +0000 (UTC) Date: Thu, 26 Aug 2004 09:54:10 -0600 (MDT) From: Siddharth Aggarwal To: freebsd-fs@freebsd.org In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Finding newly allocated blocks X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 15:54:12 -0000 Hi, I am writing this pseudo disk driver for FreeBSD and for write operations, I'd like to distinguish between newly allocated blocks versus overwritten blocks, because there are different actions I want to take for write operations involving newly allocated blocks and for write operations involving previously written blocks. Is it possible to make this distinction in the strategy routine? I'm not sure if my question is clear, so I could give more details. Thanks.