From nobody Mon Jul 13 03:10:27 2026 X-Original-To: dev-commits-src-main@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 4gz6rf0GD9z6lQT9 for ; Mon, 13 Jul 2026 03:10:42 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gz6rc6tX0z3RgN for ; Mon, 13 Jul 2026 03:10:40 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of jrtc27@jrtc27.com designates 209.85.128.41 as permitted sender) smtp.mailfrom=jrtc27@jrtc27.com Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-493f60208a5so21906525e9.3 for ; Sun, 12 Jul 2026 20:10:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783912239; x=1784517039; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:content-type:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=ihZCwkfpq9DkJfNHiBdImwMSdYAcHEVBfVO5nVMwhx0=; b=KI9NeQnUeiNrcNaF8joEpF3ePywcSo7d+nWQolWXrXheo007qZ8nutbOuzIMPBdPCW 9Cl+l7wCpheSjEpMfXMmCdDRHPZAFXfa/LzRF7seDH+yoXDPbzTgsRNUbwhjBlCbqFvw fKBW2e+f3XOQ6y1R/XicmDhbEenXkhUfJYCNZ6Lbtiii2srrw9Rb8AQWJDi4u6LJRPU+ dpKLKShxyok2ABFjIydl2NcBcXPfxNF91rlpu+wwCBdt6e69rE9fu5hK20FkOaY8o99g pXl7ZlgbCRaBXyrWK7bQfH9SkWTpXswVJw4aEkd89sY9PwMpqKLjDN1lkQEPl+OXiF+R WwHQ== X-Forwarded-Encrypted: i=1; AHgh+RpfvWXNO/9jOLVcMEv4mLhYdCk7cq5RpXaKdS+DslrHex/4XQTtqrDsW/XVsZ6kYfxbUqPevobxrrqOuWXRhj1PFpCumw==@freebsd.org X-Gm-Message-State: AOJu0YyGMKSMFsutaRS8VCOgcJSwRfuOJEfRacK3/JxjBlpBdEHe2c34 iplqiHwiDVXMUka8h0KRM/1zcaS4FkjFABB9nWOHLMeWUFowj5lapwDqH7TrFq5cUw4= X-Gm-Gg: AfdE7cmb3e7Ux7xL5Knoo1i2vOzlnbjyaunThe3ecgt9wvq1yfdSdRxC+anUJkQeLrD Axro9GlVt7PwCU0uroqMSmNBsgMeWnNqJHqahxeYoRCPJ4z3pUoaI1ZSlSPajYEFBzM5K/bvhAT juOuAE04T+aeWeVw7H+oBPKL7Jb6NX3PTwxqA5MFAXfpzNBSB2J7bcLjAG9agWMd2aKWZ7WgML6 2CAlykpQ52+DIIV/RPJlzPdh/7lTV01NUvkf1mQqFpZTJBOJtTFKRgMXKwiLGNZW37ZikcovHuI fmEYlMdSl+wOacG0QY1VANEvqrZv+qfMCfKlmjSVRfeAUVdqO3Zf4KbxhpFLKW8R81MrK3yqRtx Hi6wB2LttfKjVrRebjn1xqE5uXtVzfGBbd8iLZKzcBJB8zAR3+6JZ+xa3cfERkUtwvGShBf3m0A RkUWf42ILQZwuWvoRpz2IkZKE6zEPeDtFpa72xNJQic2W3zJnX/kZk+BRuqpw= X-Received: by 2002:a5d:64ee:0:b0:47d:e549:38d3 with SMTP id ffacd0b85a97d-47f2dca7e69mr7345541f8f.8.1783912239448; Sun, 12 Jul 2026 20:10:39 -0700 (PDT) Received: from smtpclient.apple (nat-184-161.net.cam.ac.uk. [131.111.184.161]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47a9e4d780csm81273163f8f.11.2026.07.12.20.10.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Jul 2026 20:10:38 -0700 (PDT) Content-Type: text/plain; charset=utf-8 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3893.100.7.1.1\)) Subject: Re: git: 74654ba3b1b3 - main - chflags: Add a new UF_DONTCACHE flag From: Jessica Clarke In-Reply-To: Date: Mon, 13 Jul 2026 04:10:27 +0100 Cc: Rick Macklem , "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <6a541966.431dc.60b8c30b@gitrepo.freebsd.org> <096439B9-863E-444B-A738-B4D8E8857657@freebsd.org> To: Rick Macklem X-Mailer: Apple Mail (2.3893.100.7.1.1) X-Spamd-Result: default: False [-2.21 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.81)[-0.814]; MV_CASE(0.50)[]; FORGED_SENDER(0.30)[jrtc27@freebsd.org,jrtc27@jrtc27.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; FREEFALL_USER(0.00)[jrtc27]; MIME_TRACE(0.00)[0:+]; FREEMAIL_TO(0.00)[gmail.com]; TO_DN_EQ_ADDR_SOME(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.128.41:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[dev-commits-src-main@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_NEQ_ENVFROM(0.00)[jrtc27@freebsd.org,jrtc27@jrtc27.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-src-main@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.128.41:from]; TAGGED_RCPT(0.00)[]; RCPT_COUNT_FIVE(0.00)[5] X-Rspamd-Queue-Id: 4gz6rc6tX0z3RgN X-Spamd-Bar: -- On 13 Jul 2026, at 03:56, Rick Macklem wrote: >=20 > On Sun, Jul 12, 2026 at 7:19=E2=80=AFPM Jessica Clarke = wrote: >>=20 >> CAUTION: This email originated from outside of the University of = Guelph. Do not click links or open attachments unless you recognize the = sender and know the content is safe. If you are unsure, forward the = message to ITHelp@uoguelph.ca for review. >>=20 >>=20 >> On 12 Jul 2026, at 23:47, Rick Macklem wrote: >>>=20 >>> The branch main has been updated by rmacklem: >>>=20 >>> URL: = https://cgit.FreeBSD.org/src/commit/?id=3D74654ba3b1b3bcf6ba8870a54310accb= b6adbf0b >>>=20 >>> commit 74654ba3b1b3bcf6ba8870a54310accbb6adbf0b >>> Author: Rick Macklem >>> AuthorDate: 2026-07-12 22:45:28 +0000 >>> Commit: Rick Macklem >>> CommitDate: 2026-07-12 22:45:28 +0000 >>>=20 >>> chflags: Add a new UF_DONTCACHE flag >>>=20 >>> This internet draft (which is close to being an RFC) >>> specifies a new NFSv4.2 attribute which tells the NFSv4.2 >>> client to not cache file data. (Similar to O_DIRECT, but >>> triggered by this attribute set on the file on the NFSv4.2 >>> server and not by the application's open(2).) >>>=20 >>> = https://datatracker.ietf.org/doc/draft-ietf-nfsv4-uncacheable-files/ >>>=20 >>> This patch adds a new chflags(1) flag called UF_DONTCACHE to >>> implement this. >>>=20 >>> Patches for NFS and ZFS will be done separately. >>>=20 >>> Reviewed by: kib >>> MFC after: 2 weeks >>> Differential Revision: https://reviews.freebsd.org/D58181 >>> --- >>> lib/libc/gen/strtofflags.c | 4 +++- >>> sys/fs/tmpfs/tmpfs_subr.c | 2 +- >>> sys/sys/stat.h | 1 + >>> sys/ufs/ufs/ufs_vnops.c | 2 +- >>> 4 files changed, 6 insertions(+), 3 deletions(-) >>>=20 >>> diff --git a/lib/libc/gen/strtofflags.c b/lib/libc/gen/strtofflags.c >>> index 73b4db54ccdd..ca12401c37e5 100644 >>> --- a/lib/libc/gen/strtofflags.c >>> +++ b/lib/libc/gen/strtofflags.c >>> @@ -80,7 +80,9 @@ static struct { >>> { "nosparse", 0, UF_SPARSE }, >>> { "nousparse", 0, UF_SPARSE }, >>> { "nosystem", 0, UF_SYSTEM }, >>> - { "nousystem", 0, UF_SYSTEM } >>> + { "nousystem", 0, UF_SYSTEM }, >>> + { "nodontcache", 0, UF_DONTCACHE }, >>> + { "noudontcache", 0, UF_DONTCACHE } >>=20 >> Hi Rick, >> This breaks cross-building from Linux; please fix or revert. >>=20 >> (This is a bootstrap file for use with makefs) > I'll revert it, but I have no idea what you are talking about. Thank you. For reference: = https://docs.freebsd.org/en/books/handbook/cutting-edge/#building-on-non-f= reebsd-hosts And the failing GitHub Actions job that tests every push: = https://github.com/freebsd/freebsd-src/actions/runs/29212286112/job/867019= 32770 Presumably the tools/build/cross-build/include/linux/sys/stat.h = compatibility shim just needs to grow a new define, but it=E2=80=99s too = late here to get into checking if there are other issues or not. If you want to test an updated patch, you can file a pull request = against the official GitHub repository and all the GitHub Actions will = run on it. Jessica