[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zd0AGgE6nP9BUS5O@dread.disaster.area>
Date: Tue, 27 Feb 2024 08:18:18 +1100
From: Dave Chinner <david@...morbit.com>
To: Matthew Wilcox <willy@...radead.org>
Cc: "Pankaj Raghav (Samsung)" <kernel@...kajraghav.com>,
linux-xfs@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, chandan.babu@...cle.com,
akpm@...ux-foundation.org, mcgrof@...nel.org, ziy@...dia.com,
hare@...e.de, djwong@...nel.org, gost.dev@...sung.com,
linux-mm@...ck.org, Pankaj Raghav <p.raghav@...sung.com>
Subject: Re: [PATCH 13/13] xfs: enable block size larger than page size
support
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@...morbit.com
Powered by blists - more mailing lists