Re: [PATCH 11/12 v5] Btrfs: do not iput inode when inode is still in log

2011-10-16 Thread Chris Mason
Excerpts from Liu Bo's message of 2011-08-06 05:37:46 -0400: We maintain the inode's logged_trans to avoid reloging it, but if we iput the inode and reread it, we'll get logged_trans to zero. So when an inode is still in log tree, and transaction is not committed yet, we do not iput the

Re: [PATCH 11/12 v5] Btrfs: do not iput inode when inode is still in log

2011-10-16 Thread Liu Bo
On 10/17/2011 08:30 AM, Chris Mason wrote: Excerpts from Liu Bo's message of 2011-08-06 05:37:46 -0400: We maintain the inode's logged_trans to avoid reloging it, but if we iput the inode and reread it, we'll get logged_trans to zero. So when an inode is still in log tree, and transaction is

[PATCH 11/12 v5] Btrfs: do not iput inode when inode is still in log

2011-08-06 Thread Liu Bo
We maintain the inode's logged_trans to avoid reloging it, but if we iput the inode and reread it, we'll get logged_trans to zero. So when an inode is still in log tree, and transaction is not committed yet, we do not iput the inode. Signed-off-by: Liu Bo liubo2...@cn.fujitsu.com ---