Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp850029imm; Fri, 13 Jul 2018 07:22:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdHl2tgQQqoEUXzbNkGpYpPhxY/Kg5lS5oZ9uf56PMlo46W1/w87bbbCX8lpbKQGcYeceB0 X-Received: by 2002:a62:5f82:: with SMTP id t124-v6mr5277353pfb.223.1531491753820; Fri, 13 Jul 2018 07:22:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531491753; cv=none; d=google.com; s=arc-20160816; b=FGW9KGFDVONIj14CKR65IeLpPDLKSD6BoGVdqT6kmFKQbib9bs4age6fiLSaXDb0gI oIQLsdCa79UlW+fneA8Eao0sKRGPx8Sk4J2RGKO9FrldEqNbaSU3Ts0FwnWjxASPivVz B9hsFpvBuPghhPO276kNVRnv15Rhh6jbAS/vJzK/vYJnyIiSCL23eh7viWUEQvZ/8lUA 27urnD6XQc84SmtJew5j1MHYE359jVko2oWzEKmAvexOqZnehsU6lN27pqUx6gGtpdID MkL+idKr+Ps11+VPdztF4IZmt2Rc7yReQLILqF6tlTxepwmXWzOHZLCZHWyv3LJ5s+EB QguA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Np6NhRUaEsDLzElNLyTxhaAmkhOTvkgfophVfxrGguQ=; b=wn8H/Lxa9gd0wrmT16989QHu+GCaasdZXKwqwrQrvsW916Anu2g91ghFyFdG9oMNGF SsMXqryg/jZh8gMLi7L23Mh7uZdJ5SwzvdQWB3fiK8tMkBBG794dSR5EGY4SEumUAf5t L1/4zUMMW4SJfjyWqOZ5rZdO26ycZXe2jI38rQgndRmCCJDIej7cPdG0r9i3g09V90xx YoLH5OTi202qR9GlYe3kmQAh5VTnJ16TIH2tqjqoeTs+R+f+uKc502o7rHE9oACnINLc 4yD2tZYA69XtrjlZgxLSjGalIQz6xjiDjIzBnObth/eLrwUWaChwq9H5jRoxPJdj5Etv dFww== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Iqm6CcXY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 69-v6si24052494pla.288.2018.07.13.07.22.10; Fri, 13 Jul 2018 07:22:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Iqm6CcXY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731560AbeGMOfd (ORCPT + 99 others); Fri, 13 Jul 2018 10:35:33 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:37840 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729733AbeGMOfd (ORCPT ); Fri, 13 Jul 2018 10:35:33 -0400 Received: by mail-lj1-f196.google.com with SMTP id v9-v6so14339278ljk.4; Fri, 13 Jul 2018 07:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Np6NhRUaEsDLzElNLyTxhaAmkhOTvkgfophVfxrGguQ=; b=Iqm6CcXYyV5V0SMZWWip2WgNuHwJ/+7/2WoWZUMnn/ycY/UWBK6iI6Ldpm7RY2k/25 LGC+C7+d6QAOAvrvbWUheyJoPk0qI4CUU+glMo/cv7CoAzBOmR6gp+7jtHv/dDHCWxBu 4GQCa5aQ8m9xlhW7LfavhXZ/NfsWAg3YdZLQpx4QmAFVbG3ypSI07YgHIhyQDsJIdh8B YAKsYjUPf5l6zV4HZYpEd0Ga3TSBrebUx7jHioMukdR3Niz60roRMueOunXg8JeVWmT3 1+Wy3ew8s+GT6osNb1P6cEK6tHjemc3lpRWQ7ajb43mI2fI6D+ZJ+Qf0d2KtpyNPIiG4 BZdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Np6NhRUaEsDLzElNLyTxhaAmkhOTvkgfophVfxrGguQ=; b=JbKzAiYqsgoT6/XS75Fw761IkS+q2/FJ3WBV+QDbDdnzd3+ZSq/mHCskvUEYGFncqw RBZpEfltD8v9DnmSOcm5moY9pqhPVNC8ZdpIp5SlWSOxLmNYVW/eM7jAoaIrhPPoMy6R CJZ63Eku3EbGpKg7X/yd6+T+NZpLPF4D4sQSsXxLXUnj5RbTCH/t+AG2xMSHzaKFcgjZ A893U7L/DIOH/wP45jyy06HRmBpIwx1p3+Lw1Xmb6DYcBI8Xr+lw3vqtIYLcc5sQJrDD e4EKa1he39XoVddYAjKoVA+D54CFN0S4PhJMg6XMhUmWIcx2gLgkRrF10MmxaNWYnN8N q80g== X-Gm-Message-State: AOUpUlFyHE/06vbqVm5FgVS+RrRBj5XznKz7AQdqRuo7grJfEY3pi4BH cgAimdl9rzQwaaSu+s9Bj15Ycp7SBjEw7SzDKrc= X-Received: by 2002:a2e:40c6:: with SMTP id r67-v6mr3563643lje.41.1531491640532; Fri, 13 Jul 2018 07:20:40 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a2e:41c1:0:0:0:0:0 with HTTP; Fri, 13 Jul 2018 07:20:39 -0700 (PDT) In-Reply-To: References: <20180622134907.227131-1-arnd@arndb.de> From: Arnd Bergmann Date: Fri, 13 Jul 2018 16:20:39 +0200 X-Google-Sender-Auth: zIqbbJDbUYnSNkLWXuu4ySGyOEQ Message-ID: Subject: Re: [PATCH] [v2] bcache: stop using the deprecated get_seconds() To: Coly Li Cc: Kent Overstreet , y2038 Mailman List , Jens Axboe , Michael Lyle , Tang Junhui , Hannes Reinecke , linux-bcache@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 23, 2018 at 10:12 AM, Coly Li 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 > > Added to 4.19 for-next. I noticed this isn't part of linux-next (yet). Did it get dropped? Arnd