aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorXiaoli Feng <[email protected]>2019-03-16 04:11:54 +0000
committerSteve French <[email protected]>2019-03-23 03:36:54 +0000
commitb073a08016a10f01dfb0d0b6c7fa89da0d544963 (patch)
tree6898c03cc18ffb4d5127042d87114a7b97e58767 /lib/string_helpers.c
parentCIFS: Fix an issue with re-sending rdata when transport returning -EAGAIN (diff)
downloadkernel-b073a08016a10f01dfb0d0b6c7fa89da0d544963.tar.gz
kernel-b073a08016a10f01dfb0d0b6c7fa89da0d544963.zip
cifs: fix that return -EINVAL when do dedupe operation
dedupe_file_range operations is combiled into remap_file_range. But it's always skipped for dedupe operations in function cifs_remap_file_range. Example to test: Before this patch: # dd if=/dev/zero of=cifs/file bs=1M count=1 # xfs_io -c "dedupe cifs/file 4k 64k 4k" cifs/file XFS_IOC_FILE_EXTENT_SAME: Invalid argument After this patch: # dd if=/dev/zero of=cifs/file bs=1M count=1 # xfs_io -c "dedupe cifs/file 4k 64k 4k" cifs/file XFS_IOC_FILE_EXTENT_SAME: Operation not supported Influence for xfstests: generic/091 generic/112 generic/127 generic/263 These tests report this error "do_copy_range:: Invalid argument" instead of "FIDEDUPERANGE: Invalid argument". Because there are still two bugs cause these test failed. https://bugzilla.kernel.org/show_bug.cgi?id=202935 https://bugzilla.kernel.org/show_bug.cgi?id=202785 Signed-off-by: Xiaoli Feng <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions