Whamcloud - gitweb
LU-16258 llite: Explicitly support .splice_write
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 21 Oct 2022 04:54:49 +0000 (23:54 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 11 Nov 2022 09:37:12 +0000 (09:37 +0000)
commit1c61e14937e44e03383331128b7ea14b63923abe
treec9ca1beb1ded7dc8fa789a2a745aa5b7a82cc55d
parent2f8e8c0ff213d8515c848cfcbac67210f706035f
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-on: https://review.whamcloud.com/c/ex/lustre-release/+/49047
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/autoconf/lustre-core.m4
lustre/llite/file.c