Hi Song,

Next time, please post the question in ceph-devel or ceph-users mailing list.
I'm also replying the answer to your question to the ceph-users maling list.

The purpose of "--delay SEC" is to protect the image from being accidentally
removed from trash before SEC is expired, and to allow some automatic process (a
cron job for instance) to remove the image from trash after its delay is 
expired.


On 17-04-2017 15:30, swb...@126.com wrote:
> Dear Ricardo,
>      Recently, I am studying librbd: deferred image deletion
> <https://github.com/ceph/ceph/pull/13105> and I have a question about "rbd 
> trash
> mv  {imagename} --delay {delay-time} ". What's the reason and function of 
> adding
> "--delay" ?
>      I hope that I can receive your response.
>     Thanks.
> 
>                                                                               
>  
>                            Song Weibin

-- 
Ricardo Dias
Senior Software Engineer - Storage Team
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284
(AG Nürnberg)
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to