From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422658AbWHERpY (ORCPT ); Sat, 5 Aug 2006 13:45:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422659AbWHERpY (ORCPT ); Sat, 5 Aug 2006 13:45:24 -0400 Received: from s-utl01-sjpop.stsn.net ([72.254.0.201]:40837 "HELO s-utl01-sjpop.stsn.net") by vger.kernel.org with SMTP id S1422657AbWHERpX (ORCPT ); Sat, 5 Aug 2006 13:45:23 -0400 Subject: Re: Zeroing data blocks From: Arjan van de Ven To: Avinash Ramanath Cc: kernelnewbies@nl.linux.org, linux-kernel@vger.kernel.org In-Reply-To: References: <1152435182.3255.39.camel@laptopd505.fenrus.org> <1154790620.3054.69.camel@laptopd505.fenrus.org> Content-Type: text/plain Organization: Intel International BV Date: Sat, 05 Aug 2006 19:42:22 +0200 Message-Id: <1154799834.3054.93.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2006-08-05 at 10:13 -0700, Avinash Ramanath wrote: > Hi, > > I want to do this at the filesystem-level not in user-space. > I have a stackable-filesystem that runs as a layer on top of the > existing filesystem (with all the function pointers mapped to the > corresponding base filesystem function pointers, and other suitable > adjustments). > So yes I have access to the filesystem. > But the question is how can I access those particular data-blocks? I think you misunderstood: You need to do this in the filesystem layer that allocates and tracks the blocks. You really can't do it outside that...