[RTEMS Project] #4655: sync() whould synchronize all file descriptors
RTEMS trac
trac at rtems.org
Fri May 13 10:58:34 UTC 2022
#4655: sync() whould synchronize all file descriptors
------------------------------+-----------------------------
Reporter: Sebastian Huber | Owner: Sebastian Huber
Type: defect | Status: assigned
Priority: normal | Milestone: 5.2
Component: fs | Version: 4.5
Severity: normal | Keywords:
Blocked By: | Blocking:
------------------------------+-----------------------------
According to POSIX
https://pubs.opengroup.org/onlinepubs/9699919799/functions/sync.html
we have
{{{
The sync() function shall cause all information in memory that updates
file systems to be scheduled for writing out to all file systems.
}}}
Currently, the RTEMS sync() implementation synchronizes only the file
descriptors associated with a FILE object. This should be changed to call
fsync() and fdatasync() for all file descriptors.
--
Ticket URL: <http://devel.rtems.org/ticket/4655>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list