Re: [PATCH 1/1] [RFC] 64bit copy_file_range system call

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

 



> On Jun 17, 2017, at 6:03 AM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> 
> On Fri, Jun 16, 2017 at 01:36:30PM -0400, J. Bruce Fields wrote:
>> It makes a difference in the clone case, doesn't it?  (Though I'd think
>> best there would be a special "copy to end of file" value.)
> 
> Clones uses a 0 length as "whole" file.  Both for the NFS operation
> and the Linux ioctl.

Does that actually work? There is  check vfs_copy_file_range()

if (len == 0)
	return 0;

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux