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

Re: crashing with ext3



Hi,

On Wed, Jan 16, 2002 at 09:49:33PM +0100, Jan Kara wrote:

>   Umm.. But dquots are never reused. They are allocated from slab, sometimes
> they can be put on the free list, on prune_dcache() or invalidate_dquots()
> they are freed but they are never reused...

But any multiple dqput can lead to it being returned to the slab while
some process is still using it, and if it gets reallocated (likely,
since slabs allocate LIFO), we'd get exactly these symptoms: some
process using the wrong dquot, since the dquot memory it was already
referencing got reallocated to another inode's new dquot.

Cheers, 
 Stephen





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