Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D622535A8 for ; Sat, 9 Mar 2024 23:36:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710027370; cv=none; b=VU19RNkcOa4mNzS6O3eY5DyvE8wNaoi5uWucwnYWevdlFaic0TUHdkfqyA+WzePhd0zRx2s0gMntb94+gKjYEcPo3sdtxXpsGMzznGDA2kQ1HAQpYHRBQ4HS2IcJT6e4FXYRUcLu2z54UGvyAO0weB//fwrVNQ8V66whaJfakko= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710027370; c=relaxed/simple; bh=tSQ72frM46PAEqHDaytkN+HWNx5qlyhXPYcALhT51i0=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=m8Y5fOwXdEHhMCgh5XuU+HafPB7kpN0wNKdlmnLFKYavUP/tJFEyLbRhUwWAQQOL+u7NU47XRT8H4ccuXRts9MBntroKsOy/AfVqqRsITswWNUjcr9KP1LNI0zJqxo+Mgzmuh3XWK9EijAeTWHp1ENwjb3OX9MYSD01XryOf5/k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Gy5HftaZ; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Gy5HftaZ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710027366; 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: in-reply-to:in-reply-to:references:references; bh=+KpYxGnha/XaSEOOwIrTO8Edj3R7BS7mQYrdKFIdHi8=; b=Gy5HftaZ4o8JDScCcTWsbzfEbcI88XPh9TTjR8ecHEriggYKlA6ysfL4rGFdhOG124uEZ8 sczw8cuuPiMU6VdawQ1hRoYzOPw0MtrB4CPTXd09B/jtFm1snR/KbHWttSVSEgcLBZqBMT U7VJTOlRye7xXOm4nxdNhs3jw/523fI= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-660-x-giOyv1MSaQztXrtZvkZA-1; Sat, 09 Mar 2024 18:36:04 -0500 X-MC-Unique: x-giOyv1MSaQztXrtZvkZA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 94D152803052 for ; Sat, 9 Mar 2024 23:36:04 +0000 (UTC) Received: from aion.redhat.com (unknown [10.22.16.116]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 87B7C1121312 for ; Sat, 9 Mar 2024 23:36:04 +0000 (UTC) Received: from aion.redhat.com (localhost [IPv6:::1]) by aion.redhat.com (Postfix) with ESMTP id 2F53C12D200 for ; Sat, 9 Mar 2024 18:36:04 -0500 (EST) From: Scott Mayhew To: kdevops@lists.linux.dev Subject: [PATCH v2 09/10] kconfigs: clean up Kconfig.bringup.goals Date: Sat, 9 Mar 2024 18:36:02 -0500 Message-ID: <20240309233603.1306533-10-smayhew@redhat.com> In-Reply-To: <20240309233603.1306533-1-smayhew@redhat.com> References: <20240309233603.1306533-1-smayhew@redhat.com> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true Move 'config KDEVOPS_SETUP_NFSD' and 'menu "Configure the kernel NFS server"' out of Kconfig.bringup.goals and into Kconfig.nfsd. This is simply to keep the top level kconfigs cleaner. Signed-off-by: Scott Mayhew --- kconfigs/Kconfig.bringup.goals | 12 ------------ kconfigs/Kconfig.nfsd | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/kconfigs/Kconfig.bringup.goals b/kconfigs/Kconfig.bringup.goals index 71948e9b..fc6af7f8 100644 --- a/kconfigs/Kconfig.bringup.goals +++ b/kconfigs/Kconfig.bringup.goals @@ -96,16 +96,4 @@ config KDEVOPS_SETUP_KTLS authority, and configure tlshd on the hosts to use it. This is necessary for testing RPC over TLS, or NVMe over TCP. -config KDEVOPS_SETUP_NFSD - bool "Set up the kernel nfs server" - default n - help - Configure and bring up the kernel NFS server. This will provision - a filesystem on a block device, mount it, export it and start up the - nfs server and associated daemons. - -if KDEVOPS_SETUP_NFSD -menu "Configure the kernel NFS server" source "kconfigs/Kconfig.nfsd" -endmenu -endif diff --git a/kconfigs/Kconfig.nfsd b/kconfigs/Kconfig.nfsd index db80d8c0..dec98c1e 100644 --- a/kconfigs/Kconfig.nfsd +++ b/kconfigs/Kconfig.nfsd @@ -1,4 +1,16 @@ # FIXME: need defaults for terraform hosts +config KDEVOPS_SETUP_NFSD + bool "Set up the kernel nfs server" + default n + help + Configure and bring up the kernel NFS server. This will provision + a filesystem on a block device, mount it, export it and start up the + nfs server and associated daemons. + +if KDEVOPS_SETUP_NFSD + +menu "Configure the kernel NFS server" + config NFSD_EXPORT_DEVICE_PREFIX string "The device prefix to use for LVM PVs" default "/dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_kdevops" if LIBVIRT && LIBVIRT_EXTRA_STORAGE_DRIVE_NVME @@ -70,3 +82,7 @@ config NFSD_LEASE_TIME allow a large client cohort enough time to recover their open and lock state. But a shorter lease time helps certain tests complete faster. + +endmenu + +endif -- 2.43.0