Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1039879ybv; Fri, 7 Feb 2020 13:14:06 -0800 (PST) X-Google-Smtp-Source: APXvYqzf1Fm2Kf/Ukqjv6e0Cj7sFb2vr++oMYEGdZjle+a7fMsEZWlzgIfbvTh4yrRUD5UEvkVXH X-Received: by 2002:aca:fd94:: with SMTP id b142mr3323500oii.11.1581110046295; Fri, 07 Feb 2020 13:14:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581110046; cv=none; d=google.com; s=arc-20160816; b=ejk1BrKObgMW7yuBkL5jl4Q4UemFx1cFKE4eSxgqvygIOPr/H3TlCQ02S/K3VEMq+H Wp5WGARTvPhjctCtcytR6+K0QD+ubMHQZkVfbwoxy+Use8NWK4IjjCwBgazKVeFMwyTD 6nbnYEi+xisJRaPOthL2cJu2LEkTuGvLtIyWVM75IRm7sjDhzIJRMPnkPp/AZD072PIj S7vOL7YyTPuI9J6hortPdV5OM8TcAMDf583dRsSxiniwm46IVDvloF5G7BF0a3eeUwHo PqeRLic91VDM0DAb++FpIOrFkIQwBhllcMAC4HZH8K+1Hf0Z3UC/y2NXSgOXXAO4uL3X J3jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:from:user-agent:content-disposition :mime-version:message-id:subject:cc:to:date; bh=AYWFqgVA8sFH9B+8tdbPHRsCnazsGopFJ0GNT04FffU=; b=QY2j/ukGb+yKJn/2W+t372Dj2Zs73udFtt1AJGwwXGRmeW/98bM6HCXH76RQ2hURZY 1rrzgbijUFomJlR9VUuSei+BqxzNmhkAdj/tyc6OAKGfJgyP3TxFL00/9EvovMcQUS0o CcETbjie7KrRL3TWF2fPpLtOJT2PW/3cxBFUyw9EYsDbnYi3Ve/x8wh3ZbJEZjRNatIc 1sApKDlfv7WZlqUU8p8Bswvw9auoxPD6eC2fPyzqIgkWKcVzR3dCikRAw6Eqbbv2cI1u cZnKgvTE28c5AkOOdIswjK0jgKxJM8zGLApZDeuOpdD8mYeobTwxU4MCD9jhcsdxWuKW wL+Q== ARC-Authentication-Results: i=1; mx.google.com; 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 m24si316746otn.67.2020.02.07.13.13.53; Fri, 07 Feb 2020 13:14:06 -0800 (PST) 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; 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 S1727175AbgBGVM4 (ORCPT + 99 others); Fri, 7 Feb 2020 16:12:56 -0500 Received: from fieldses.org ([173.255.197.46]:56698 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726947AbgBGVM4 (ORCPT ); Fri, 7 Feb 2020 16:12:56 -0500 Received: by fieldses.org (Postfix, from userid 2815) id 04F4DC55; Fri, 7 Feb 2020 16:12:56 -0500 (EST) Date: Fri, 7 Feb 2020 16:12:55 -0500 To: Linus Torvalds Cc: linux-nfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] nfsd changes for 5.6 Message-ID: <20200207211255.GA17715@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) From: bfields@fieldses.org (J. Bruce Fields) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Please pull nfsd changes for 5.6 from: git://linux-nfs.org/~bfields/linux.git tags/nfsd-5.6 Highlights: - Server-to-server copy code from Olga. To use it, client and both servers must have support, the target server must be able to access the source server over NFSv4.2, and the target server must have the inter_copy_offload_enable module parameter set. - Improvements and bugfixes for the new filehandle cache, especially in the container case, from Trond - Also from Trond, better reporting of write errors. - Y2038 work from Arnd. --b. Aditya Pakki (1): nfsd: remove unnecessary assertion in nfsd4_encode_replay Arnd Bergmann (12): nfsd: use ktime_get_seconds() for timestamps nfsd: print 64-bit timestamps in client_info_show nfsd: handle nfs3 timestamps as unsigned nfsd: use timespec64 in encode_time_delta nfsd: make 'boot_time' 64-bit wide nfsd: pass a 64-bit guardtime to nfsd_setattr() nfsd: use time64_t in nfsd_proc_setattr() check nfsd: fix delay timer on 32-bit architectures nfsd: fix jiffies/time_t mixup in LRU list nfsd: use boottime for lease expiry calculation nfsd: use ktime_get_real_seconds() in nfs4_verifier nfsd: remove nfs4_reset_lease() declarations Chen Zhou (1): nfsd: make nfsd_filecache_wq variable static Dan Carpenter (2): nfsd: unlock on error in manage_cpntf_state() nfsd4: fix double free in nfsd4_do_async_copy() J. Bruce Fields (1): nfsd4: avoid NULL deference on strange COPY compounds Olga Kornievskaia (12): NFSD fill-in netloc4 structure NFSD add ca_source_server<> to COPY NFSD COPY_NOTIFY xdr NFSD add COPY_NOTIFY operation NFSD check stateids against copy stateids NFSD generalize nfsd4_compound_state flag names NFSD: allow inter server COPY to have a STALE source server fh NFSD add nfs4 inter ssc to nfsd4_copy NFSD fix mismatching type in nfsd4_set_netaddr NFSD: fix seqid in copy stateid NFSD fix nfserro errno mismatch NFSD fixing possible null pointer derefering in copy offload Roberto Bergantinos Corpas (1): sunrpc: expiry_time should be seconds not timeval Trond Myklebust (21): nfsd: Return the correct number of bytes written to the file nfsd: Clone should commit src file metadata too nfsd: fix filecache lookup nfsd: cleanup nfsd_file_lru_dispose() nfsd: Containerise filecache laundrette nfsd: Remove unused constant NFSD_FILE_LRU_RESCAN nfsd: Schedule the laundrette regularly irrespective of file errors nfsd: Reduce the number of calls to nfsd_file_gc() nfsd: Fix a soft lockup race in nfsd_file_mark_find_or_create() nfsd: Allow nfsd_vfs_write() to take the nfsd_file as an argument nfsd: Fix stable writes nfsd: Update the boot verifier on stable writes too. nfsd: Pass the nfsd_file as arguments to nfsd4_clone_file_range() nfsd: Ensure exclusion between CLONE and WRITE errors sunrpc: Fix potential leaks in sunrpc_cache_unhash() sunrpc: clean up cache entry add/remove from hashtable nfsd: Ensure sampling of the commit verifier is atomic with the commit nfsd: Ensure sampling of the write verifier is atomic with the write nfsd: Fix a perf warning nfsd: Define the file access mode enum for tracing nfsd: convert file cache to use over/underflow safe refcount zhengbin (4): nfsd4: Remove unneeded semicolon nfsd: use true,false for bool variable in vfs.c nfsd: use true,false for bool variable in nfs4proc.c nfsd: use true,false for bool variable in nfssvc.c fs/nfsd/Kconfig | 10 + fs/nfsd/filecache.c | 313 +++++++++++++++++++------- fs/nfsd/filecache.h | 7 +- fs/nfsd/netns.h | 6 +- fs/nfsd/nfs3proc.c | 5 +- fs/nfsd/nfs3xdr.c | 36 +-- fs/nfsd/nfs4callback.c | 11 +- fs/nfsd/nfs4layouts.c | 2 +- fs/nfsd/nfs4proc.c | 462 ++++++++++++++++++++++++++++++++++---- fs/nfsd/nfs4recover.c | 8 +- fs/nfsd/nfs4state.c | 262 ++++++++++++++++----- fs/nfsd/nfs4xdr.c | 161 ++++++++++++- fs/nfsd/nfsctl.c | 6 +- fs/nfsd/nfsd.h | 34 ++- fs/nfsd/nfsfh.h | 9 +- fs/nfsd/nfsproc.c | 8 +- fs/nfsd/nfssvc.c | 21 +- fs/nfsd/state.h | 44 +++- fs/nfsd/trace.h | 22 +- fs/nfsd/vfs.c | 109 ++++++--- fs/nfsd/vfs.h | 18 +- fs/nfsd/xdr3.h | 4 +- fs/nfsd/xdr4.h | 39 +++- net/sunrpc/auth_gss/svcauth_gss.c | 4 + net/sunrpc/cache.c | 48 ++-- 25 files changed, 1322 insertions(+), 327 deletions(-)