[libvirt] [PATCH] Added timestamps to storage volumes

Hendrik Schwartke hendrik at os-t.de
Wed Jul 11 13:19:39 UTC 2012


On 11.07.2012 15:10, Eric Blake wrote:
> On 07/11/2012 07:09 AM, Eric Blake wrote:
>> On 07/11/2012 01:12 AM, Hendrik Schwartke wrote:
>>
>>>>> +    atime->tv_sec = sb.st_atime;
>>>>> +    mtime->tv_sec = sb.st_mtime;
>>>>> +    catime->tv_sec = sb.st_ctime;
>>>>> +#if _BSD_SOURCE || _SVID_SOURCE
>>>>> +    atime->tv_nsec = sb.st_atim.tv_nsec;
>>>> Yuck.  I've nearly got consensus to use the gnulib stat-time module, in
>>>> which case this would instead be the much simpler:
>>> Ok, that sounds good. But what exactly does 'nearly' mean?
>> It means 3 of the 4 copyright holders have agreed, with less than
>> 24-hour turnaround time; the 4th will likely respond sometime this week:
>> https://lists.gnu.org/archive/html/bug-gnulib/2012-07/msg00141.html
>>
> Correction - there is only one copyright holder - the FSF.  But 3 of the
> 4 original contributors have agreed to a relicense, and if all original
> contributors agree, then we don't have to bother the FSF with a much
> more formal and lengthy process of convincing the FSF to relicense.
>
Oh, cool. I didn't thought that this could be done in such a short term.
So I will update my patch using stat-time this week so that it is ready 
if the license has changed.
(I will also add the birth time.)

Thanks
Hendrik




More information about the libvir-list mailing list