Skip to content

Commit

Permalink
orangefs: add splice file operations
Browse files Browse the repository at this point in the history
Fix some xfstests regressions that started after 36e2c74,
"don't allow splice read/write without explicit ops". Thanks for
help from Dave Chinner and Matthew Wilcox.

Signed-off-by: Mike Marshall <[email protected]>
  • Loading branch information
hubcapsc committed Dec 16, 2020
1 parent 2c85ebc commit c104882
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fs/orangefs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,8 @@ const struct file_operations orangefs_file_operations = {
.unlocked_ioctl = orangefs_ioctl,
.mmap = orangefs_file_mmap,
.open = generic_file_open,
.splice_read = generic_file_splice_read,
.splice_write = iter_file_splice_write,
.flush = orangefs_flush,
.release = orangefs_file_release,
.fsync = orangefs_fsync,
Expand Down

0 comments on commit c104882

Please sign in to comment.