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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D543BEB64DB for ; Wed, 14 Jun 2023 13:53:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245204AbjFNNxz (ORCPT ); Wed, 14 Jun 2023 09:53:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245083AbjFNNxy (ORCPT ); Wed, 14 Jun 2023 09:53:54 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A748A6; Wed, 14 Jun 2023 06:53:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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; bh=BrKiZJ/7P5/xEOj2+1/+w23iGdbuRJcoaS4+TydPQrU=; b=iaVfzAFislHMvK4fgcYmEmftit zSer6ZD4amu8Fdm6wa+O8vMTfFneJYaM+AdziypCD/zY/RTsk8X82jEepoZPIJpJekz3sfvECo7Jb 8J86iS2YDuk6a4XkJS0b7NQtp2uxVuhpiypSXRwzVESAUCvqBOTg0UOUkXc95QHpQsLpNOVy9igfz 68qStwCEjF3XiQ+yailPKEWyCPdvXQ2v0OM9AVPaRxva87xatn4VUJpPnl6J/D3Ll3cNpgQbqCmF/ oVenZBP+RBREOUa29WQnrygaWSg+mWVKZZaNwQ/KX9anVQofdOSwrVsK+8A9j6qXz8utJllUJ9JY0 65z3PjCQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1q9QwZ-006O5L-B0; Wed, 14 Jun 2023 13:53:51 +0000 Date: Wed, 14 Jun 2023 14:53:51 +0100 From: Matthew Wilcox To: Hannes Reinecke Cc: linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, Andrew Morton , Christoph Hellwig , Luis Chamberlain Subject: Re: [PATCH 0/7] RFC: high-order folio support for I/O Message-ID: References: <20230614114637.89759-1-hare@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Wed, Jun 14, 2023 at 03:17:25PM +0200, Hannes Reinecke wrote: > Turns out that was quite easy to fix (just remove the check in > set_blocksize()), but now I get this: > > SGI XFS with ACLs, security attributes, quota, no debug enabled > XFS (ram0): File system with blocksize 16384 bytes. Only pagesize (4096) or > less will currently work. What happens if you just remove this hunk: +++ b/fs/xfs/xfs_super.c @@ -1583,18 +1583,6 @@ xfs_fs_fill_super( goto out_free_sb; } - /* - * Until this is fixed only page-sized or smaller data blocks work. - */ - if (mp->m_sb.sb_blocksize > PAGE_SIZE) { - xfs_warn(mp, - "File system with blocksize %d bytes. " - "Only pagesize (%ld) or less will currently work.", - mp->m_sb.sb_blocksize, PAGE_SIZE); - error = -ENOSYS; - goto out_free_sb; - } - /* Ensure this filesystem fits in the page cache limits */ if (xfs_sb_validate_fsb_count(&mp->m_sb, mp->m_sb.sb_dblocks) || xfs_sb_validate_fsb_count(&mp->m_sb, mp->m_sb.sb_rblocks)) {