patchGNU cpio - Patches: patch #10044, copy-out reflink and chain support


You are not allowed to post comments on this tracker with your current authentication level.

patch #10044: copy-out reflink and chain support

Submitter:  ddiss
Submitted:  Fri 12 Mar 2021 01:18:42 AM UTC
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Tue 20 Apr 2021 08:20:30 AM UTC, comment #2: 

See mailing list for latest version of this patchset:

The chain_reflink_copyout_mstr.patchset attachment here is now out of date.

Fri 12 Mar 2021 01:22:37 AM UTC, comment #1: 

I should have mentioned, this is based on and includes a reworked version of Luis' submission at .

Fri 12 Mar 2021 01:18:42 AM UTC, original submission:  

This patchset adds support for Linux copy_file_range() syscall usage via a new '--reflink' copy-out parameter. The syscall can considerably improve archive creation performance and space efficiency on copy-on-write filesystems such as XFS and Btrfs by performing a metadata only reflink instead of regular read/write copy.

An additional '--chain' parameter is also added for appending a new archive to an existing file. This is useful for Linux initramfs images, which can be chained back-to-back.
Unit test coverage for both new parameters is provided.

This patch set also carries the queued change at .



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #51047:  chain_reflink_copyout_mstr.patchset added by ddiss (28KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by ddiss (Submitted the item)
  • -email is unavailable- added by ddiss
  • -email is unavailable- added by ddiss

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-03-12 ddiss Attached File- Added chain_reflink_copyout_mstr.patchset, #51047
        Carbon-Copy- Added -email is unavailable-
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code