Re: How To Recover Files From ext3 Partition??

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

 



On Mon, May 08, 2006 at 11:51:34AM +0100, Stephen C. Tweedie wrote:
> On Fri, 2006-05-05 at 10:41 -0600, Andreas Dilger wrote:
> > There is another mechanism ext3 could potentially use, wherein it
> > walks the whole inode in advance of the truncate and creates a
> > (potentially) very large transaction handle to do the bitmap updates
> > in a single shot (and also reducing the amount of IO needed for an
> > unlink by 96%), but nobody has ever cared enough about it to work on
> > implementing this.
> 
> Trouble is, there's no guarantee that that transaction would actually
> fit into the journal.  Most of the time it will, but if it doesn't, then
> we deadlock or risk data corruption.  

Is there some way to determine in advance if a transaction fits into
the journal? If so, we could unlink using Andreas's proposal if the
journal allows, and fall back to the old method if not.


Erik

-- 
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux