Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2377550rdb; Fri, 8 Dec 2023 06:33:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGXjEALIQPcwItXehFgqMPRFLBkwftFAXMBJxOpGKVCv9eA33hKnbEJ02n2/YCxAMvA1Hd7 X-Received: by 2002:a17:902:eb8e:b0:1cf:d8c5:22a8 with SMTP id q14-20020a170902eb8e00b001cfd8c522a8mr249156plg.21.1702045995863; Fri, 08 Dec 2023 06:33:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702045995; cv=none; d=google.com; s=arc-20160816; b=MdQYICvVmS2FY8q8GJ7FpRD85IoqyGOy9/3zn5zryctdea5XwlOofYET/3sXV5G7rX fXbm24yxGf/XdGI2mXfl+8uGZCJ/L5w12IZE/Azimoz9jIoC+JtSmA/LXZXImooygby8 sOy5eGDH5HDf6TlxBmlY7itHhOH/rmG7ZW25O2oGTK74+QSb8CLM361Z0ObkdRMHj6QV 78r4e9l3tbRy8gsiRta7ma9+mzsKc2tLH19nzJPW2TG6fMoxl9OxkMWpoy5xetp/T0Bq zdSrtssCmWWjtOlWBmLnQdtD5WkOntBRP6AYkfV2Jx5pd38v2FeYC+4EKg+yDARcPrOS G1yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=FhKB2NnA3QfPl8JS/+/Dz6ofNDQVrqehkPOlELsJS+E=; fh=GX2GuJok63y3CNuHv5gCM9H5bRRQkHtXw3SDTId5ouM=; b=zLjUX+Mh5opSs/p/jXGe8rx98zIh5SGPQL2pkR4eRv9BUgIGzO5pNuAYDbuQKx/rso lCCjFXSknz86Pjn5k0IRThy1hs1ZQQFTco4bRudyzDBw631LAwYYDr+807z5q7XBQU02 085DOLOTTwQ/1FipvgYAxadIj+sBInOq/pdDxCxvpkGyh+4AmJ6sX3hwmwUVyre2t94a 51NPSyrbMDUWI+jvBlUjl3wylXZ6EbTeOLdZGeXSYGv4xKX+e1TkpgzP+lXHJ1kTkevd 2pqwbronKC6wggGuVotfWeG1O0DMsGRdLikZDxKcDOJBuFAllErBTPClDnykrLq31hb/ vSsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=wIXkXK7V; spf=pass (google.com: domain of linux-nfs+bounces-464-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-464-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id c10-20020a170902d48a00b001d0d312bc2bsi1790348plg.377.2023.12.08.06.33.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 06:33:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-464-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=wIXkXK7V; spf=pass (google.com: domain of linux-nfs+bounces-464-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-464-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 287F4B20C88 for ; Fri, 8 Dec 2023 14:33:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B67D1E530; Fri, 8 Dec 2023 14:33:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="wIXkXK7V" X-Original-To: linux-nfs@vger.kernel.org Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 857F21996 for ; Fri, 8 Dec 2023 06:33:03 -0800 (PST) Received: by mail-il1-x12f.google.com with SMTP id e9e14a558f8ab-35d7ccadf6aso1386285ab.1 for ; Fri, 08 Dec 2023 06:33:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1702045983; x=1702650783; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=FhKB2NnA3QfPl8JS/+/Dz6ofNDQVrqehkPOlELsJS+E=; b=wIXkXK7VclHcncaay17vBIRE/l0+1pJHu5VoCf8i6xUTgwTwH2Zd/fbWG0xePZGEaY P2Sk7Np3sQD4oAsQ4lrxNMoK9bPRsm4yMn2in+J4P3jgcOZ4Y8ViQFHYhdAefAkUYMlA 41FNb4+QkHTnRMI2AvnRBNr03u8249/8vijuicNoFgjoi864Vls+ZvTSWZw8Aw8v3GCQ HyYIlUwfauNOfTlhvlvuo67dif5YmSPOTUa733pVhKVd70yJ8DHrWsnmi/NAgLMuh5c3 o6/dd06gj2ldBogaPImHJ5jdfT2O2Hf+w5+ppLli5wWong93Bvf0EnAMesra5Fs6nPmz chbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702045983; x=1702650783; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FhKB2NnA3QfPl8JS/+/Dz6ofNDQVrqehkPOlELsJS+E=; b=aOEm1goh676+MKzjdJnxf0MPb2JHPKD5XxYutN7r+uTWa4Z6Ls9RJcEbHcj7/fM2HP Scal06n62/EuE4Y5ugoYuoRMYXSmM605joWKErbXiUzz8VBZ0NLjKf38KcytlAvpQdER +2XNn8YO217eiKAcKws2iXkHYOvrczmrJT+bU18HyZ9jrE1zH9wd0L1ZTZRYQQmCmAfM JAswDtqFh0JfHSzAlQfNNpnDOC3gYPlLHIlZ1Q8comqohhq5P/cAQtA1Bqg1TRMehhct p3iwlljxXFAgWxEzi0+wBYB5xADL6XpFDKKEPVfnMCSXphaISboIPPe6kWk/Me29v8lT QnAA== X-Gm-Message-State: AOJu0YymMFNSc6gIlDNfFlnLkVBhKhy+Zd4LIx3rgVfuT0PbPce60cO1 WUcggo7YIUR6BGO3cMp7ujSheg== X-Received: by 2002:a6b:a0d:0:b0:7b6:f0b4:92aa with SMTP id z13-20020a6b0a0d000000b007b6f0b492aamr484458ioi.0.1702045982860; Fri, 08 Dec 2023 06:33:02 -0800 (PST) Received: from [192.168.1.116] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id h5-20020a02c725000000b0043167542398sm466537jao.141.2023.12.08.06.33.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 Dec 2023 06:33:01 -0800 (PST) Message-ID: <815dd284-14c7-4990-9ef7-41bd7087b724@kernel.dk> Date: Fri, 8 Dec 2023 07:33:00 -0700 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] nfsd: fully close all files in the nfsd threads Content-Language: en-US To: NeilBrown , Al Viro , Christian Brauner , Oleg Nesterov , Chuck Lever , Jeff Layton Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org References: <20231208033006.5546-1-neilb@suse.de> From: Jens Axboe In-Reply-To: <20231208033006.5546-1-neilb@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/7/23 8:27 PM, NeilBrown wrote: > This is a new version of my patches to address a rare problem with nfsd > closing files faster than __fput() can complete the close in a different > thread. > > This time I'm simply switching to __fput_sync(). I cannot see any > reason that this would be a problem, but if any else does and can show > me what I'm missing, I'd appreciate it. Much better than the previous attempts, imho. Reviewed-by: Jens Axboe -- Jens Axboe