Skip to content

Conversation

vmingchen
Copy link

@vmingchen vmingchen commented Dec 5, 2024

io-uring ftruncate got supported since Linux 6.9; this adds support for that.

Changes:

  • Update libc and io-uring to their latest versions
  • Add and implement File::truncate with the help of Op<Ftruncate>
  • Add a unit test cover ftruncate

See

@vmingchen vmingchen marked this pull request as ready for review December 30, 2024 16:14
@vmingchen vmingchen changed the title Add File::truncate for async file truncation feature: Add File::truncate for async file truncation Dec 30, 2024
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