|To:||David Chinner <dgc@xxxxxxx>|
|Subject:||Re: xfs_fsr, performance related tweaks|
|From:||Just Marc <marc@xxxxxxxxx>|
|Date:||Fri, 29 Jun 2007 08:16:28 +0100|
|Cc:||Barry Naujok <bnaujok@xxxxxxx>, xfs@xxxxxxxxxxx|
|References:||<4683ADEB.3010106@xxxxxxxxx> <46841C60.5030207@xxxxxxxxxxx> <4684A506.4030705@xxxxxxxxx> <op.tun7i8wd3jf8g2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4684A98B.1030000@xxxxxxxxx> <20070629070814.GR31489@xxxxxxx>|
|User-agent:||Mozilla-Thunderbird 22.214.171.124 (X11/20070622)|
David,In my first post I already said something like that can be done but it's just an ugly hack. Don't you think it would best be handled cleanly and correctly by fsr itself?
David Chinner wrote:
On Fri, Jun 29, 2007 at 07:41:15AM +0100, Just Marc wrote:Barry Naujok wrote:That's right but I can't do this on a filesystem that's just been defragged say a minute ago, and in the mean time 20 new files got added (I don't know what these files are... ).You can use the xfs_io chattr command to mark known files as nodefrag. Using the chattr -R option can be used to recurse directories.So walk the filesystem with a script that queries the number of extents in each file, and if they have a single extent then run the xfs_io on them. Cheers, Dave.
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: xfs_fsr, performance related tweaks, David Chinner|
|Next by Date:||Re: xfs_fsr, performance related tweaks, Nathan Scott|
|Previous by Thread:||Re: xfs_fsr, performance related tweaks, David Chinner|
|Next by Thread:||Re: xfs_fsr, performance related tweaks, Nathan Scott|
|Indexes:||[Date] [Thread] [Top] [All Lists]|