On 12/30/2012 09:42 PM, Stephan von Krawczynski wrote: > If I delete > something on a disk that is far from being full it is just plain dumb to > really erase this data from the disk. It won't help anyone. It will only hurt > you if you deleted it accidently. Read my lips: free disk space is wasted > space, just like free mem is wasted mem. > And_that_ is the true reason for undelete. It won't hurt anybody, and will > help some. And since it is the true goal of a fs to organise data on a drive > it is most obvious that "undelete" (you may call it lazy-delete) is a very > basic fs feature and_not_ an add-on patched onto it. Have you explored xlators/features/trash in the source tree? Does that fit your requirements? If that does, code clean up in trash translator and exposing undelete (via trash xlator) as a tunable through the gluster volume set interface is not complex. -Vijay