[PATCH] xfs_io: add support for O_TMPFILE opens
Dave Chinner
david at fromorbit.com
Thu Feb 20 16:15:18 CST 2014
On Thu, Feb 20, 2014 at 02:00:00PM -0800, Christoph Hellwig wrote:
> Add a new -T argument to the open command that supports using the
> O_TMPFILE flag.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Can you also push this into the main CLI interface similar to how
all the other open flags can be specified? i.e.
$ xfs_io -d -c "pwrite 0 4k" foo
will open "foo" with O_DIRECT. Be nice just to be able to do
$ xfs_io -dT -c "pwrite 0 4k" foo/
to be able to test O_TMPFILE functionality
FWIW, any plans to add a "link" command to be able to link the
tmpfile into the namespace once it is created?
Cheers,
Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list