Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2095215rdb; Thu, 7 Dec 2023 19:30:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IHr6bUBS0+eCPbfv+N/g4tqAAqEwFh4wgnF7LNJx1fNj9BfOZvGOdjI+ailiU/5hyrrEs/2 X-Received: by 2002:a05:620a:6788:b0:777:1d46:fd4a with SMTP id rr8-20020a05620a678800b007771d46fd4amr2013934qkn.29.1702006240578; Thu, 07 Dec 2023 19:30:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702006240; cv=none; d=google.com; s=arc-20160816; b=HYFkYU2B/fDZXxbUuGKA3lqwiqMo5VqmifGqRUM4A9aAbTewnj6iriAE40ZaJWXOFo RunVFYA4J0Xu4c+jjPBadB9G8XV5ATCGT4q62DcBHGUxOmGbz/RKnz4jO9wVhM+FodJU PYnQfm6gnJTx8MDSkMLKhp+Jhq6P1+rKn7X824Lm137hjfDRl8POKSzqSPEAc10KK01B ucuUOPvYaszPN1Qb4oxRGzo25iV84sJZceW78yeyzjAtM07Gr4QpIotnXuHoBfd5x7xC k1NoBcY/Nq5SBDBEUU4gWYbInOEdgwEkq3K479MDLAoyFtSeyfHBSAPn3zeAUBnLDrLF V0dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=G65Y4qEgiFs5r1auMT4tyTQhiN2SiYTb+GC96Qccm+g=; fh=I45k8M33HW2Wqj1OlgncPyvUt41clxPTDAFs+9Wisus=; b=vufjjy/AE5SDRhK8QPtPtgcUgaH26W/dMBAUQd+lCpMBb+iZ2Efg6sKowi5ZkxvEUB RDtTMv3ALxbrE7Q8EnQN6ZEFzomqsWv1btfiBb8oX+3m0OU5mtpZ+4D7SPY4el9NwkZa AE+57OuBmzj1A29GASR7SnxpmadMTxfCmVr5S4xWWKODJ8Jw4IU0md8qrXpqZ78vdoP2 7XSraNZaQtPLzB3iIg6ekSToJza3pB+I5p1HA1jQmPNALlw+pMF4oEbqJcTzJiFNKmp8 DMQNAcHWw8QXF6wmEQvzi77PHMj7CbWyly7MFD9A/tkRWizxxzEn+ZNMeOeX8aYd3mCx 4eCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=QqJJjPVi; dkim=neutral (no key) header.i=@suse.de header.b=NuiDxDxa; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=QqJJjPVi; dkim=neutral (no key) header.i=@suse.de header.b=NuiDxDxa; spf=pass (google.com: domain of linux-nfs+bounces-457-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-457-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t19-20020a05620a451300b0077d63b7dfdesi1287327qkp.113.2023.12.07.19.30.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 19:30:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-457-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=QqJJjPVi; dkim=neutral (no key) header.i=@suse.de header.b=NuiDxDxa; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=QqJJjPVi; dkim=neutral (no key) header.i=@suse.de header.b=NuiDxDxa; spf=pass (google.com: domain of linux-nfs+bounces-457-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-457-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5959C1C20C90 for ; Fri, 8 Dec 2023 03:30:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD905442D; Fri, 8 Dec 2023 03:30:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="QqJJjPVi"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="NuiDxDxa"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="QqJJjPVi"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="NuiDxDxa" X-Original-To: linux-nfs@vger.kernel.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2a07:de40:b251:101:10:150:64:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FD7E1716; Thu, 7 Dec 2023 19:30:30 -0800 (PST) Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 6FD241FD97; Fri, 8 Dec 2023 03:30:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702006229; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=G65Y4qEgiFs5r1auMT4tyTQhiN2SiYTb+GC96Qccm+g=; b=QqJJjPVi8L132GZQCf9Mjg4qHmcrXYlzYlU0DUuZ/CNjEeG/g/4jCnoDTq0VPA4h42/djF WA4ez4vqERGV49PtRqCLw1ob0Oc4JoAyuOgA6mvx/jTIRRvE6VQGb7blpiovuLYSRRVbRM /dXYFTepmmr13rL3so9HLP/GCV/557s= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702006229; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=G65Y4qEgiFs5r1auMT4tyTQhiN2SiYTb+GC96Qccm+g=; b=NuiDxDxaPzIHywKsjWJ7egknyJgVFHbzTDAMaKPhLbLzE0V4XEebt5Rn6wlcw/fDbhoW4M UZVCk9lYJgtoGBBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702006229; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=G65Y4qEgiFs5r1auMT4tyTQhiN2SiYTb+GC96Qccm+g=; b=QqJJjPVi8L132GZQCf9Mjg4qHmcrXYlzYlU0DUuZ/CNjEeG/g/4jCnoDTq0VPA4h42/djF WA4ez4vqERGV49PtRqCLw1ob0Oc4JoAyuOgA6mvx/jTIRRvE6VQGb7blpiovuLYSRRVbRM /dXYFTepmmr13rL3so9HLP/GCV/557s= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702006229; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=G65Y4qEgiFs5r1auMT4tyTQhiN2SiYTb+GC96Qccm+g=; b=NuiDxDxaPzIHywKsjWJ7egknyJgVFHbzTDAMaKPhLbLzE0V4XEebt5Rn6wlcw/fDbhoW4M UZVCk9lYJgtoGBBw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 4A88E13725; Fri, 8 Dec 2023 03:30:24 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id 9ogpN9CNcmXwMAAAD6G6ig (envelope-from ); Fri, 08 Dec 2023 03:30:24 +0000 From: NeilBrown To: Al Viro , Christian Brauner , Jens Axboe , Oleg Nesterov , Chuck Lever , Jeff Layton Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org Subject: [PATCH 0/3] nfsd: fully close all files in the nfsd threads Date: Fri, 8 Dec 2023 14:27:25 +1100 Message-ID: <20231208033006.5546-1-neilb@suse.de> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 3.70 Authentication-Results: smtp-out2.suse.de; none X-Spam-Score: 3.70 X-Spamd-Result: default: False [3.70 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; BROKEN_CONTENT_TYPE(1.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-0.983]; RCPT_COUNT_SEVEN(0.00)[9]; MID_CONTAINS_FROM(1.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.00)[40.26%] X-Spam-Flag: NO 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. Thanks, NeilBrown [PATCH 1/3] nfsd: use __fput_sync() to avoid delayed closing of [PATCH 2/3] nfsd: Don't leave work of closing files to a work queue. [PATCH 3/3] VFS: don't export flush_delayed_fput().