Skip to content

Support native copy-on-write semantics on ReFS filesystem #1317

Description

@voddan

Processing assemblies with format=dir involves copying a lot of files from source to target. That can be greatly optimized for some filesystems that support copy-on-write semantics.

Copy-on-write provides near-instantaneous copy operation for files. The initial copy only copies the file descriptor, while the actual bytes stay in the same place on the disk. The bytes are only partially copied when the file content is modified. Exact implementation depends on the filesystem.

Microsoft ReFS filesystem is becoming popular on development machines with Windows 11's "Dev Drive" feature, and it can take advantage of copy-on-write operations. My team's project has over 50 maven modules, with lots of assembly operations. It would greatly benefit from the assembly plugin supporting copy-on-write on ReFS.

Please support copy-on-write semantics for format=dir on supporting filesystems, specifically ReFS

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions