Re: [Ext2-devel] [PATCH] JBD: log space management optimization

2005-01-24 Thread Alex Tomas
> Stephen C Tweedie (SCT) writes: SCT> If you returned them to the handle directly, it would be slightly more SCT> efficient. good point. thanks. here is the fixed patch. during truncate ext3 calls journal_forget() for freed blocks, but before these blocks go to the transaction and jbd re

Re: [Ext2-devel] [PATCH] JBD: log space management optimization

2005-01-24 Thread Stephen C. Tweedie
Hi, On Mon, 2005-01-24 at 20:22, Alex Tomas wrote: > during truncate ext3 calls journal_forget() for freed blocks, but > before these blocks go to the transaction and jbd reserves space > in log for them (->t_outstanding_credits). also, journal_forget() > removes these blocks from the transaction

Re: [Ext2-devel] [PATCH] JBD: log space management optimization

2005-01-24 Thread Stephen C. Tweedie
Hi, On Wed, 2005-01-19 at 15:32, Alex Tomas wrote: > during truncate ext3 calls journal_forget() for freed blocks, but > before these blocks go to the transaction and jbd reserves space > in log for them (->t_outstanding_credits). also, journal_forget() > removes these blocks from the transaction