Re: [PATCH] rgw: Added an encoder for time_t to fix compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 20, 2013 at 6:57 AM, christophe courtaut
<christophe.courtaut@xxxxxxxxx> wrote:
> On the rgw-wip-geo-2 branch, the encode decode function are called
> with time_t now,
> but there is no encode/decode function created for time_t type.
>
> http://tracker.ceph.com/issues/5402 refs #5402
>
> This patch adds a WRITE_RAW_ENCODER to support this type.
>
> --
> Christophe Courtaut


The problem here is that we can't use the generic encoder / decoder as
time_t may have different size on different architectures. We should
just have a fixed size encoding for it (probably 64 bit albeit the
waste).

Thanks,
Yehuda
--
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




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux