Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp122019rdd; Wed, 22 Nov 2023 10:59:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IEuf6X0WIN2zmm0MinjZMRi9F6eq2ZPq0aATbTlu8Qb4NkI2qHFqBIiOxOAwEAC/P+/70mS X-Received: by 2002:a17:902:ea08:b0:1ca:8541:e1ea with SMTP id s8-20020a170902ea0800b001ca8541e1eamr3980690plg.0.1700679590822; Wed, 22 Nov 2023 10:59:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700679590; cv=none; d=google.com; s=arc-20160816; b=tVoIjJyJ6rCFIqyO2B1fKXr3TWUwes+IjF7NI2d+C/q9X4M++xgjoBANIpVAaibmb8 Bvr3h+uX6WGRHZUrX9VBP+QuFzP5cGiW/+8Yffm3mU33tHdVvxjqKRwE6CFP5Dl4wqMN JcH+/zaGDba4spXCIjeEGoGwcS8iqcU/1J91yyMLEmVHePaaOGlr79Pyaz2cDyoL2MGf faqNCNVa1pNJL6epBWbY1THBlpbUmco0avOMAgV1lA4fLE2mlIc/ZhqX3jhZ3KG5Y6Qc pbyxyg441dT5y4GlByow1C1MGzXZrj+nKSwgzoT1X/sCBIzxSZka+t0O9vtAfwtvUcJV MBsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:organization:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=yu0EALJyzNvNrhEohh6tL3kbeXQN0ie4Vy3+00zRtAA=; fh=esaA6U3lhyb6XzkjHa48D0VaeBWpav6RR9ZrimtR57s=; b=L8G+qtd0tNiI2NHiNpmY9RRc2goxfSTHulKII34xGpDQEeJLsGqyipcznBJAPeqbMy uYR+M9q6fuDbHgB6RB3s4avcOFq9sn3Tgad6iVWIEZZYVWj9IxKW+O26SvO8LAwY/8x2 neOdLsEJnrowMWsfwiZ/ubfnen+Jye4KE7xS9CBn2kCLul1GNrFSQBJPNwFvQhXokDNo iK0axf0ItZExBaUuEbIyMvwBqvXzi9biycqWX4i9PbVqlubKhRZ5jIYUqYufYB0l/H5N 4/+wMmMTesxS2OjqJ//AT7nFwW0iXwUKVIHcJ20qnjSsyU8z0AgOIgHwjINwqw9PG5pf qqDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@auristor.com header.s=MDaemon header.b=czSwMHrA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=auristor.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id l14-20020a170902f68e00b001ca27dfde3dsi15497plg.541.2023.11.22.10.59.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 10:59:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=fail header.i=@auristor.com header.s=MDaemon header.b=czSwMHrA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=auristor.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 0EFE6826ECAA; Wed, 22 Nov 2023 10:59:44 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344514AbjKVS7I (ORCPT + 99 others); Wed, 22 Nov 2023 13:59:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344323AbjKVS7H (ORCPT ); Wed, 22 Nov 2023 13:59:07 -0500 Received: from sequoia-grove.ad.secure-endpoints.com (sequoia-grove.ad.secure-endpoints.com [IPv6:2001:470:1f07:f77:70f5:c082:a96a:5685]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41A5393 for ; Wed, 22 Nov 2023 10:59:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/relaxed; d=auristor.com; s=MDaemon; r=y; t=1700679541; x=1701284341; i=jaltman@auristor.com; q=dns/txt; h=Message-ID:Date: MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:Organization:In-Reply-To:Content-Type; bh=yu0EALJyzNvNrhEohh6tL3kbeXQN0ie4Vy3+00zRtAA=; b=czSwMHrAuNGiA tsBxObG6aVgb3wV6FuVNQkNMPFai5Ngn+NG6y8rStO4Bsa1rsu+sUwgk+e6R/Xbw CEhLauLabcsEd6Nc4we4FfZCPv7VJBwOFiUbgm3SZAs9ZU6ZrtScOu4TGuMVQJ3v fdOnYaZu4IAvVwZEgz32VxK+tXKi1M= X-MDAV-Result: clean X-MDAV-Processed: sequoia-grove.ad.secure-endpoints.com, Wed, 22 Nov 2023 13:59:01 -0500 Received: from [IPV6:2603:7000:73d:6b00:c022:c2fb:d766:9f17] by auristor.com (IPv6:2001:470:1f07:f77:28d9:68fb:855d:c2a5) (MDaemon PRO v23.5.1d) with ESMTPSA id md5001003750147.msg; Wed, 22 Nov 2023 13:58:59 -0500 X-Spam-Processed: sequoia-grove.ad.secure-endpoints.com, Wed, 22 Nov 2023 13:58:59 -0500 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 2603:7000:73d:6b00:c022:c2fb:d766:9f17 X-MDHelo: [IPV6:2603:7000:73d:6b00:c022:c2fb:d766:9f17] X-MDArrival-Date: Wed, 22 Nov 2023 13:58:59 -0500 X-MDOrigin-Country: US, NA X-Authenticated-Sender: jaltman@auristor.com X-Return-Path: prvs=1690ec365b=jaltman@auristor.com X-Envelope-From: jaltman@auristor.com X-MDaemon-Deliver-To: linux-kernel@vger.kernel.org Message-ID: <931bf2cd-2690-4a2d-a34f-a49fbe696364@auristor.com> Date: Wed, 22 Nov 2023 13:58:51 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/5] afs: Miscellaneous small fixes To: David Howells , Marc Dionne Cc: linux-afs@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231116155312.156593-1-dhowells@redhat.com> Content-Language: en-US From: Jeffrey E Altman Organization: AuriStor, Inc. In-Reply-To: <20231116155312.156593-1-dhowells@redhat.com> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms010405080608070305060000" X-MDCFSigsAdded: auristor.com X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 22 Nov 2023 10:59:44 -0800 (PST) This is a cryptographically signed message in MIME format. --------------ms010405080608070305060000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/16/2023 10:53 AM, David Howells wrote: > Hi Marc, > > Here are a set of miscellaneous small fixes to the afs filesystem > including: > > (1) Fix the afs_server_list struct to be cleaned up with RCU. > > (2) Fix afs to translate a no-data result from a DNS lookup into ENOENT, > not EDESTADDRREQ for consistency with OpenAFS. > > (3) Fix afs to translate a negative DNS lookup result into ENOENT rather > than EDESTADDRREQ. > > (4) Fix file locking on R/O volumes to operate in local mode as the server > doesn't handle exclusive locks on such files. > > (5) Not a fix per se, but set SB_RDONLY on superblocks for RO and Backup > volumes so that the VFS can see that they're read only. > > The patches can be found here: > > https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=afs-fixes > > Thanks, > David > > David Howells (5): > afs: Fix afs_server_list to be cleaned up with RCU > afs: Make error on cell lookup failure consistent with OpenAFS > afs: Return ENOENT if no cell DNS record can be found > afs: Fix file locking on R/O volumes to operate in local mode > afs: Mark a superblock for an R/O or Backup volume as SB_RDONLY > > fs/afs/dynroot.c | 4 ++-- > fs/afs/internal.h | 1 + > fs/afs/server_list.c | 2 +- > fs/afs/super.c | 4 ++++ > fs/afs/vl_rotate.c | 10 ++++++++++ > 5 files changed, 18 insertions(+), 3 deletions(-) Reviewed-by: Jeffrey Altman --------------ms010405080608070305060000 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC DHEwggXSMIIEuqADAgECAhBAAYJpmi/rPn/F0fJyDlzMMA0GCSqGSIb3DQEBCwUAMDoxCzAJ BgNVBAYTAlVTMRIwEAYDVQQKEwlJZGVuVHJ1c3QxFzAVBgNVBAMTDlRydXN0SUQgQ0EgQTEz MB4XDTIyMDgwNDE2MDQ0OFoXDTI1MTAzMTE2MDM0OFowcDEvMC0GCgmSJomT8ixkAQETH0Ew MTQxMEQwMDAwMDE4MjY5OUEyRkQyMDAwMjMzQ0QxGTAXBgNVBAMTEEplZmZyZXkgRSBBbHRt YW4xFTATBgNVBAoTDEF1cmlTdG9yIEluYzELMAkGA1UEBhMCVVMwggEiMA0GCSqGSIb3DQEB AQUAA4IBDwAwggEKAoIBAQCkC7PKBBZnQqDKPtZPMLAy77zo2DPvwtGnd1hNjPvbXrpGxUb3 xHZRtv179LHKAOcsY2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