Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5552107imm; Tue, 19 Jun 2018 12:16:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK0Douiuc62qX97ejSoLOh6MIgBV1Q4vImMO0Pbe6FLLy+FYzCaclYzJUyhxVq9S0Rdi4A5 X-Received: by 2002:a63:79c5:: with SMTP id u188-v6mr15892181pgc.111.1529435773434; Tue, 19 Jun 2018 12:16:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529435773; cv=none; d=google.com; s=arc-20160816; b=h+Jng53uZnQ+LuMDvBaMkOvb8R/H+ETUn1+mTystASFCTus5EiSgsGpPM8tvYebXuv P/xHU+d9G5F1T6fm/jwHOdlKHhYkxao+4GtSdf4TaFABGCSOIPB6uaN3HBZzZoNN+3pu jKlYREgcu0ixBE76vPgGt9jsONIb+RzJjpadC6R5WEXVn40eIXHnbwZjru0xLARCPFmk Twa3s6HtpNvLnsAbZdEBTXC09NafLG3BmDshEHN0RcoVnZNrwhkc1IWIVxKpeGQOXWdH ZmOjETByOMlKQqDlWAToV1yKWiic+5WLbqfJb+qpTUAmHdHiOtzuSr8vJLHWjlYzCpMM 7MQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=zCtK+JkSG+cTIrkFrHIL64C4uwCKUPQIef8Rjl5eJS0=; b=zwPv00KO1EftVSdnDHa3ZoKZA1TRat47zhISJWRMkDn2wuq9n349P9igfBiLIrhGus y4GWTP4B2pZNGYh1QiRh3F3DK8EbfTLC2tCSRPdNbhalJ3aztRuV/GPQOHxQ2W2kQz1q UG0mFxGTPAwJV3+Ocrvqre7qiEQvq07fQB0d76Nv5HZnrram6O/25vGMZglO0o8Z08qS V5rs0CMnQ8Iq2iTluwLksYuxLeIpLyeJJZMp7JIYiqT8FwpTSygpSg5P4c8TtbDdC6hA lbewisC3LaJ2gkjUUadtr1NmPu0eWS+aHQrlfxa+LRug5WnrhLp0kfzAjzoGQQNMYfby QW3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=DCer9yoC; 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 v11-v6si323425pgf.380.2018.06.19.12.15.59; Tue, 19 Jun 2018 12:16:13 -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=DCer9yoC; 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 S1030406AbeFSTNg (ORCPT + 99 others); Tue, 19 Jun 2018 15:13:36 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:40539 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966747AbeFSTNe (ORCPT ); Tue, 19 Jun 2018 15:13:34 -0400 Received: by mail-lf0-f68.google.com with SMTP id q11-v6so1158806lfc.7; Tue, 19 Jun 2018 12:13:33 -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; bh=zCtK+JkSG+cTIrkFrHIL64C4uwCKUPQIef8Rjl5eJS0=; b=DCer9yoC1RdVL27OroGInPlo+kjaF0/JcVJZA02CeO7XKkcLlaxWl3tN2dPyyRTPGi 8GFLiEiE3ZRjAv+Gwvd6hVegmV0/6tw+GxTaPZLOQ/xtgdTMCBnNaQavI1RgEYuBeQP/ FmeIB2xwvv7eDxMf1C73CP6aWCyPqPcxcpq0gtf+vBjZWLd0PGPebxqdqa3HpdAUnqKu hJqGnon2SVACWQfV2hY/dJmgHpkOnsHrBL/kl0OMctC+NrPQQGpUnGu8q+6xRrGnBnwO YqDEVhGGJRxJTXWn896pClZLzPXB+ISNRXJWaIGoPodqv0memJr1M7WsMEwwjI/7+nBC UmQg== 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; bh=zCtK+JkSG+cTIrkFrHIL64C4uwCKUPQIef8Rjl5eJS0=; b=fjhc/NeKsT5UxBs2hsJIf9vU9mI4DD1LsmDpx3U+LhlFZkqE6irwl9B8sNDOmy2Eb4 gehTkdaeq1fRh0KWV9Im5g4+Lz90rAco1sVoAmnaEujsVphIVeYltEG4FaEjbs9LlnCZ fk1Yb1sLSs88t911UzAJ0+WaL5gqn2wWduLa6vWqrddxBLUUdL+kgfRTSJcwyZ2ViY2D BL8AlXZoLYuRKo1q148ScY4AJoSjoauXvHkFSInnJw7mnBEDmZXYPUxN3HYmPUThjrNb bHAPSdkpgwnz6Xa/amZHVOz0AqF2MwcqlDwEh4YTpiFONChH2H/Tr7BityDpVgowFVmu zPTw== X-Gm-Message-State: APt69E05I5sXHBWDn7MYgRG9Y/Whc4cwJYdERW7j7y9olU6mmdYHcCis 7ezRN4Jvfp0m80gl5hDKdk1vkHvtYcglq4hc7Ew= X-Received: by 2002:a2e:804c:: with SMTP id p12-v6mr11849320ljg.22.1529435613047; Tue, 19 Jun 2018 12:13:33 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a2e:56c8:0:0:0:0:0 with HTTP; Tue, 19 Jun 2018 12:13:32 -0700 (PDT) In-Reply-To: <20180619165633.acyxrweiedyhvre7@cs.cmu.edu> References: <20180619153822.3638475-1-arnd@arndb.de> <20180619165633.acyxrweiedyhvre7@cs.cmu.edu> From: Arnd Bergmann Date: Tue, 19 Jun 2018 21:13:32 +0200 X-Google-Sender-Auth: xiLRCNSXTnteL3IXXLCBKWMy-Vo Message-ID: Subject: Re: [PATCH] coda: stop using 'struct timespec' in user API To: Arnd Bergmann , y2038 Mailman List , Jonathan Corbet , Deepa Dinamani , "open list:DOCUMENTATION" , 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 Tue, Jun 19, 2018 at 6:56 PM, Jan Harkes wrote: > On Tue, Jun 19, 2018 at 05:37:35PM +0200, Arnd Bergmann wrote: >> Unfortunately, this breaks the layout of the coda_vattr structure, so >> we need to redefine that in terms of something that does not change. >> I'm introducing a new 'struct vtimespec' structure here that keeps >> the existing layout, and the same change has to be done in the coda >> user space copy of linux/coda.h before anyone can use that on a 32-bit >> architecture with 64-bit time_t. > > This looks good to me. > >> An open question is what should happen to actual times past y2038, >> as they are now truncated to the last valid date when sent to user > > That is definitely quite a hard problem because this propagates all the > way back to the Coda file servers and how they store metadata. > In fact the existing client-server protocol only uses 32-bit time in > seconds, so we already lose the nanosecond resolution and 64-bit systems > don't actually benefit from having the extra bits in their struct timespec. > > Not exposing an internal kernel datatype is definitely an improvement, > so this is an ACK for me. Thanks,