Received: by 10.213.65.68 with SMTP id h4csp2129600imn; Sun, 8 Apr 2018 20:28:05 -0700 (PDT) X-Google-Smtp-Source: AIpwx48qRYexkYJIOHaeXcmYfRgqkT9vsdfTajfJiXDfpZy6M74ht5PevdoikH+UIHKm12BWl8c6 X-Received: by 2002:a17:902:d685:: with SMTP id v5-v6mr410538ply.284.1523244485452; Sun, 08 Apr 2018 20:28:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523244485; cv=none; d=google.com; s=arc-20160816; b=0OU2cbkWYLenwz/4tPGJsYdpVW7mGnFEWdx4a38ncc5YYpTx2thIMTWzN9jGqcR3lb mn8JID4PX5XIsi50R7Ehk18RLkfUt2c/4hUF0Gn+oHGKMiuA/f+zHUDJw4Tty3dXBznL uL5FtLfTlbr31z/7hd5h5y5Kc23JHls2ezPDM+4qwcOqK93tziwr9rMxBxpIoKhvtREe NE/Mho1B5SGv19tUgS6uYdcxUkzzJOwWj95UaDancvBJPaRYL6G9Ht/9D56TkjwQui84 2QAGkTTN3QBMJGBdAD+aR3vzd6pB6OsR9IBARrphWhkO5Z8/FPFAFOVfY/hWD1jRh1Sh WnvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=M9CE1Q1nfaCweWI3pv9lgFRNPKfOwSy32PZihRdstbw=; b=KonlnJWFT7fyz6PuHFzOFa4DawHRvywNR043Fzln/LqbdR+jzwFCDiqP2+gT2O2hT6 8L2neiFiLrmqAqXie0TiBRx0sGFIwg89shvcrqhHRW+a/58xlDTJaWHK07zpslZjV+KH SFfW6o1UW2BKzrgb7qHEs6tWv6CVxK7DgBqecPTNZ6mMDw7z0pebBEDibduFr3gqoCGU n2VnOzaAh3TOr+F1FxhkQLjh9yXZrKBnxNpm70exZA978xESGzvtucjEcxEMEqq55CqM IpD7P62JFFa6sgs66QxOOsoYhTxxHcMLBdS7tgUwWomQZ6xhzk6QaUuYajg4BQ7Cis3J X8dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=jnln0Yri; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n1-v6si13582054pld.204.2018.04.08.20.27.28; Sun, 08 Apr 2018 20:28:05 -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=pass header.i=@microsoft.com header.s=selector1 header.b=jnln0Yri; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754098AbeDIDXb (ORCPT + 99 others); Sun, 8 Apr 2018 23:23:31 -0400 Received: from mail-sn1nam01on0134.outbound.protection.outlook.com ([104.47.32.134]:37792 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754740AbeDIAWw (ORCPT ); Sun, 8 Apr 2018 20:22:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=M9CE1Q1nfaCweWI3pv9lgFRNPKfOwSy32PZihRdstbw=; b=jnln0YriwWwspIhp2VIyeT0jud2Nwwo0ZvQJl/6UPwvUDtUD++tKn0d5HvRL03JQqIiLfDb4Vk0vdxhLukLYfeAEQ76Hy708B884NWpIZTnMe+Vee0iOQiC0lcqWBOqbUdoDlcqJvR/PnmhIoN15tH4bESQK58wHOCho2gqM2F8= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB1014.namprd21.prod.outlook.com (52.132.133.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.0; Mon, 9 Apr 2018 00:22:50 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059%2]) with mapi id 15.20.0696.003; Mon, 9 Apr 2018 00:22:50 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Jan Chochol , Trond Myklebust , Sasha Levin Subject: [PATCH AUTOSEL for 4.14 040/161] nfs: Do not convert nfs_idmap_cache_timeout to jiffies Thread-Topic: [PATCH AUTOSEL for 4.14 040/161] nfs: Do not convert nfs_idmap_cache_timeout to jiffies Thread-Index: AQHTz5iJbNzBDdhMIUieuUBkWzZEFg== Date: Mon, 9 Apr 2018 00:20:17 +0000 Message-ID: <20180409001936.162706-40-alexander.levin@microsoft.com> References: <20180409001936.162706-1-alexander.levin@microsoft.com> In-Reply-To: <20180409001936.162706-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB1014;7:Xkoo+a1/bJebFMb5Sd86nz9+JxZOuBPwJN1wXfa4o281QCvy6MiAfFn687239F5wL8Nz/afj7KGBFcKVtdCdq9isqYzmza4PNOf7YnZltHWw+o8Xs7iPIJrYlnoX6b0kN1+u8gCQ2gTvv8JFi1aIaKlL5s9H68HuUAAPlsAwEg6cN2WPp/Jc6boZswga6jzjUJEgw9/gCAmujgbCXB6fF3uyFC3F3UPVSKD+QcTY6OXtlEPQGZWyc3gUvtCDMCm/;20:nLbR/FEDR3312xYZvwpVYY6+3DLY8ct/Gpmdx9kjbGsOgWy4kcFSsjrLDT/N+0YLZeJfUCb95W41gEorMiTeFjJynyynPO2OtlJW1dZVntfOCLudC/gxaAaWuHUCBuxJfcrnNYpszZE4VgP2I+emCiHbp4B5CNhfGAv37YbQZ54= x-ms-office365-filtering-ht: Tenant X-MS-Office365-Filtering-Correlation-Id: 5c4cd13b-0a62-4f71-fdf1-08d59db00763 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB1014; x-ms-traffictypediagnostic: DM5PR2101MB1014: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(8121501046)(5005006)(3231221)(944501327)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DM5PR2101MB1014;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB1014; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(366004)(39860400002)(39380400002)(396003)(376002)(189003)(199004)(81166006)(81156014)(478600001)(6436002)(72206003)(8936002)(10290500003)(106356001)(99286004)(86362001)(2616005)(7736002)(2501003)(6666003)(446003)(476003)(8676002)(11346002)(105586002)(305945005)(5250100002)(6512007)(53936002)(68736007)(107886003)(66066001)(86612001)(2906002)(14454004)(186003)(22452003)(25786009)(4326008)(2900100001)(486006)(36756003)(6486002)(3660700001)(59450400001)(54906003)(26005)(3280700002)(110136005)(1076002)(10090500001)(76176011)(6506007)(97736004)(316002)(3846002)(6116002)(102836004)(5660300001)(22906009)(217873001)(6606295002);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB1014;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: ibrCri+PLY//oSvmsY84pqp2g/wQbZKM1CVk/i4bpBaKRlVXFx8NIs2i900/0hTqIch/P4y4icNkin3O+/3+TovQNiGjfyk9L2ZMMWOHJ+SxWC0dnK7cZXkb3/VZmEdVeWdUf+keT1Vsu9MAd6/j/6RvgawJXFDdBKpmi3AtfDNVEAgAooTiYFGPrhY7ERH2mkv+qt8DRWnDvuaKyM4ES9dXNqJ7oGH3oUw7r9tzHEMYjKHjwzJrC+foSs2WTkcFs1YJP1x/APpWQ/TlxA3zYb/lZO+q5EiA9a1GN6ZNUNHGPkNRuJUQ4eIfqIZsCeQAdLljAPwlcC6+gVBrJlFN1gQbqurFwFo8K2RLB9UL36LE/e6TUoeR9x3tiXW0a4ngR2ReB3Q5ufKPDF85++m3dtXcAJK4oPkTVb8qSusAfFs= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5c4cd13b-0a62-4f71-fdf1-08d59db00763 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:20:17.0195 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB1014 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jan Chochol [ Upstream commit cbebc6ef4fc830f4040d4140bf53484812d5d5d9 ] Since commit 57e62324e469 ("NFS: Store the legacy idmapper result in the keyring") nfs_idmap_cache_timeout changed units from jiffies to seconds. Unfortunately sysctl interface was not updated accordingly. As a effect updating /proc/sys/fs/nfs/idmap_cache_timeout with some value will incorrectly multiply this value by HZ. Also reading /proc/sys/fs/nfs/idmap_cache_timeout will show real value divided by HZ. Fixes: 57e62324e469 ("NFS: Store the legacy idmapper result in the keyring"= ) Signed-off-by: Jan Chochol Signed-off-by: Trond Myklebust Signed-off-by: Sasha Levin --- fs/nfs/nfs4sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfs/nfs4sysctl.c b/fs/nfs/nfs4sysctl.c index 0d91d84e5822..c394e4447100 100644 --- a/fs/nfs/nfs4sysctl.c +++ b/fs/nfs/nfs4sysctl.c @@ -32,7 +32,7 @@ static struct ctl_table nfs4_cb_sysctls[] =3D { .data =3D &nfs_idmap_cache_timeout, .maxlen =3D sizeof(int), .mode =3D 0644, - .proc_handler =3D proc_dointvec_jiffies, + .proc_handler =3D proc_dointvec, }, { } }; --=20 2.15.1