Re: [PATCH] ext3: zero freed blocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 08, 2006 at 06:26:28PM -0600, Andreas Dilger wrote:
> > The patch also has the potential danger that the data blocks are
> > getting zeroed before the transaction which contains the unlink has
> > committed.  There is therefore the risk that the system might crash
> > after the blocks have been zero'ed, but before transaction has
> > committed.  In that case, the file will still be there, but some or
> > all of its contents will be zero'ed.  
> 
> That might be considered a feature.

I don't think so.  Deletes should be atomic.  I could certainly see
programs where a file should either be deleted, or not deleted.  For a
file to be partially corrupted but not deleted could ruin an
application's consistency assumptions.

						- Ted


_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux