Whamcloud - gitweb
LU-16258 llite: Explicitly support .splice_write 58/49058/3
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 21 Oct 2022 04:54:49 +0000 (23:54 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 29 Nov 2022 07:17:31 +0000 (07:17 +0000)
commitd0b3f364b14d484906ab862eebeed43adb36fb40
treee0788420901e5641c56b9a0761b42f3cac033c2f
parent90b7f6275e567c0adef860e1100020840ace86f5
LU-16258 llite: Explicitly support .splice_write

Linux commit v5.9-rc1-6-g36e2c7421f02
  fs: don't allow splice read/write without explicit ops

Lustre supports splice_write and previously provide handlers
for splice_read.
Explicitly use iter_file_splice_write, if it exists.

Lustre-change: https://review.whamcloud.com/48928
Lustre-commit: c619b6d6a54235cc0e34a65cf5916a632f4011c3

HPE-bug-id: LUS-11259
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I858688fc9b4dd370b6018c3b134f01e580477b25
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49058
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/autoconf/lustre-core.m4
lustre/llite/file.c