From nobody Wed Oct 26 00:44:07 2022 X-Original-To: dev-commits-src-all@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 4MxqnM6qShz4gWWM; Wed, 26 Oct 2022 00:44:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MxqnM5pgcz42Gm; Wed, 26 Oct 2022 00:44:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666745047; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pICbvxOzsf71wndeGRP0/Yy27RsrKK74HNRJZMVMObU=; b=gcAWrOIr4Bivn2JvAmtsHSZyx+q53prc9blGfc993TPqnXfyxxZ4L0dolD5tdIIk0A+HYF 3l2H2lQnK4qceU+3EIQag4B3M45zhWgNyAEWqAlXjhNdrOZpKK6P/oeYmTGq/558I9qWi9 dWl9G4vVTj4CS92eyJCr0ugCXH3a5lTitebJLim+HrHVIVPZNDhJgU4wEbQAYZAD8j48El 9HIS+9GVZwb+OOOQ2K9Hu7uo12DDnvbOpS3cISNTA6TrL/kLjMADo3BduPDVqUe7FnYpw0 4/ikCRmm9ThXOfOVk4ujx9xvTTM5lbAWsXgCeqH/dwR+j36/ZeDXxAWUBWVhzg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MxqnM4r95zy8G; Wed, 26 Oct 2022 00:44:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29Q0i7PJ029687; Wed, 26 Oct 2022 00:44:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29Q0i7GS029686; Wed, 26 Oct 2022 00:44:07 GMT (envelope-from git) Date: Wed, 26 Oct 2022 00:44:07 GMT Message-Id: <202210260044.29Q0i7GS029686@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 944ebd1775b2 - stable/13 - tmpfs: report minimal hole size List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 944ebd1775b2c411e7297f4b56d42b5a92b4cff5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666745047; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pICbvxOzsf71wndeGRP0/Yy27RsrKK74HNRJZMVMObU=; b=P4uXgirJ9whqshhQePMqKXGup70RUgZclqOlUBR6gyeLyGNpduvGmmVK65ksJMTSUDR/UA PNt/HaDyRuxqDoAQ+qF7G6Rhj+HoJXm0GWZCpEIp7/tEi4C19upYFpIH58Ta6wxXSnYVN+ +2zp55vnwstZ20W7MJMYUE+2P2Y91Yw5xVImO9NI9ptKu7hZjuXhwxbPoO5PAyDlFzSmgj ntCe7Wz3PA+BXaJvnfJPNSn+2Z9tNsym8Ryj/UUSGnYTdTrRdBGEhisS9bCkOu09idh4UD qbcOP3UhDW1cRXuh1kI4ArmSilbDQ7tYTVl9neww0KqaDS+APQAaZjrV7OgzEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666745047; a=rsa-sha256; cv=none; b=ky1BaFyYSRAD9WvAwzmtZFS/DopbgaDFdYj742sH+AhK5yRMrvCtpNjaaSqQwha+W4JMMI 3295eDpeuilJR2WFkX5524x4jz0TB/+kmmRNEb/mTC0BEo5VjJ+6qYWTebNJrda34EFRkH pM6wURvoMfbrv+CHFivRMI49IPWmcrkDttYK/QWZ6TKmtJNaf6jtWLle3cSTHqRSHgBnKE sGbVB1Jg8jNY3r6wQHWTYLcO2R/8XcPdWPZJNmXfaw0Z/44U0wH8ZA874VcPgoGdNDXdMg tRYUmZDL0tuKqcLEWsuDguDuYp3zSzbCsOu1fs2kbPGIpR04DQCiT+EjBE1QNQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=944ebd1775b2c411e7297f4b56d42b5a92b4cff5 commit 944ebd1775b2c411e7297f4b56d42b5a92b4cff5 Author: Konstantin Belousov AuthorDate: 2022-10-17 17:46:22 +0000 Commit: Konstantin Belousov CommitDate: 2022-10-26 00:43:43 +0000 tmpfs: report minimal hole size (cherry picked from commit e9adbcdf2e8000efaca404abcc904eec4eb4ae29) --- sys/fs/tmpfs/tmpfs_vnops.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c index 825e3571b599..f46c0ef9490f 100644 --- a/sys/fs/tmpfs/tmpfs_vnops.c +++ b/sys/fs/tmpfs/tmpfs_vnops.c @@ -1638,6 +1638,10 @@ tmpfs_pathconf(struct vop_pathconf_args *v) *retval = 64; break; + case _PC_MIN_HOLE_SIZE: + *retval = PAGE_SIZE; + break; + default: error = vop_stdpathconf(v); }