当前位置: 首页 > 文档资料 > Ceph 中文文档 >

CephFS delayed deletion

优质
小牛编辑
143浏览
2023-12-01

When you delete a file, the data is not immediately removed. Each object in the file needs to be removed independently, and sending size_of_file / stripe_size * replication_count messages would slow the client down too much, and use a too much of the clients bandwidth. Additionally, snapshots may mean some objects should not be deleted.

Instead, the file is marked as deleted on the MDS, and deleted lazily.