Dave Chinner wrote: > Like: > > # xfs_freeze -f <mntpt> > # xfs_bmap -vvp <file> > # <do something nasty with direct block access> > # xfs_freeze -u <mntpt> ^^^ Oh, exactly the sort of thing which led to this quote from Andreas Dilger on why FIEMAP is *not* suitable for this, on generic filesystems :-) "EEEEEK [...] Directly writing underneath a filesystem is major bad news and will likely corrupt the filesystem because [page cache reasons]." Besides, if you're using the currently-XFS-specific freeze capability, a simple fsync() before the xfs_bmap, inside the freeze, will be sufficient won't it? -- Jamie -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html