Skip to content

Conversation

@Yang-Wei-Ting
Copy link
Contributor

πŸ“¦ Package Details

Maintainer: @jow-

Description:
Patch possible infinite loop with SEEK_HOLE.

See also:
coreutils/coreutils@bd528f9


βœ… Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

If your PR contains a patch:

  • It can be applied using git am
  • It has been refreshed to avoid offsets, fuzzes, etc., using
    make package/<your-package>/refresh V=s
  • It is structured in a way that it is potentially upstreamable
    (e.g., subject line, commit description, etc.)
    We must try to upstream patches to reduce maintenance burden.

cp, install, and mv no longer enter an infinite loop copying sparse files
with SEEK_HOLE. E.g., this was seen on ext4 when copying sparse files with
extents that are being actively updated, and copy offload is not being used.

See also:
coreutils/coreutils@bd528f9

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
@Yang-Wei-Ting Yang-Wei-Ting force-pushed the coreutils-patch-infinite-loop-in-cp branch from 073fa90 to f365202 Compare January 9, 2026 12:55
@Yang-Wei-Ting
Copy link
Contributor Author

Once this get merged, I will add it into #28303

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant