mirror of
https://github.com/versity/scoutfs.git
synced 2026-07-30 12:03:16 +00:00
Up to this point we'd been storing file data in large fixed size items. This obviously needed to change to get decent large file IO patterns. This wires the file IO into the usual page cache and buffer head paths so that we write data blocks into allocations referenced by btree items. We're aggressively trying to find the highest ratio of performance to implementation complexity. Writing dirty metadata blocks during transaction commit changes a bit. We need to discover if we have dirty blocks before trying to sync the inodes. We add our _block_has_dirty() function back and use it to avoid write attempts during transaction commit. Signed-off-by: Zach Brown <zab@versity.com>