[LU-16258] Explicitly support .splice_write Created: 21/Oct/22  Updated: 29/Nov/22  Resolved: 02/Nov/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0, Lustre 2.15.2

Type: Bug Priority: Minor
Reporter: Shaun Tancheff Assignee: Shaun Tancheff
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-16020 sanity test_244a: FAIL: sendfile+grou... Resolved
is related to LU-15781 Ubuntu 22.04 LTS release support Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

    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.



 Comments   
Comment by Gerrit Updater [ 21/Oct/22 ]

"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/48928
Subject: LU-16258 llite: Explicitly support .splice_write
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 7a8b83637b056fbc208ff8cc1da69301f197c738

Comment by Andreas Dilger [ 21/Oct/22 ]

Shaun, is there any chance that this patch would also fix LU-16020? That looks like a problem with sendfile on newer kernels. I was going to land a patch disable the test until someone could look at it, so that Ubuntu22.04 and RHEL9.0 could start having enforced test runs, but I'd much rather fix the test to pass.

Comment by Andreas Dilger [ 21/Oct/22 ]

To answer my own question, yes this patch definitely fixes sanity test_244a.

Comment by Gerrit Updater [ 02/Nov/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/48928/
Subject: LU-16258 llite: Explicitly support .splice_write
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c619b6d6a54235cc0e34a65cf5916a632f4011c3

Comment by Peter Jones [ 02/Nov/22 ]

Landed for 2.16

Comment by Gerrit Updater [ 07/Nov/22 ]

"Xing Huang <hxing@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49058
Subject: LU-16258 llite: Explicitly support .splice_write
Project: fs/lustre-release
Branch: b2_15
Current Patch Set: 1
Commit: fdd23437bfca5a692df6460f8454688e292b67bf

Comment by Gerrit Updater [ 29/Nov/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49058/
Subject: LU-16258 llite: Explicitly support .splice_write
Project: fs/lustre-release
Branch: b2_15
Current Patch Set:
Commit: d0b3f364b14d484906ab862eebeed43adb36fb40

Generated at Sat Feb 10 03:25:24 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.