[RTEMS Project] #2757: truncate() is broken for FAT

RTEMS trac trac at rtems.org
Tue Jul 12 12:15:42 UTC 2016


#2757: truncate() is broken for FAT
--------------------------+---------------------
 Reporter:  snob-wolpike  |       Owner:
     Type:  defect        |      Status:  new
 Priority:  normal        |   Milestone:  4.11.1
Component:  filesystem    |     Version:  4.11
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+---------------------

Comment (by chrisj):

 Have a look for 'rtems_disk_fd_sync' in
 cpukit/libblock/include/rtems/blkdev.h. The block device cache is a
 complex and defers writes. The sync will flush data to the cache and then
 the block device cache needs to be flushed to push the data to disk.

--
Ticket URL: <http://devel.rtems.org/ticket/2757#comment:4>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list