]> git.proxmox.com Git - ceph.git/blob - ceph/doc/dev/delayed-delete.rst
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / doc / dev / delayed-delete.rst
1 =========================
2 CephFS delayed deletion
3 =========================
4
5 When you delete a file, the data is not immediately removed. Each
6 object in the file needs to be removed independently, and sending
7 ``size_of_file / stripe_size * replication_count`` messages would slow
8 the client down too much, and use a too much of the clients
9 bandwidth. Additionally, snapshots may mean some objects should not be
10 deleted.
11
12 Instead, the file is marked as deleted on the MDS, and deleted lazily.