mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-09 05:13:18 +00:00
The stage command was trivially implemented by allocating, reading, and staging the entire region in buffer. This is unreasonable for large file regions. Implement the stage command by having it read each portion of the region into a smaller buffer, starting with a meg. Signed-off-by: Zach Brown <zab@versity.com>