| To: | Just Marc <marc@xxxxxxxxx> |
|---|---|
| Subject: | Re: xfs_fsr, performance related tweaks |
| From: | Nathan Scott <nscott@xxxxxxxxxx> |
| Date: | Fri, 29 Jun 2007 10:12:09 +1000 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <4683ADF5.9050901@xxxxxxxxx> |
| Organization: | Aconex |
| References: | <4683ADF5.9050901@xxxxxxxxx> |
| Reply-to: | nscott@xxxxxxxxxx |
| Sender: | xfs-bounce@xxxxxxxxxxx |
On Thu, 2007-06-28 at 13:47 +0100, Just Marc wrote: > ... > I looked at how the 'io' utility marks files as no-defrag; it calls > xfsctl(path, fd, XFS_IOC_FSSETXATTR, &attr); -- this requires a path, > which is not available to me when fsr is run in its default mode > which > traverses all xfs filesystems rather than gets to run on a single > file. Just call the ioctl directly - fsr is already doing this in a bunch of places (even has a call to XFS_IOC_FSSETXATTR already, elsewhere). The xfsctl wrapper is just to give some tools platform independence - on IRIX (shares xfs_io code) some of the syscalls take paths, but on Linux only file descriptors are used. cheers. -- Nathan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: xfs_fsr, performance related tweaks, Andi Kleen |
|---|---|
| Next by Date: | Re: After reboot fs with barrier faster deletes then fs with nobarrier, David Chinner |
| Previous by Thread: | xfs_fsr, performance related tweaks, Just Marc |
| Next by Thread: | Re: xfs_fsr, performance related tweaks, Just Marc |
| Indexes: | [Date] [Thread] [Top] [All Lists] |