On 25 March 2013 19:38, Sage Weil <sage@xxxxxxxxxxx> wrote: > On Mon, 25 Mar 2013, Damien Churchill wrote: >> On 25 March 2013 19:18, Wido den Hollander <wido@xxxxxxxx> wrote: >> > On 03/25/2013 12:27 PM, Damien Churchill wrote: >> >> >> >> Does anyone know if it's possible to set an objects mtime at all in RADOS? >> >> >> > >> > You mean with a specific operation while not modifying the content of the >> > object? >> > >> > I checked the rados API, but I couldn't find any method which allows you to >> > do so. >> >> Neither could I. I guess the question should be changed to: >> >> How difficult would it be to allow the modification time to be set >> (including setting it to a time in the past) without changing the >> object? > > The CREATE operation just creates the object if it doesn't exist. You can > use that op and set the mtime to whatever you want. You probably need to > use the C++ bindings with the ObjectWriteOperation method; I don't think > there is a standalone call for it (tho one is easily added). > Okay thanks! A call in the C API would be handy. I was wanting to look at creating a tool to sync RADOS between clusters. Is that anything that's in the development plan already? I noticed the email about the rbd-diff tool yesterday. -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html