From nobody Wed Mar 08 09:19:23 2023 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PWmwd0CMQz3w8gm for ; Wed, 8 Mar 2023 09:19:29 +0000 (UTC) (envelope-from alexander.lochmann@tu-dortmund.de) Received: from unimail.uni-dortmund.de (mx1.hrz.uni-dortmund.de [129.217.128.51]) (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 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "unimail.tu-dortmund.de", Issuer "GEANT OV RSA CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PWmwb6gwgz3wSs for ; Wed, 8 Mar 2023 09:19:27 +0000 (UTC) (envelope-from alexander.lochmann@tu-dortmund.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tu-dortmund.de header.s=unimail header.b=CXlay1LB; spf=pass (mx1.freebsd.org: domain of alexander.lochmann@tu-dortmund.de designates 129.217.128.51 as permitted sender) smtp.mailfrom=alexander.lochmann@tu-dortmund.de; dmarc=none Received: from [172.16.45.13] (we0720.dip.tu-dresden.de [141.76.178.208]) (authenticated bits=0) by unimail.uni-dortmund.de (8.17.1.26/8.17.1.26) with ESMTPSA id 3289JNfG029075 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT); Wed, 8 Mar 2023 10:19:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tu-dortmund.de; s=unimail; t=1678267165; bh=gJSrKQ4R23UDILax+lrNaUYcgqhBnyQouNJVnodZuww=; h=Date:To:Cc:References:From:Subject:In-Reply-To; b=CXlay1LB2KmmbsUHLeaJe2xGZfc8zQQQ3bwPURmeirJv+KGCu70T7b6ufklxd92D1 CiziDOVSjIGH3FEkVRMt7KrC5Cn3F68K1A7Y4ALG1Etp1Xk3lZkLX6Hkj7+wzqvPSC s+p0W/KdUhRTQyFLqfKJJ0Tj2a/E1mmSJhHFknd8= Message-ID: Date: Wed, 8 Mar 2023 10:19:23 +0100 List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Content-Language: de-DE-1901, en-US To: Konstantin Belousov Cc: freebsd-fs@freebsd.org References: <45d84dae-0ca9-95ed-f6fd-8243797453ff@tu-dortmund.de> <8e8d9145-9ee1-195e-3dd3-4e3166ac8abb@tu-dortmund.de> <8e9ac2ec-6387-27b0-5cdc-1d61dbe2c831@tu-dortmund.de> <1743b9f5-69be-b775-fb57-92b8115d4a81@tu-dortmund.de> From: Alexander Lochmann Subject: Re: Understanding locking for buf In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------2ssSZobrK9CiBVMulevUPuTg" X-Spamd-Result: default: False [-7.29 / 15.00]; SIGNED_PGP(-2.00)[]; DWL_DNSWL_LOW(-1.00)[tu-dortmund.de:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.995]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; R_DKIM_ALLOW(-0.20)[tu-dortmund.de:s=unimail]; RCVD_IN_DNSWL_MED(-0.20)[129.217.128.51:from]; R_SPF_ALLOW(-0.20)[+ip4:129.217.128.0/24]; RWL_MAILSPIKE_GOOD(-0.10)[129.217.128.51:from]; MIME_BASE64_TEXT(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_NA(0.00)[tu-dortmund.de]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:680, ipnet:129.217.0.0/16, country:DE]; RCPT_COUNT_TWO(0.00)[2]; HAS_ATTACHMENT(0.00)[]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[tu-dortmund.de:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PWmwb6gwgz3wSs X-Spamd-Bar: ------- X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------2ssSZobrK9CiBVMulevUPuTg Content-Type: multipart/mixed; boundary="------------SVMpaQzUUO7nhTOXuQNxcB9h"; protected-headers="v1" From: Alexander Lochmann To: Konstantin Belousov Cc: freebsd-fs@freebsd.org Message-ID: Subject: Re: Understanding locking for buf References: <45d84dae-0ca9-95ed-f6fd-8243797453ff@tu-dortmund.de> <8e8d9145-9ee1-195e-3dd3-4e3166ac8abb@tu-dortmund.de> <8e9ac2ec-6387-27b0-5cdc-1d61dbe2c831@tu-dortmund.de> <1743b9f5-69be-b775-fb57-92b8115d4a81@tu-dortmund.de> In-Reply-To: --------------SVMpaQzUUO7nhTOXuQNxcB9h Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMDMuMDMuMjMgMDE6MTksIEtvbnN0YW50aW4gQmVsb3Vzb3Ygd3JvdGU6DQo+IEFsbCBp dCBtZWFucyBpdCB0aGF0IHRoZSBzdGF0aXN0aWMgb3V0cHV0IGJ5IG1vdW50IC12IHdvdWxk IGJlIHNvbWV3aGF0IG9mZg0KPiBpbiB0aGUgc3BsaXQgb2YgaW8g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mxvY2tlZCBieSB0aGUgd3JvbmcgY29udGV4dC4NCklzIHRoYXQgY29ycmVj dD8gQW0gSSBtaXNzaW5nIHNvbWV0aGluZz8NCg0KLSBBbGV4DQoNCg0KLS0gDQpUZWNobmlz Y2hlIFVuaXZlcnNpdMOkdCBEb3J0bXVuZA0KQ29tcHV0ZXIgU2NpZW5jZSBYSUkgLSBTeXN0 ZW0gU29mdHdhcmUgR3JvdXANCkFsZXhhbmRlciBMb2NobWFubiAgICAgICAgICAgICAgICBQ R1Aga2V5OiAweEJDM0VGNkZEDQpPdHRvLUhhaG4tU3RyLiAxNiAgICAgICAgICAgICAgICAg cGhvbmU6ICArNDkuMjMxLjc1NTYxNDENCkQtNDQyMjcgRG9ydG11bmQgICAgICAgICAgICAg ICAgICBmYXg6ICAgICs0OS4yMzEuNzU1NjExNg0KaHR0cHM6Ly9zeXMuY3MudHUtZG9ydG11 bmQuZGUvYWwNCg== --------------SVMpaQzUUO7nhTOXuQNxcB9h-- --------------2ssSZobrK9CiBVMulevUPuTg Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEElhZsUHzVP0dbkjCRWT7tBbw+9v0FAmQIUxsFAwAAAAAACgkQWT7tBbw+9v3i RA/+IOENe/6xz5SystdVdpEiTVysYFbFsJb5OW83BgJfIP30flga00TN87dsoALkC145i4DJU9fR j6OZigqze42ajLkXkFDzmEko6tiTTXA4iTegNTpymoJ/aVPJ0HVcSLzBiXHQtqYmBUgLCl1kf/mj qrkFeqQBau/rdaq8wPPJ0CcDKYaXnXNKJsPBl2sVEjRICyy7BtPOqapZWYYTAyipy4zohBVN64rj DIa33mAW1axhTbmZags9Se03Igp0/sEqnnrQR9IBNN9yeOO6vojSZSp8hOedo6mZp5CwAnBR55lM 7zybDBwtLsVdPCirWQnHWdtZUW/ZJgo2BqibYEdzO8VJgtZbyHu/G6TBULxueBRGRSkHOYveKlc8 gDmMtaBLJd3SLLhLxXnZimNE+471ReDJa8isfo7DaB5QdV+m30l8rcOJU0f3ICm7gjECOaYdW4bd hJAAUkOhwm7zNcZbn0uS6OgaTApt5T7GiLeEGCBgHtp1r6mk0Pk7EfIHnfyskU0VcGhIZ6Yaj4bw zaGDejKSpC4Wi59tyJqsrH3QrEdxCZtxDSU39ogspBwZVGI/3iSy4/B6DWzbGqNeKee0sJR8pxFa dPcJVyDDVAoR0jV+PzquyH2R4B44AIwT0ufMQUM5U6WJ3K4hfpb1M3c/Mq6h965xtNtfur4ky6ny 0Qk= =QbTL -----END PGP SIGNATURE----- --------------2ssSZobrK9CiBVMulevUPuTg--