testing flink (aka linkat(..., AT_EMPTY_PATH)
Turns out so far we aren't really do metadata operation in xfs_io and don't even have link/unlink. Should we starting adding these or where else should I start looking into adding support for exercising flink?
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 4 lines · Christoph Hellwig
Turns out so far we aren't really do metadata operation in
xfs_ioand don't even have link/unlink. Should we starting adding these or where else should I start looking into adding support for exercising flink?
I think we need a tool that aggregates such functionality, otherwise we just end up with a prolification of small helper utilities in xfstests/src directory. There's the new renameat2 code that would dearly love a helper function, reflink support woul be useful, etc. And for O_TMPFILE, is just doesn't make sense to duplicate what xfs_io does just so that flinkat() support can be tested.
Hence I'm happy to see such metadata operations added to xfs_io from a functionality point of view. I also can't see any problems with being able to integrate them into the command structure or the source layout structure that xfs_io uses, so I'm not finding an reason why we shouldn't be adding things like this...
Cheers,
Dave.
Signature · 7 lines
Dave Chinner [email protected] _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs