Re: [PATCH] [v2] bcache: stop using the deprecated get_seconds()

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

 



On Sat, Jun 23, 2018 at 10:12 AM, Coly Li <colyli@xxxxxxx> wrote:
> On 2018/6/22 9:48 PM, Arnd Bergmann wrote:
>> The get_seconds function is deprecated now since it returns a 32-bit
>> value that will eventually overflow, and we are replacing it throughout
>> the kernel with ktime_get_seconds() or ktime_get_real_seconds() that
>> return a time64_t.
>>
>> bcache uses get_seconds() to read the current system time and store it in
>> the superblock as well as in uuid_entry structures that are user visible.
>>
>> Unfortunately, the two structures in are still limited to 32 bits, so this
>> won't fix any real problems but will still overflow in year 2106. Let's
>> at least document that properly, in case we get an updated format in the
>> future it can be fixed. We still have a long time before the overflow
>> and checking the tools at https://github.com/koverstreet/bcache-tools
>> reveals no access to any of them.
>>
>> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
>
> Added to 4.19 for-next.

I noticed this isn't part of linux-next (yet). Did it get dropped?

      Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux