Files
scoutfs/kmod
Auke Kok efc19c3d75 server: limit to one merge request when fs_root height <= 2
When the fs_root is too short for subtrees, get_parent returns the
entire root for every request.  Multiple concurrent merges would each
independently CoW and modify the same root tree.  Processing their
completions would replace the root with each result, only keeping the
last and orphaning blocks allocated by earlier completions.

Limit to one outstanding request when fs_root.height <= 2 to prevent
this.

Signed-off-by: Auke Kok <auke.kok@versity.com>
2026-03-17 10:13:56 -07:00
..