Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1557502rbb; Mon, 26 Feb 2024 13:18:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV6cvIA73T1QuMy6XI1MsX2eN/PcvESvIxmK9dV1JHWauWblzsL84Pn42VexoFwOZRb1Y0XlIsRSrwymbSnOpeyDgWbj5GmKjw+jisUZg== X-Google-Smtp-Source: AGHT+IEQNCDjYzBU2OhU6x3AUC9EK3bHJWnmjC0LJcAYZVPa50KtpNFtdoI6IAPeNE4/F8dDozc7 X-Received: by 2002:aa7:d912:0:b0:565:6bbc:3834 with SMTP id a18-20020aa7d912000000b005656bbc3834mr5692012edr.32.1708982314316; Mon, 26 Feb 2024 13:18:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708982314; cv=pass; d=google.com; s=arc-20160816; b=nfRp1p0wjnl5CudDtk7i6L2wODUYLxOelNKjvuJjQ0j/zG1aJSuX9k72nvVT4FXUL0 HlPVlppO2V2r/kP3WadSElq22yGVwJCRN4DrNTv8m3DFdewgUD78XzaP0WwV5AhEHDL7 vgSdCfMw0ds+eScl2hMX4sCqpy53TCoGOPzkCj3XdgPi4dFZOAcphB6/j+PKvQJzpo5h tzyEvG5x0pNTAmIExQc/TlLkYKqW6JOFfqD14SubUVUltjy7B3L1wKZ6EKW2Phw+phEQ fgNReosrAhu/S3xFuaSD9lenFW/NUqPlXSnj9ahBjVvfAv7xDTzsVAL/POlf5ft3HB7Y grGg== 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=I9bpXPsVA2dblkxjM286LakoqzaJhRDzLGBOQQdyQhQ=; fh=GIX4JIpPCUKXx8MKZAvcZyqqPJpIaHGU138Tj8D7JmQ=; b=JfgukwG13L7QvFEv8sW0KDngwWXw028+joWxEJ7q0ahklgOsArdIaK9vSD74h5InZH b3Q3pevdG8HpxUVj6YgyB1uZr16yp+H86zZIb54U9jZVzZHuUPQhQakU8/qKl3ZoUQ3D pjVFpXUpImx64ARryCWRr54MRozduhvHx5OxBlxOwqikrWz56F4LmXVfW1dyGHcvW0A1 8FwXzEkiDGWRmjM/uOdRmQhWZXGIzfD7Zg5saeiFzseGI5LNLYLbdWqZEOKN7dm2/WNP UERUDh+r0i88IOrMzldTw7PWouuiap2uldAHvNEMDq6f9hR4YYD28/CXqDcPIKZJakb+ xFNQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fromorbit-com.20230601.gappssmtp.com header.s=20230601 header.b="a/5yuU3X"; arc=pass (i=1 spf=pass spfdomain=fromorbit.com dkim=pass dkdomain=fromorbit-com.20230601.gappssmtp.com dmarc=pass fromdomain=fromorbit.com); spf=pass (google.com: domain of linux-kernel+bounces-82330-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82330-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fromorbit.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x59-20020a50bac1000000b00565e360a5b4si101789ede.368.2024.02.26.13.18.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 13:18:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82330-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@fromorbit-com.20230601.gappssmtp.com header.s=20230601 header.b="a/5yuU3X"; arc=pass (i=1 spf=pass spfdomain=fromorbit.com dkim=pass dkdomain=fromorbit-com.20230601.gappssmtp.com dmarc=pass fromdomain=fromorbit.com); spf=pass (google.com: domain of linux-kernel+bounces-82330-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82330-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fromorbit.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 154541F25E88 for ; Mon, 26 Feb 2024 21:18:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CF7BF131758; Mon, 26 Feb 2024 21:18:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fromorbit-com.20230601.gappssmtp.com header.i=@fromorbit-com.20230601.gappssmtp.com header.b="a/5yuU3X" Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9214712C7F6 for ; Mon, 26 Feb 2024 21:18:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708982304; cv=none; b=O4Vwh+/iFbCqEhP9WRtBkDMJpCIO1UiseGfPUhqRFxgPDSJVSjVKeTSKd1IsBDwiD8+my2B49U7ZS65MMTlbSSODzmK8LDNnkGnltfUjpmJTd0CKtuyFE9OdEK32C6Q/JouZtNi8JbcJDrHXg0p2+IXYi3HY5HFEBUuvM36yxIo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708982304; c=relaxed/simple; bh=eaIp+fx10BWGs+4xS6PS0LUQ/7o+RRQRSzDpSW83ah4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LcMsJHV6FBfIaKElS7oEMmqVex+Z/kd4ovL0UHPczNlx8ZXKx7dvBhrBW0VzOj/wYe9XxQkAeJfSG07hOrfR8MkPc4Ik+cvaJdxCwDxY+G57gTpGQ2gnSJfSTyt/GQEkpQvYrJuIa/m8diaHP+XzHp6r9ew6A8+9H80OuvPBmCM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fromorbit.com; spf=pass smtp.mailfrom=fromorbit.com; dkim=pass (2048-bit key) header.d=fromorbit-com.20230601.gappssmtp.com header.i=@fromorbit-com.20230601.gappssmtp.com header.b=a/5yuU3X; arc=none smtp.client-ip=209.85.214.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fromorbit.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fromorbit.com Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1dca3951ad9so12933585ad.3 for ; Mon, 26 Feb 2024 13:18:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fromorbit-com.20230601.gappssmtp.com; s=20230601; t=1708982302; x=1709587102; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=I9bpXPsVA2dblkxjM286LakoqzaJhRDzLGBOQQdyQhQ=; b=a/5yuU3XTKNhRHnA1h5/96avhI9D7bcCM+PMtBGSEoo6fkYz9n7pN+iVQtN9yqMRWB t2gJc2NlJ0Tcnsjjupc6g7qIatR52QxiPDLqk+zyslJKPV+N/eKS1OLhUrOawQcuZHFv eWxm08Sk2F9ulhVVMpbVXhS4ge6O+PEvREgr7Qmof302Jh0ocq/ye9I74yL7cagphs9p 44IhjO/udqgVt1vygaciNe7QMSJjAcjkLX1znxvt2AA8tB7JT9fLTekq1dHES70Cbh4J 4RX1V3T22NcbUJmZqqDW/on3MmpF9tjtgzi66jfLk+u/5mUQZpd4838i1D5TOtOR3rrl 3WZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708982302; x=1709587102; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=I9bpXPsVA2dblkxjM286LakoqzaJhRDzLGBOQQdyQhQ=; b=kj/hyIV/1QUmaZ11DwZH5jSkN8HJzo1kip8cwPEKPXuC5jBa6HI9TqFg+tWaCEnfAt R9h1D8SoBWObu8AS1TmspI1og9/XFs7UXqHsUfcYTk+HRbgNv2G3C0N21VBFDwBI4zld Bx+WErSXmaD1i/6pzNUqdlZ51yZpl0bMvrC5S3JVcjIuVtLW4HP1tWk0YGunaxGhDKHZ 1Q3g5I+MFE8UN5RTX5z1aVNRAu17/uxIB51zmNUbTrX6fv3c1pLZ2P97t3J/HQEgiv30 ynTOg5Gymaj2+swUD1uuxuqTBzKqLqIWh0E1wVukvNzBGz+tjSoGE6Hs5/sy67gGgzl0 7pzg== X-Forwarded-Encrypted: i=1; AJvYcCU7eRE7xnAy3+LFMYPw8E7UUfVStPdBy51Hf/tziAvpHi2+IYls/b6YF3ofqbZqPPAusJhTtQIQ7cPFycHv+7HWS/t6wuuzVj/QLlJT X-Gm-Message-State: AOJu0YwXAtLbgCBAWrq2pBTCzfBKRzOwx7VWzASXmma3FSRIDxpGwYVg quJ7YlR9sqj7r89bo4x1TxNz0HX7JmZkExAp5ldsSYPKCTzcF2V+b31GudSK4KE= X-Received: by 2002:a17:903:32c6:b0:1dc:b3bb:480a with SMTP id i6-20020a17090332c600b001dcb3bb480amr1448955plr.49.1708982301931; Mon, 26 Feb 2024 13:18:21 -0800 (PST) Received: from dread.disaster.area (pa49-181-247-196.pa.nsw.optusnet.com.au. [49.181.247.196]) by smtp.gmail.com with ESMTPSA id y11-20020a170902d64b00b001db94bead0asm127599plh.193.2024.02.26.13.18.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 13:18:21 -0800 (PST) Received: from dave by dread.disaster.area with local (Exim 4.96) (envelope-from ) id 1reiMc-00Bv0s-2p; Tue, 27 Feb 2024 08:18:18 +1100 Date: Tue, 27 Feb 2024 08:18:18 +1100 From: Dave Chinner To: Matthew Wilcox Cc: "Pankaj Raghav (Samsung)" , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, 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: On Mon, Feb 26, 2024 at 01:26:30PM +0000, Matthew Wilcox wrote: > 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: Nope, warning level is correct and consistent with what we've used for these experimental warnings. xfs_warn(mp, "DAX enabled. Warning: EXPERIMENTAL, use at your own risk"); i.e. A message that says "Expect things not to work correctly in your filesystem" is definitely worth warning level meddaging. -Dave. -- Dave Chinner david@fromorbit.com