mbox series

[0/2] xfs_io: additions for testing copy_range

Message ID 20181202205343.7104-1-david@fromorbit.com (mailing list archive)
Headers show
Series xfs_io: additions for testing copy_range | expand

Message

Dave Chinner Dec. 2, 2018, 8:53 p.m. UTC
Hi folks,

In trying to exercise copy_file_range() error conditions, I needed
to be able to pass pipes to copy_range and to have writeable file
descriptors open over read only files. These two patches allow these
things to be done by preventing pipes blocking on opening and
allowing xfs_io to change read/write permissions on open files.

Cheers,

Dave.