mirror of
https://github.com/versity/scoutfs.git
synced 2026-09-05 23:56:58 +00:00
Writing dirty items into a segment wasn't protected by locking. It's not racing with item dirtying, bit it's absolutely racing with reads while modifying the rbtree. And shrinking will be modifying the item cache at any old time in the future. Signed-off-by: Zach Brown <zab@versity.com>