From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (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 E275E30BF6D; Wed, 13 May 2026 07:46:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778658377; cv=none; b=QZ+jjG8QDgtktUrbyp3pz4qljZYrZ9mO4uhhARJFCFsUKi57qv+KNY5JgjC7AeUmsIJF0XIgz3UgcYSP+p70S2OIh3WwawJl5onEmz+1XH5/z2aI6dD+NFjclKw1IfIhOcvQjy1Nj1zfQSvQTyl/YZzE//fwDFV/zrRlHpF8JXQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778658377; c=relaxed/simple; bh=UZSXOXRAL8kPEhm1dPm7Xpr01V9VYoK5WvLmNfNR94o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=eXa9uff5AEINLdLW1PxOhVQEgGcQBe1NxHAypEA3u7BTDf1gA33dUx++FxSbfJkLEjkFYjlw5cpT8yczkaHAtEWIGMkKz4seeFF+cb8Jc/u4jeRY5OE7MBhz5zoSDOn1eZtnkQbC5y7qzsk6Q6hu72TREsrzwLh0ujv05JiTZHQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id E742668C4E; Wed, 13 May 2026 09:46:08 +0200 (CEST) Date: Wed, 13 May 2026 09:46:08 +0200 From: Christoph Hellwig To: Damien Le Moal Cc: Christoph Hellwig , "Darrick J. Wong" , Andrew Morton , Chris Li , Kairui Song , Christian Brauner , Jens Axboe , David Sterba , Theodore Ts'o , Jaegeuk Kim , Chao Yu , Trond Myklebust , Anna Schumaker , Namjae Jeon , Hyunchul Lee , Steve French , Paulo Alcantara , Carlos Maiolino , Naohiro Aota , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-block@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org Subject: Re: [PATCH 09/12] swap: push down setting sis->bdev into ->swap_activate Message-ID: <20260513074608.GA3693@lst.de> References: <20260512053625.2950900-1-hch@lst.de> <20260512053625.2950900-10-hch@lst.de> <20260512170846.GJ9555@frogsfrogsfrogs> <20260513055806.GC1236@lst.de> Precedence: bulk X-Mailing-List: linux-btrfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) On Wed, May 13, 2026 at 04:44:53PM +0900, Damien Le Moal wrote: > Hmmm... With zonefs, swap files can be created on top of conventional zone > files. So enforcing "no swap on zoned device" here would break that. We can check that none of the extents fall onto sequential zones instead of just devices. I still wonder why you bother with swap to zonefs at all, though. From mboxrd@z Thu Jan 1 00:00:00 1970 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 lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 59F2DCD4851 for ; Wed, 13 May 2026 07:46:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Subject:In-Reply-To:MIME-Version:References:Message-ID:To:From:Date:Sender: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=GfsUGrMuJCG3a5DDBBYNDv+cy5CjEBzo1T8Fic2q6m4=; b=et/R6TE0uUerxuGDcVzc3ZUmDG XKBcPOSvzPfr3rcEyhNAmAdf9V8zHma624GaY2ZK7WkjkT/FTe+Tp1xBn6PS0cU9yQSPzuYYIFUL1 TyVlCMP3YH5ZXX/oCHTOqlyMX+OJCtOEh3xrKOghdYMAiPfyHp7Qqj/ZHuxQIHd+pUNg=; Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1wN4Ib-0003cY-NA; Wed, 13 May 2026 07:46:31 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1wN4IV-0003cM-CR for linux-f2fs-devel@lists.sourceforge.net; Wed, 13 May 2026 07:46:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=UZSXOXRAL8kPEhm1dPm7Xpr01V9VYoK5WvLmNfNR94o=; b=GuQhWTLUb5cbGHPSyE6XZM/L8W FAIIymdWtijJkwGS8JPHAThy9WkGUpoX3DCWcyJA1wl7C1s/pa2oBzOCdycJ5NJeK+sfzeuF2XtHl ClSjaIPplCTQRArt03uykm6nt9YSovAvpPjyjQgTAYlAJE08o7igBuVRC6uyTSu060pU=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=UZSXOXRAL8kPEhm1dPm7Xpr01V9VYoK5WvLmNfNR94o=; b=PkK5tZaOFM8Ps41Tj6PnUY1dYr 3ik/PaRAoo0FbvK1FMKIGqXx+PdrdeZmLfhQsRRQXF8/BVaPypzDWD3FWrqeUstBnMHuEe0k0vNSB Jz3HPFcU2ZBaTiaUiyu9v+b2kTK2Xe5mrnvErOP8JNqXHPyhTO48ySCOyD/cXZz50nhU=; Received: from verein.lst.de ([213.95.11.211]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1wN4IR-0002q2-39 for linux-f2fs-devel@lists.sourceforge.net; Wed, 13 May 2026 07:46:24 +0000 Received: by verein.lst.de (Postfix, from userid 2407) id E742668C4E; Wed, 13 May 2026 09:46:08 +0200 (CEST) Date: Wed, 13 May 2026 09:46:08 +0200 From: Christoph Hellwig To: Damien Le Moal Message-ID: <20260513074608.GA3693@lst.de> References: <20260512053625.2950900-1-hch@lst.de> <20260512053625.2950900-10-hch@lst.de> <20260512170846.GJ9555@frogsfrogsfrogs> <20260513055806.GC1236@lst.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Headers-End: 1wN4IR-0002q2-39 Subject: Re: [f2fs-dev] [PATCH 09/12] swap: push down setting sis->bdev into ->swap_activate X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paulo Alcantara , linux-doc@vger.kernel.org, "Darrick J. Wong" , Carlos Maiolino , Hyunchul Lee , linux-mm@kvack.org, Christoph Hellwig , Naohiro Aota , linux-xfs@vger.kernel.org, linux-ext4@vger.kernel.org, Namjae Jeon , Chris Li , linux-nfs@vger.kernel.org, linux-block@vger.kernel.org, David Sterba , Jaegeuk Kim , Jens Axboe , Christian Brauner , Kairui Song , Theodore Ts'o , linux-cifs@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, Steve French , linux-btrfs@vger.kernel.org, Anna Schumaker , linux-fsdevel@vger.kernel.org, Andrew Morton , Trond Myklebust Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On Wed, May 13, 2026 at 04:44:53PM +0900, Damien Le Moal wrote: > Hmmm... With zonefs, swap files can be created on top of conventional zone > files. So enforcing "no swap on zoned device" here would break that. We can check that none of the extents fall onto sequential zones instead of just devices. I still wonder why you bother with swap to zonefs at all, though. _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel