mirror of
https://github.com/ceph/ceph
synced 2024-12-11 14:09:09 +00:00
81feae12e1
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
13 lines
493 B
ReStructuredText
13 lines
493 B
ReStructuredText
=========================
|
|
CephFS delayed deletion
|
|
=========================
|
|
|
|
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.
|