Whamcloud - gitweb
LU-16258 llite: Explicitly support .splice_write 28/48928/2
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 21 Oct 2022 04:54:49 +0000 (23:54 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 2 Nov 2022 07:11:10 +0000 (07:11 +0000)
commitc619b6d6a54235cc0e34a65cf5916a632f4011c3
tree667bda4a4b1315a80e808edd1670bd15c11aabf2
parent8f718df474e453fbc69dfe90214e71565963f6db
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.

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