Whamcloud - gitweb
LU-18103 llite: Apply the change of splice_read 93/56093/4
authorYang Sheng <ys@whamcloud.com>
Tue, 20 Aug 2024 04:25:48 +0000 (12:25 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 12 Sep 2024 05:51:34 +0000 (05:51 +0000)
commit3f24011b01a8a072751899bae84839655d899620
tree91daaa72ec39dc1421e0ad5d4970fc138ffb1ea6
parentd84f352e2d50846b70486fa72ea0e35391a19e43
LU-18103 llite: Apply the change of splice_read

Upstream changes in kernel v6.4-rc2-3-g69df79a45111
("splice: Rename direct_splice_read() to copy_splice_read()")
the rule of splice_read().  For newer kernels we now
choose copy_splice_read() to adapt it.

Test-Parameters: mdtcount=4 mdscount=2 env=SANITY_EXCEPT="17e 27J 103" clientdistro=ubuntu2404 testlist=sanity
Signed-off-by: Yang Sheng <ys@whamcloud.com>
Change-Id: Ic13da773691ada3c21b9803f65ea3e2533f7885a
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56093
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Qian Yingjin <qian@ddn.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/llite/file.c
lustre/llite/pcc.c
lustre/llite/pcc.h