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