Files
rtems/cpukit/libfs
Fan Deng 64908df116 Fixes bitmap allocation accounting logic in rtems-rfs-bitmaps.c
The bitmap allocation accounting logic in rtems-rfs-bitmaps.c is flawed
around control->free. Specifically:

In rtems_rfs_bitmap_map_set():
control->free is only decremented when its corresponding search bit is
toggled. This is wrong and will miss on average 31/32 set updates.

In rtems_rfs_bitmap_map_clear():
control->free is incremented unconditionally.

The correct behavior is:
When updating the map, check if the bit is already set/clear. Only update
control->free when the bit is toggled.

This change enforced the correct behavior.

Tested by inspecting the internal data structure.
2018-04-11 11:51:57 +10:00
..
2018-04-04 10:09:04 +02:00

This directory contains for the "file system" library. All supported
file systems live under this tree.

Currently the supported file systems in this library are:

- IMFS or In Memory File System

   This is the only root file system on RTEMS at the moment. It supports
   files, directories, device nodes and mount points. It can also be
   configured to be the miniIMFS.

- TFTP and FTP filesystem are part of the libnetworking library.

- DEVFS or Device File system

- DOSFS, a FAT 12/16/32 MSDOS compatible file system.

- NFS Client, can mount NFS exported file systems.

- PIPE, a pipe file system.

- RFS, The RTEMS File System.

--Chris Johns and Joel Sherrill
  17 Feb 2010