Project

General

Profile

Actions

Feature #49457

open

add copy offload into libcephfs

Added by Jeff Layton about 3 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Client, libcephfs
Labels (FS):
Pull request ID:

Description

The kclient has a copy_file_range implementation that uses a COPY2 OSD command to tell the OSD to copy data to a different object within the same cluster. Add a similar mechanism to libcephfs, which would allow us to eventually wire up server-side copies in ganesha's FSAL_CEPH. It would probably also be helpful to have a

Note that ganesha has no support for the NFS COPY commands yet, so that also needs to be done to take advantage of this there. That's a separate project however.

Actions #1

Updated by Jeff Layton about 3 years ago

Should have read:

"It would probably also be helpful to have some sort of copy_file_range command in cephfs-shell as well, and it may be possible to wire it up in the FUSE client"

To be clear, what the API should look like in libcephfs is up for debate. We could try to follow what the kernel does, or it may make sense to do something different in libcephfs.

Actions #2

Updated by Patrick Donnelly about 3 years ago

  • Tracker changed from Bug to Feature
  • Component(FS) Client, libcephfs added
Actions #3

Updated by Xiubo Li over 2 years ago

  • Assignee set to Xiubo Li
Actions

Also available in: Atom PDF