Use filer-side copy for mounted whole-file copy_file_range (#8747)
* Optimize mounted whole-file copy_file_range * Address mounted copy review feedback * Harden mounted copy fast path --------- Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
17
weed/filer/copy_params.go
Normal file
17
weed/filer/copy_params.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package filer
|
||||
|
||||
const (
|
||||
CopyQueryParamFrom = "cp.from"
|
||||
CopyQueryParamOverwrite = "overwrite"
|
||||
CopyQueryParamDataOnly = "dataOnly"
|
||||
CopyQueryParamRequestID = "copy.requestId"
|
||||
CopyQueryParamSourceInode = "copy.srcInode"
|
||||
CopyQueryParamSourceMtime = "copy.srcMtime"
|
||||
CopyQueryParamSourceSize = "copy.srcSize"
|
||||
CopyQueryParamDestinationInode = "copy.dstInode"
|
||||
CopyQueryParamDestinationMtime = "copy.dstMtime"
|
||||
CopyQueryParamDestinationSize = "copy.dstSize"
|
||||
|
||||
CopyResponseHeaderCommitted = "X-SeaweedFS-Copy-Committed"
|
||||
CopyResponseHeaderRequestID = "X-SeaweedFS-Copy-Request-ID"
|
||||
)
|
||||
Reference in New Issue
Block a user