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

Re: freeing, allocating and free blocks in Ext3



On Saturday, April 28, 2001 10:47:34 PM -0700 "Peter J. Braam"
<braam mountainviewdata com> wrote:

[ freed blocks not immediately available for data blocks on ext3 ]

I think it is better to have the allocation routines do:

if (allocate data block == disk full) {
    transaction end
    transaction start
    if (allocate data block == disk full) {
        return disk full
    }
}

Not pretty, but this way you only return disk full when it really is full.  

metadata allocations won't have to jump through this hoop.

-chris





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