Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1301782rbb; Mon, 26 Feb 2024 05:26:44 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVaxFuJUuF/mAFPE4+xVgkyu8mp5BicapPxOsHxBWLmy29B5kZx5hWyMdTis6t2wC5M29qayzxeva57T82F0Rn+EmDRXqktxiiiDOuUIg== X-Google-Smtp-Source: AGHT+IHLtIAyiaSrR/RiIqQkNQdavMuLESEFovwGMELsPM5giX4ZmKlWe4SYajZbOMSpGLHloIkN X-Received: by 2002:a05:622a:408:b0:42e:8835:592b with SMTP id n8-20020a05622a040800b0042e8835592bmr2065519qtx.3.1708954003974; Mon, 26 Feb 2024 05:26:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708954003; cv=pass; d=google.com; s=arc-20160816; b=cjU8drf8hQAQlTdlC65G6eH2kCG6d0zEGIUe+2Hkx5EOPK7wV7P2fRm7G8Z2n5TH3B s/GE6LoJxhLmccdskqpSC+CNjb5tM8YW5pyhIp4zS/NfqOQykFJHbwtOEIm1wyZxaVmF yt2kooHLYcSaLwpXL4gDokTeRR+X0KiPNFdBCAdoej38NecUb+xMPNzubKQ+EHfj5Mm8 TfKJPH9P0CE52z1qQ1o8e7WXJFLY161EAxEhArWTbABSmJJkJtK/o/fWGgquAS0ZlVzG s7oABQaSsQsdrmi21E65dVqM1VnW/MkEEYAlNKAH56H7T1H7MKwHIw9Jp9o/ATglRsYw yUPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+cq3hzUEhbXThrvu7ftbcKy0Wd8FG0mI00L77ictR6s=; fh=IrswWLQdr8RUReWLOUl6bTv3Gs7y0bSQu4ieH1tZUiQ=; b=Az6HNvj9CM+GVydtyq8/eK3akwtYPUysbh49KwYdfWb843MNr2qkvKY7r9z18f3bMj iywTXyxMmK9sCWkkj79mnQ6HH8oXCupHFKvGSO9MfOpFYdwYuiygLDM4zkHqH+ZBQ8Aa kRkjCNMLmpmTYmoQNIlaD7ssnR0F9dCS9UGfMwPL1Y8eg9bH4mqZ8XYl4ELnqzH2TiG/ hSIMQFgF0L0FMZ/9vbVAM4UqeD7QNNXi+1ELC2hhiAFcOSpwV3kw0MV/SRkMCabPbq4g DAEAlBVMQ1OHzH5IoYFBBXd88poSA6qUyP6qJxpH+UCA7ORlAKfV9MY2n8wsrDQCsBmA EXKg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=eeBcRC4Y; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-81478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81478-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d13-20020ac847cd000000b0042e7a62d105si4028560qtr.703.2024.02.26.05.26.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 05:26:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=eeBcRC4Y; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-81478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81478-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 681AF1C284DC for ; Mon, 26 Feb 2024 13:26:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4405712838A; Mon, 26 Feb 2024 13:26:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="eeBcRC4Y" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 0B55D127B61; Mon, 26 Feb 2024 13:26:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708953994; cv=none; b=LrOOH+uCKjxREhGuwtNw3Tsw5d61OhQzI1sB2M2Ik5QODejixeJubBHIrUlLDUEQ5ONbexsOYu4tvYBjam5RSqTdgZ1b85H9+gxSt6MmzKtb/5vFUaSlPEoFyGn/JCQLeIHWgSLjbchxAnBpjvs97A0JYOU+Hr7kADGsvDb7/Wc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708953994; c=relaxed/simple; bh=rULkbO3lv9VzQqjPXfntDdnRWFC3fHDArj2MtMhmDIM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=eBd147tb2zhmuho1XF1XUN20o5RvoiQpmwwh8I+50ASqLwrAx5+eArUdp4cDxw6ieDeTi5MtpCzxiQ72ZY4dRda1KpGQfNX1tLGBtZ6cLCofBmvK1qbruGcqcrgFCA7M79hWrylBsdTeCg8jwZL6jbCLmfyZbnMSESbZXuFpT5s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=eeBcRC4Y; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org 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=+cq3hzUEhbXThrvu7ftbcKy0Wd8FG0mI00L77ictR6s=; b=eeBcRC4YHIM1lXSFhfDDRxapuW PdGoIztV67c2/pSrO1a13bqEIjN9KeeAornjhwyu+YHYNXvGnwfG9EZ0lM3RtED5g76Xn4S6HaGp4 aX75OImTQXT7D7NrOVljjlxaCOoqN/Z8MaOQFzULiELU6uFzc0LKf/6xtcHppDdp0XhZSEce2ny0r hTVK2GBpe0vdSvJYjEwLmA/zz6MdqV+L//IhNuurwa8vVzs+E36cL3FbWicohSuDTWy87kzTSI1kw 8zrAPIeBUxYBIVTkuK0HNFpz0sy1crOvU+DW8Q+eExiII0j/vmFCTkZ9Xt2EnFhknLZueT4CEL91L IY4m3JwA==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1reb02-0000000HFGx-3ek1; Mon, 26 Feb 2024 13:26:30 +0000 Date: Mon, 26 Feb 2024 13:26:30 +0000 From: Matthew Wilcox To: "Pankaj Raghav (Samsung)" Cc: linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, david@fromorbit.com, chandan.babu@oracle.com, akpm@linux-foundation.org, mcgrof@kernel.org, ziy@nvidia.com, hare@suse.de, djwong@kernel.org, gost.dev@samsung.com, linux-mm@kvack.org, Pankaj Raghav Subject: Re: [PATCH 13/13] xfs: enable block size larger than page size support Message-ID: References: <20240226094936.2677493-1-kernel@pankajraghav.com> <20240226094936.2677493-14-kernel@pankajraghav.com> Precedence: bulk X-Mailing-List: linux-kernel@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: <20240226094936.2677493-14-kernel@pankajraghav.com> On Mon, Feb 26, 2024 at 10:49:36AM +0100, Pankaj Raghav (Samsung) wrote: > @@ -1625,16 +1625,10 @@ 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; > +"EXPERIMENTAL: Filesystem with Large Block Size (%d bytes) enabled.", > + mp->m_sb.sb_blocksize); WARN seems a little high for this. xfs_notice() or xfs_info() would seem more appropriate: #define KERN_WARNING KERN_SOH "4" /* warning conditions */ #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */ #define KERN_INFO KERN_SOH "6" /* informational */