QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
File pre-allocation |
Ref. No. |
QNX.000009712 |
Category(ies) |
Filesystem |
Issue |
The purpose of preallocation is to reduce file fragmentation in files which are being periodically appended to , which increases the performance of operations with these files. Keeping the pre-allocated area just puts a limit on one of the filesystems worst-case behaviours.
Where does "pre-allocated area" exists?
|
Solution |
The pre-allocated area exists as a part of the area that the file is associated with. It is marked as used in the bitmap. It is also used as a part of filesystem extents. |
|