Re: [PATCH] xfs_io: add support for O_TMPFILE opens

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>

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@xxxxxxxxxxxxx

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs




[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux