| To: | Lachlan McIlroy <lachlan@xxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] make xfs_idestroy() wait for log I/O to complete |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Fri, 14 Dec 2007 20:33:23 +0000 |
| Cc: | xfs-dev <xfs-dev@xxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx> |
| In-reply-to: | <475F8BC3.8020804@sgi.com> |
| References: | <475F8BC3.8020804@sgi.com> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.17 (2007-11-01) |
On Wed, Dec 12, 2007 at 06:20:35PM +1100, Lachlan McIlroy wrote: > An xfs inode can be destroyed before log I/O involving that inode > is complete. We need to wait for the inode to be unpinned before > tearing it down. The patch looks big but the only real change is > adding a call to xfs_iunpin_wait() to the start of xfs_idestroy(). > The rest of the patch is moving xfs_idestroy() after the pinning > routines. Making sure the inode is unpinned before it's destroyed definitvely sounds useful. I can't think of any harm this might cause either. I'd prefer to have to commits, one to move the function around and one to add the call to xfs_iunpin_wait, though. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] prevent panic during log recovery due to bogus operation header length, Christoph Hellwig |
|---|---|
| Next by Date: | Re: Fedora 8.0.1 XFS Tune on HW RAID for Max Write Throughput?, Eric Sandeen |
| Previous by Thread: | [PATCH] make xfs_idestroy() wait for log I/O to complete, Lachlan McIlroy |
| Next by Thread: | TAKE 973746 - Put the correct offset in dirent d_off, David Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |