Skip to content

Refactor file allocation to use fixed-size blocks #26

Description

@Prana-vvb

Currently, when a file grows during a Write operation, the entire byte slice representing the file's data is reallocated and copied. This approach is highly inefficient for large files and impacts write performance.
Refactor the internal data structure to use a block-based allocation strategy instead of a contiguous byte slice.

  • File data is stored and managed in fixed-size blocks of 4 KB
  • Write and Setattr operations append or remove blocks rather than reallocating the entire file buffer

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions