* feat(vfs): Implement mount propagation mechanism in VFS - Added support for mount propagation types: Shared, Private, Slave, and Unbindable. - Introduced a new module for managing mount propagation semantics, including peer group registration and event propagation. - Updated existing mount functions to handle propagation logic during mount and unmount operations. - Enhanced documentation to include details on the new mount propagation features and their usage. - Added unit tests to verify the correctness of mount propagation behavior across different scenarios. This implementation aligns with Linux semantics for mount propagation, ensuring compatibility and expected behavior in containerized environments.; Signed-off-by: longjin <longjin@DragonOS.org> * refactor(filesystem): optimize mount propagation and logging - Replace ID allocator with atomic counter for propagation groups - Refactor peer group registry into structured class with better APIs - Remove verbose debug logs to reduce noise Signed-off-by: longjin <longjin@DragonOS.org> * fix(namespace): correct mount propagation peer group handling - Fix peer group registration when changing propagation type from shared - Ensure propagated mounts join source child's peer group instead of target parent's group - Add proper peer group cleanup when transitioning from shared propagation Signed-off-by: longjin <longjin@DragonOS.org> * feat(vfs): implement recursive bind mount support - Add recursive bind mount functionality with MS_BIND | MS_REC flags - Implement BFS traversal for copying submounts in do_recursive_bind_mount - Fix mount registration order to prevent dangling registrations on failure - Add comprehensive test cases for recursive and non-recursive bind mounts Signed-off-by: longjin <longjin@DragonOS.org> --------- Signed-off-by: longjin <longjin@DragonOS.org> |
||
|---|---|---|
| .. | ||
| api.md | ||
| design.md | ||
| index.rst | ||
| mount_propagation.md | ||
| mountable_fs.md | ||