|To:||"Just Marc" <marc@xxxxxxxxx>|
|Subject:||Re: xfs_fsr, performance related tweaks|
|From:||"Barry Naujok" <bnaujok@xxxxxxx>|
|Date:||Fri, 29 Jun 2007 16:41:22 +1000|
|References:||<4683ADEB.3010106@xxxxxxxxx> <46841C60.5030207@xxxxxxxxxxx> <4684A506.4030705@xxxxxxxxx>|
|User-agent:||Opera Mail/9.10 (Win32)|
On Fri, 29 Jun 2007 16:21:58 +1000, Just Marc <marc@xxxxxxxxx> wrote:
Hi Eric,In my particular case, and I'm sure for many other people, files that are stored never change again until they deleted. I hinted that there could be a command line switch to turn this functionality on, as it may not be perfect for everyone's use cases.If nobody likes this still, I would appreciate some hints on how to mark files as no-defrag from within fsr itself given that I only have the file descriptor ... A hack like looking up the descriptor in /proc/self/fd should work, but is linux specific and is too hackish in my opinion. I'd like to at least have a nice simple patch for my own uses.
Eric, 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. Regards, Barry.
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||TAKE 958214 - xfs_bmap '-v' flag has no effect on a realtime file system, Barry Naujok|
|Next by Date:||Re: xfs_fsr, performance related tweaks, Just Marc|
|Previous by Thread:||Re: xfs_fsr, performance related tweaks, Just Marc|
|Next by Thread:||Re: xfs_fsr, performance related tweaks, Just Marc|
|Indexes:||[Date] [Thread] [Top] [All Lists]|