]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/dev: edit delayed-delete.rst 47051/head
authorZac Dover <zac.dover@gmail.com>
Sat, 9 Jul 2022 16:10:31 +0000 (02:10 +1000)
committerZac Dover <zac.dover@gmail.com>
Mon, 11 Jul 2022 18:27:32 +0000 (04:27 +1000)
This PR improves the English in the "CephFS Delayed
Deletion" chapter of the Ceph Internals Guide (which
is stored in the doc/dev/ directory).

There was no pressing need to rewrite this. I just saw
that it could be tightened up, and I had the fifteen
minutes I needed to do it.

Co-author: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit c186c5ec6cb2ea1999cb14500aaa64d6aa72dddd)

doc/dev/delayed-delete.rst

index bf5f65a460893fa09153081b4a51c9be45475d2e..31f3e6b9727fed0f66d55a256281155ab0f3d209 100644 (file)
@@ -2,11 +2,12 @@
  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.
+The deletion of a file does not immediately remove its data. Each of the file's
+underlying objects must be removed independently. If these objects were removed 
+immediately, the client would have to send ``size_of_file / stripe_size *
+replication_count`` messages. This would consume significant bandwith and would
+slow the client unacceptably. If snapshots exist, their existence can prevent
+the deletion of objects associated with them.
 
-Instead, the file is marked as deleted on the MDS, and deleted lazily.
+In these cases, such files are (1) marked as deleted on the MDS and (2) deleted
+lazily.