From patchwork Fri Dec 22 13:02:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Howells X-Patchwork-Id: 13503331 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0525CC46CD8 for ; Fri, 22 Dec 2023 13:04:01 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 167F46B0078; Fri, 22 Dec 2023 08:04:01 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 117ED6B007E; Fri, 22 Dec 2023 08:04:01 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F226B6B0080; Fri, 22 Dec 2023 08:04:00 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id E13836B0078 for ; Fri, 22 Dec 2023 08:04:00 -0500 (EST) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 8EF73C08AA for ; Fri, 22 Dec 2023 13:04:00 +0000 (UTC) X-FDA: 81594471840.16.97DCFB1 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf05.hostedemail.com (Postfix) with ESMTP id 4046210033F for ; Fri, 22 Dec 2023 13:02:19 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=AUeXgah3; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf05.hostedemail.com: domain of dhowells@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1703250141; h=from:from:sender: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:dkim-signature; bh=2kygMq0mAMv991cW3YZ7Hd3ppnOgYBjhmi7vw/LesYI=; b=WyUWIJBbbWngdCnkq1mQk+NhEqmzm5URIQaqbGFJQeh4feZ7KCmhDkqqe4DrSQukpa3arz XjHhUynXodehSRedhiGi4fRISgv3tqxh6oG4evAnr/VNhn+V1hX3YRrylOdw13reThlBWg 8a1kNq2DCkXve0/tCFC9vqBMopLLxDQ= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=AUeXgah3; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf05.hostedemail.com: domain of dhowells@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1703250141; a=rsa-sha256; cv=none; b=4xpUpK2NEiyWPH0bWEpLgaByQtK1lIg1XXZfgIlagn+ecq5oVgUI6y8pAcT+UVb5tJrUK0 gsyKzkTIB7baArG0VYVe0tko2W6dKTGOzhfQjJmVJ33cAT1Jh8PBcAWLjOjCwfjiymykQV +3xRuyb8fYge9VLSppg0WqDwHm/PgJM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1703250139; 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=2kygMq0mAMv991cW3YZ7Hd3ppnOgYBjhmi7vw/LesYI=; b=AUeXgah3gt11aNqcrnlEwsD5GUF/U1tjp3obYGGIaEv4DxZvK9ZK/24QZpmY3ygQi5Eh73 ibgVL1xkS38F0Y0aznHguXX+Lcci8VmN3G0YhTviwCcw22rusXtZNRRLe1nDyI6oMSo+YY +GiPY0eFOL6iJs1CU6bDUGkP5f9AhbU= 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-15--QeBZETQMO6dAe6PTzC6cQ-1; Fri, 22 Dec 2023 08:02:12 -0500 X-MC-Unique: -QeBZETQMO6dAe6PTzC6cQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (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 5329D386914F; Fri, 22 Dec 2023 13:02:11 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.39.195.169]) by smtp.corp.redhat.com (Postfix) with ESMTP id 82A9251E3; Fri, 22 Dec 2023 13:02:07 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20231221132400.1601991-5-dhowells@redhat.com> References: <20231221132400.1601991-5-dhowells@redhat.com> <20231221132400.1601991-1-dhowells@redhat.com> To: Jeff Layton Cc: dhowells@redhat.com, Gao Xiang , Chao Yu , Yue Hu , Jeffle Xu , Steve French , Matthew Wilcox , Marc Dionne , Paulo Alcantara , Shyam Prasad N , Tom Talpey , Dominique Martinet , Eric Van Hensbergen , Ilya Dryomov , Christian Brauner , linux-cachefs@redhat.com, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-erofs@lists.ozlabs.org Subject: [PATCH] Fix EROFS Kconfig MIME-Version: 1.0 Content-ID: <2265064.1703250126.1@warthog.procyon.org.uk> Date: Fri, 22 Dec 2023 13:02:06 +0000 Message-ID: <2265065.1703250126@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Rspamd-Queue-Id: 4046210033F X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: zjwwg7poxe5ai9sr6ege5x11m9uwaskn X-HE-Tag: 1703250139-495932 X-HE-Meta: U2FsdGVkX19y6Xqtd1iIGmMwjVTCvjx8XhWEVZDXGxjJVM/S497N8jKmlRCP5LiR6cZf1lrWO20q6XJ2qDJMnrrXIVpdWfBYnCtQmj5fu1XLOy9hjQcDJeJPnkWAvLpZbfDB40jaCkeLJe7v9sgLVkBqEosOy6DeKvIvUXAZ7UMax7CE489dyfnZskhUSnDIOfpArN/9v2YAhm3h72itYof0xPUUIfbc5B1ZISBWVvxePUsOZcqGE+YtLKCatrfgcIK/JO/jxMGhaI3OfyTshaueihvRaD1KiCibwvU/3J6jiELxj+/BXSVibkPq6vf4P0lMIeUfEVBShlnGbAS+0fCBd5SZPzDrGzdF6zJnlgHzAVaMms++aP8VGxR+/HWexYrd7oHIaTkqGvuSzzN3bLKaROKzBVAyv0gL4uInKQqM/RH0PnP+6dCz/Ybwf1MCIyoYxbr9goMneBx2RNkctlboArCubFCQz2DomyX2nT0igeNd0JXQ3SbPK8tJW1yGz5Xwyas3LJICmm6zDYecqWniSedogzU2sB9TzvdSanXYH3ldQ9dTzSI4aT1NTSMuW29lsBGoPv7GCZRFIOXI87N9oP0xGhJDQzuYZl/yTFuDwdTVy+Ns2SUGzoHIF0CRnKT6k+FtexnkT+Ih77PRCzcD+NPP31TJOQuGZbDSfFwH8AiTyO+A68OudLaAOe9+mpUuogkggAwhLqBZJfB891lUsYz9eQ1eFRBST2SBiDYsWqkOcj9uJlr/h4/xfPtpOWTRROd22d+8MKHLa6aHVa+hf2jEPYYCDrNfh5TPSkjyqtj0Zs3SNxcJtjgvzLV0S2D6El2uZdfQ/FIuPwskQ7U3aJot/irbVDleQSGT1Sg= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: This needs an additional change (see attached). diff --git a/fs/erofs/Kconfig b/fs/erofs/Kconfig index 1d318f85232d..1949763e66aa 100644 --- a/fs/erofs/Kconfig +++ b/fs/erofs/Kconfig @@ -114,7 +114,8 @@ config EROFS_FS_ZIP_DEFLATE config EROFS_FS_ONDEMAND bool "EROFS fscache-based on-demand read support" - depends on CACHEFILES_ONDEMAND && (EROFS_FS=m && FSCACHE || EROFS_FS=y && FSCACHE=y) + depends on CACHEFILES_ONDEMAND && FSCACHE && \ + (EROFS_FS=m && NETFS_SUPPORT || EROFS_FS=y && NETFS_SUPPORT=y) default n help This permits EROFS to use fscache-backed data blobs with on-demand