From nobody Wed Apr 20 16:20:33 2022 X-Original-To: freebsd-current@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 6115311D5DED for ; Wed, 20 Apr 2022 16:20:35 +0000 (UTC) (envelope-from ambrisko@ambrisko.com) Received: from mail2.ambrisko.com (mail2.ambrisko.com [70.91.206.91]) by mx1.freebsd.org (Postfix) with ESMTP id 4Kk5W63TXdz4Tgc for ; Wed, 20 Apr 2022 16:20:34 +0000 (UTC) (envelope-from ambrisko@ambrisko.com) IronPort-SDR: m/OyMYfGz1YuyPmZp8IBFF03aBy9KkA5kVzK2OWCZjhlNa+rFuVJlFPoX8KZkczUYNbeMpcGOU qFIjf1IeVwtxU5r+zfO43q7zkdHaIV5aY= X-Ambrisko-Me: Yes IronPort-Data: A9a23:3IZBhqzOUpcfSUVndOl6t+dMxirEfRIJ4+MujC+fZmUNrF6WrkVVy 2MXDTuHOqnfZWH9ettyYIyw9U9TsZGAmoUwSlc6qXw8FHgiRegppTi6wuYcGwvIc6UvdK/rh iknQoGowPocFxcwmz/2WlTfhSglvU23buqkYAL0EngZqT5MEE/Nuzo68wIKqtIAbeyCPu+4k YiaT/szmLOS82Uc3mo8s8pvof701Rj4kGtwUlcWPZinsLJC/pW84U92GE2/E5f4atE88u+SR uDfwau/92ef9hInENK+kbG9eUoPKlLQFVHf0DwPBfjk214YzsAx+v5T2P40YEJdkTSSnNdZw dBHr52rSgBvNarJ8AgYe0QBSXojZMWq/5eCexBTq/e75knLY3Lqz/h0JEU7PIEZ/Ol6GydI+ OBwAD4XYx2JnO7zy6+hUORqmuwtNsTmNpgT/HZ6wlnk4VwOKXzYa77H/8FVxm12j8VEB/fFZ M1fYj1qBCksqiZnYj8/YK/SVs/x7pUmWzEH+l+Tu4Qt5G3fkF543LT3aoOHc9mAX8ROnUGwr 2fM5WXiARZcP9uakGLX/nWpj+7JvCX6RINCSeXhp6Iy2AWelj4JFRkbdVqnuv3l2ESwbM1Sd h4P8S00oKlsqEHyFovhXwe1qWKvtwIHX4YCCPUz7QyAk/KG4wuQCmUeYCRGbdgq6J0/STAwj AbbltbjHz10s7q9QHeX7LaPrjT0Mi8QdDdQaSgBRAoDwt/ivIBj00qWH4o7SPa414SnFyvxz jaGqDkFq48S1cNbhb+m+V3ngi63osSbRAAC+QiKDHmu6Rl0ZdD5atXwu0Tb9/tJMK2QUkKF4 Cofg8Gb4e0DUcONmSiKTLlfFb2l/azcYjzanVN1GZAlsT2o8WSiZoNXpjp5IR4xYMoDfDboZ m7VuB9QtMILZSr2NfcvbtLjEdkuwIjhCc/hB6LdYdd5a5RscBOKoXN1bkmK0mGxyEUhzfMlN ZGAfZr+BHoWE/4/niG7XfkQy+VtzyU032LIRpe9xBOiiOLMaHmQQLYDEV2PcuFpsfvd8VmNq 45SZ5mQ1hFScOzieS2Go4ccIGcDIWU/GZ2r+ddccfSOI1Y+FWwsYxMLLWjNp2Cxc3xpq9r1 IronPort-HdrOrdr: A9a23:nSnYjK3PtqiswCLwGtR6AgqjBLIkLtp133Aq2lEZdPWaSK2lfu SV7ZMmPH7P+VIssR4b9exoVJPufZqYz+8S3WBzB8bGYOCFghrKEGgK1+KLqFDd8m/Fh4xgPM xbE5SWZuefMbBL5/yR3DWF Received: from server2.ambrisko.com (HELO internal.ambrisko.com) ([192.168.1.2]) by ironport2.ambrisko.com with ESMTP; 20 Apr 2022 08:17:09 -0700 Received: from ambrisko.com (localhost [127.0.0.1]) by internal.ambrisko.com (8.17.1/8.17.1) with ESMTPS id 23KGKXCH077049 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 20 Apr 2022 09:20:33 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) X-Authentication-Warning: internal.ambrisko.com: Host localhost [127.0.0.1] claimed to be ambrisko.com Received: (from ambrisko@localhost) by ambrisko.com (8.17.1/8.17.1/Submit) id 23KGKXYn077048; Wed, 20 Apr 2022 09:20:33 -0700 (PDT) (envelope-from ambrisko) Date: Wed, 20 Apr 2022 09:20:33 -0700 From: Doug Ambrisko To: Alexander Leidinger Cc: freebsd-current@freebsd.org Subject: Re: nullfs and ZFS issues Message-ID: References: <20220420113944.Horde.5qBL80-ikDLIWDIFVJ4VgzX@webmail.leidinger.net> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220420113944.Horde.5qBL80-ikDLIWDIFVJ4VgzX@webmail.leidinger.net> X-Rspamd-Queue-Id: 4Kk5W63TXdz4Tgc X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of ambrisko@ambrisko.com has no SPF policy when checking 70.91.206.91) smtp.mailfrom=ambrisko@ambrisko.com X-Spamd-Result: default: False [-0.37 / 15.00]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[ambrisko]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[ambrisko.com]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.62)[0.618]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.988]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-current]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7922, ipnet:70.88.0.0/14, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, Apr 20, 2022 at 11:39:44AM +0200, Alexander Leidinger wrote: | Quoting Doug Ambrisko (from Mon, 18 Apr 2022 | 16:32:38 -0700): | | > With nullfs, nocache and settings max vnodes to a low number I can | | Where is nocache documented? I don't see it in mount_nullfs(8), | mount(8) or nullfs(5). I didn't find it but it is in: src/sys/fs/nullfs/null_vfsops.c: if (vfs_getopt(mp->mnt_optnew, "nocache", NULL, NULL) == 0 || Also some file systems disable it via MNTK_NULL_NOCACHE | I tried a nullfs mount with nocache and it doesn't show up in the | output of "mount". Yep, I saw that as well. I could tell by dropping into ddb and then do a show mount on the FS and look at the count. That is why I added the vnode count to mount -v so I could see the usage without dropping into ddb. Doug A.