Skip to content

Add fdatasync for missing platforms#1581

Merged
bors[bot] merged 1 commit intonix-rust:masterfrom
rtzoeller:fdatasync
Dec 22, 2021
Merged

Add fdatasync for missing platforms#1581
bors[bot] merged 1 commit intonix-rust:masterfrom
rtzoeller:fdatasync

Conversation

@rtzoeller
Copy link
Copy Markdown
Collaborator

These platforms stub out fdatasync() by just calling fsync(), but that is a conforming implementation.

DragonFly recently provided an implementation, but it has not made it into a release or rust-lang/libc.

@rtzoeller
Copy link
Copy Markdown
Collaborator Author

IOU a changelog note, once the changelog has been updated for the next minor release (assuming the current changelog section is for a patch release).

@asomers
Copy link
Copy Markdown
Member

asomers commented Oct 23, 2021

Yep yep yep. BTW, FreeBSD has had an fdatasync since 11.1, but it's equivalent to fsync on ZFS, which is the only file system many users care about.

@asomers asomers added this to the 0.24.0 milestone Dec 15, 2021
@asomers
Copy link
Copy Markdown
Member

asomers commented Dec 21, 2021

@rtzoeller time for a rebase and CHANGELOG notice?

@rtzoeller
Copy link
Copy Markdown
Collaborator Author

bors r+

@bors
Copy link
Copy Markdown
Contributor

bors bot commented Dec 22, 2021

Merge conflict.

@rtzoeller
Copy link
Copy Markdown
Collaborator Author

bors retry

@bors bors bot merged commit e2298bb into nix-rust:master Dec 22, 2021
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.

2 participants