Opened on 05/13/22 at 10:58:51
Closed on 05/17/22 at 13:20:31
#4656 closed defect (fixed)
sync() whould synchronize all file descriptors (cloned)
Reported by: | Sebastian Huber | Owned by: | Sebastian Huber |
---|---|---|---|
Priority: | normal | Milestone: | 6.1 |
Component: | fs | Version: | 4.5 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
Cloned from #4655:
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.
Change History (1)
comment:1 Changed on 05/17/22 at 13:20:31 by Sebastian Huber <sebastian.huber@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In 3ccfb583/rtems: