xfs
[Top] [All Lists]

[PATCH] xfs_repair - move realtime extent processing to a separate funct

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).

Attachment: separate_rt_extent_processing.patch
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>