Re: [PATCH v2 2/5] fs: use splice_copy_file_range() inline helper

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

 



On Sun 10-12-23 16:18:58, Amir Goldstein wrote:
> generic_copy_file_range() is just a wrapper around splice_file_range(),
> which caps the maximum copy length.
> 
> The only caller of splice_file_range(), namely __ceph_copy_file_range()
> is already ready to cope with short copy.
> 
> Move the length capping into splice_file_range() and replace the exported
> symbol generic_copy_file_range() with a simple inline helper.
> 
> Suggested-by: Christoph Hellwig <hch@xxxxxx>
> Link: https://lore.kernel.org/linux-fsdevel/20231204083849.GC32438@xxxxxx/
> Signed-off-by: Amir Goldstein <amir73il@xxxxxxxxx>

Looks good. Feel free to add:

Reviewed-by: Jan Kara <jack@xxxxxxx>

								Honza
-- 
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux