Project

General

Profile

Actions

Submit #3297

closed

[PATCH] sys/kern: Add fdatasync(2)

Added by tkusumi about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
09/12/2021
Due date:
% Done:

0%

Estimated time:

Description

Based on the following FreeBSD commits in 2016.
295af703a0d7987c6cf4987e7b7f5f07b3ca1221
1c1cc89580f0fbfabaf6f6c7f0f6440eef0c128e

Add the syscall and also add it to pthread's cancellation point.
The default behavior is same as fsync(2), which is fine but inefficient.

I'll commit within a few days.

https://leaf.dragonflybsd.org/~tkusumi/diff/0001-sys-kern-Add-fdatasync-2.patch

Actions

Also available in: Atom PDF