From nobody Fri Mar 24 01:33:02 2023 X-Original-To: freebsd-hackers@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 4PjPqy1S4Gz40sJP for ; Fri, 24 Mar 2023 01:33:50 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PjPqy0p4Yz3lsZ; Fri, 24 Mar 2023 01:33:50 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679621630; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fGg4jS0xg0e9U6Vb2ikv315gQdLK/n0qzmxyc8FNtCs=; b=yoEr6l7vJdreOFotUT/hNyR6881UD4rrWduBpcemKILLdlLBcOwHrXbVb0MqAafIDZf0FB kdx8F6YjhqgpsT151WeZa4zwkJY2UyjXM7XSTHvokm+pdUeGRCGCYs36q8fgR2oyqpjxFN meKvLoULyQCV7G4AGmNvtOxl3zt1aJYeDRq0MDH6J5EQ5JVZTFRKPFUzw6nGKFIre5dGJp VUkje9Nky2/wTwcEWFocX62ZiGXA7dJVQOrGr5//jK3jz0XOMJ67uOpx6k3W+zkLGZaKlV xvHegxbzJSa8rEhXjbw3LMGFFreT6xlBGAURWJLqUlSTvOuztbl4i1oLJWfOMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679621630; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fGg4jS0xg0e9U6Vb2ikv315gQdLK/n0qzmxyc8FNtCs=; b=Gd8zAvOd78IWPk17rGXHrnY7HCmw+FdcfJw2udzMK7biz1gsy85zansH8dDiBDCJO/sSXO bBbCI3759wdNASbDhcJrsMELqrpJTLUsImPy/8ZW8s/ZsWA5gj/muIxQ3MpnHfQSwab/af qqPddfYYPZZv8eukD10FIbZJslUcp8Kj9/96yOc7LaN9zIJ2bNrKy5IbiTZIGGr1IaUN3n IDowe5UtGxO0+pkovbdkFLiXmXt59+GrlTnpbfs9SjmV49eJ/YuFUwHgA5DXjGqa7I6qN+ mhByLFd6/K1CSybsF47bm0gDv0wsqHxkctCa1A34V1mVad5qElwn4/nGj/v2zg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679621630; a=rsa-sha256; cv=none; b=FgCTxi9zE0fs0tvSUUUxoMeceiDmh664XRGhBfY8ALDHxA6jNWy7QCplQYu3++Ko48UC8X hQVEhLh/qgAW0iWiQhGLHPGfeOhQOHbmeYrrMVlNaRGppMoyCYF5l8d2K/JN0koJLtvpyV M/cnZu+E+S3s0NbJrC9biCr+yXhFksKHjb7NTgRYAGUcrj6iaelwR/RlfMfnPh29Tm3xQo CGfgEaczGNpmLuMEgJFIJ2mN5mLmBt9T+5jm6+DBOnja7dsYl4g2xDgvIhqVcMYW47HPkf uFg2eUeyAFT90wZJ+JxnZ5ScOYGVSRDRBu84+xncmSBiHcpiA1Cxj73tZschZg== Received: from smtpclient.apple (ns1.oxydns.net [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PjPqw4t0VzmtM; Fri, 24 Mar 2023 01:33:48 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Content-Type: text/plain; charset=us-ascii List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.2\)) Subject: Re: poudriere, zfs and atime From: Zhenlei Huang In-Reply-To: Date: Fri, 24 Mar 2023 09:33:02 +0800 Cc: freebsd-hackers@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <4FC801C2-038A-4ACC-A1AD-F6B91D9C1246@FreeBSD.org> References: To: void X-Mailer: Apple Mail (2.3696.120.41.1.2) X-ThisMailContainsUnwantedMimeParts: N > On Mar 24, 2023, at 9:13 AM, void wrote: > > Is it ok to set atime=off on filesystems used by things updating > frequently, in this context it's git & poudriere on zfs? I know > /var/mail needs it to be on, not sure about git & poudriere. > thanks, > -- > `atime` on my build machine: zroot atime off local zroot/ROOT atime off inherited from zroot zroot/ROOT/default atime off inherited from zroot zroot/tmp atime off inherited from zroot zroot/usr atime off inherited from zroot zroot/usr/home atime off inherited from zroot zroot/usr/ports atime off inherited from zroot zroot/usr/src atime off inherited from zroot zroot/var atime off inherited from zroot zroot/var/audit atime off inherited from zroot zroot/var/crash atime off inherited from zroot zroot/var/log atime off inherited from zroot zroot/var/mail atime on local zroot/var/tmp atime off inherited from zroot I think is OK to turn off `atime` for git usage. I've never encountered any problem with if off during daily build (mainly kernel build). I'm not familiar with poudriere. Do you have any issues with it? Best regards, Zhenlei