Article View: fa.netbsd.tech.kern
Article #106Re: [GSoC 2013] Implement file system flags to scrub data blocks before deletion
From: Thor Lancelot Simon
Date: Fri, 17 May 2013 12:20
Date: Fri, 17 May 2013 12:20
17 lines
2498 bytes
2498 bytes
On Fri, May 17, 2013 at 12:28:54AM -0500, Eric Haszlakiewicz wrote: > > Will the code that does the wiping be a part of the kernel, or > are you thinking to hand that off to a userland process? (perhaps > similar to lfs_cleanerd) This strikes me as a bad idea. One of the major problems with our LFS implementation is that it's almost impossible to keep the kernel and the cleaner in sync while avoiding deadlock. Another, of course, is the difficulty of maintaining our security model while allowing the cleaner to access raw blocks, even with the bmap/mark interface the cleaner uses. It seems to me the kernel would have to do the cleaning -- which would be easier today than it was for the LFS code because we have better ways to defer activity in the kernel. Thor
Technical Details
Message-ID:
<fa.3PmjuYq1U4nTDMeGZDRRr9J4RJA@ifi.uio.no>Path:
arc1-ca.pugleaf.net!bp1ni3802pbd.1!nntp.google.com!news.glorb.com!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mailReferences:
<fa.sEAkPTH8tj0Hz+O4GjH/0NrdGQE@ifi.uio.no> <fa.I8qIfm/Vf1H+j+BxlZEn1zG2ccY@ifi.uio.no>Show Full Headers
Complete Article Headers
X-Google-Thread: b7e13b6095,c7d2965c68d9d35e
X-Google-Attributes: gidb7e13b6095,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
X-Received: by 10.66.102.33 with SMTP id fl1mr7791702pab.38.1368793247459;
Fri, 17 May 2013 05:20:47 -0700 (PDT)
Path: arc1-ca.pugleaf.net!bp1ni3802pbd.1!nntp.google.com!news.glorb.com!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mail
From: Thor Lancelot Simon <tls@panix.com>
Newsgroups: fa.netbsd.tech.kern
Subject: Re: [GSoC 2013] Implement file system flags to scrub data blocks
before deletion
Date: Fri, 17 May 2013 12:20:47 UTC
Organization: Internet mailing list
Lines: 17
Sender: tech-kern-owner@NetBSD.org
Message-ID: <fa.3PmjuYq1U4nTDMeGZDRRr9J4RJA@ifi.uio.no>
References: <fa.sEAkPTH8tj0Hz+O4GjH/0NrdGQE@ifi.uio.no> <fa.I8qIfm/Vf1H+j+BxlZEn1zG2ccY@ifi.uio.no>
NNTP-Posting-Host: mail-jess.uio.no
Mime-Version: 1.0
X-Trace: readme.uio.no 1368793247 8874 129.240.7.9 (17 May 2013 12:20:47 GMT)
X-Complaints-To: abuse@uio.no
NNTP-Posting-Date: Fri, 17 May 2013 12:20:47 +0000 (UTC)
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: Przemys?aw Sieroci?ski <przsie@gmail.com>, tech-kern@NetBSD.org
To: Eric Haszlakiewicz <erh@nimenees.com>
Delivered-To: tech-kern@NetBSD.org
X-Virus-Scanned: amavisd-new at NetBSD.org
In-Reply-To: <20130517052854.GA2261@nimenees.com>
List-Id: tech-kern.NetBSD.org
Original-Date: Fri, 17 May 2013 08:19:55 -0400
Original-Message-Id: <20130517121954.GA27285@panix.com>
Original-References: <CAFEq-UGvLSOKa-wEcY2qYcSe4gP8Cu6ySN06cZtuLxqQUkBZKA@mail.gmail.com>
<20130517052854.GA2261@nimenees.com>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline