| To: | <xfs@xxxxxxxxxxx>, "'xfs-dev'" <xfs-dev@xxxxxxx> |
|---|---|
| Subject: | [PATCH] xfs_repair - move realtime extent processing to a separate function |
| From: | "Barry Naujok" <bnaujok@xxxxxxxxxxxxxxxxx> |
| Date: | Fri, 13 Apr 2007 14:22:10 +1000 |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| Thread-index: | Acd9g03WEX2xICCNSPiJxMhRydgOEw== |
While changing the process_bmbt_reclist_int() function, I observed a realtime check inside the block map get/set state loop which is quite CPU intensive. Upon further investigation, this loop is not used at all for realtime extents and that the two types of extents are pretty much processed exclusively. So, I simplified the functionality by moving the realtime extent processing into it's own function and fixing a bug at the same time when it comes to realtime inodes with attributes (it was comparing attr extents to the realtime volume bmap instead of the normal bmap).
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [RFC] add FIEMAP ioctl to efficiently map file allocation, Andreas Dilger |
|---|---|
| Next by Date: | Re: [RFC] add FIEMAP ioctl to efficiently map file allocation, Anton Altaparmakov |
| Previous by Thread: | [PATCH] remove the unnecessary word in the log message., Utako Kusaka |
| Next by Thread: | Re: [PATCH] xfs_repair - move realtime extent processing to a separate function, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |