From: Andreas Gruenbacher <agruenba@redhat.com> To: Christoph Hellwig <hch@lst.de> Cc: "Darrick J . Wong" <darrick.wong@oracle.com>, linux-xfs@vger.kernel.org, linux-fsdevel <linux-fsdevel@vger.kernel.org>, cluster-devel <cluster-devel@redhat.com> Subject: Re: RFC: use the iomap writepage path in gfs2 Date: Mon, 8 Jul 2019 19:29:21 +0200 [thread overview] Message-ID: <CAHc6FU5942i0XrCjUAhR9NCmfLuu7_CoPXNDsdF0X+gCpF1cDQ@mail.gmail.com> (raw) In-Reply-To: <20190708160351.GA9871@lst.de> On Mon, 8 Jul 2019 at 18:04, Christoph Hellwig <hch@lst.de> wrote: > On Thu, Jul 04, 2019 at 12:35:41AM +0200, Andreas Gruenbacher wrote: > > Patch "gfs2: implement gfs2_block_zero_range using iomap_zero_range" > > isn't quite ready: the gfs2 iomap operations don't handle IOMAP_ZERO > > correctly so far, and that needs to be fixed first. > > What is the issue with IOMAP_ZERO on gfs2? Zeroing never does block > allocations except when on COW extents, which gfs2 doesn't support, > so there shouldn't really be any need for additional handling. We still want to set iomap->page_ops for journalled data files on gfs2. Also, if we go through the existing gfs2_iomap_begin_write / __gfs2_iomap_begin logic for iomap_zero_range, it will work for stuffed files as well, and so we can replace stuffed_zero_range with iomap_zero_range. > > Some of the tests assume that the filesystem supports unwritten > > extents, trusted xattrs, the usrquota / grpquota / prjquota mount > > options. There shouldn't be a huge number of failing tests beyond > > that, but I know things aren't perfect. > > In general xfstests is supposed to have tests for that and not run > the tests if not supported. In most cases this is automatic, but > in case a feature can't be autodetect we have a few manual overrides. Yes, that needs a bit of work. Let's see. Thanks, Andreas
WARNING: multiple messages have this Message-ID (diff)
From: Andreas Gruenbacher <agruenba@redhat.com> To: cluster-devel.redhat.com Subject: [Cluster-devel] RFC: use the iomap writepage path in gfs2 Date: Mon, 8 Jul 2019 19:29:21 +0200 [thread overview] Message-ID: <CAHc6FU5942i0XrCjUAhR9NCmfLuu7_CoPXNDsdF0X+gCpF1cDQ@mail.gmail.com> (raw) In-Reply-To: <20190708160351.GA9871@lst.de> On Mon, 8 Jul 2019 at 18:04, Christoph Hellwig <hch@lst.de> wrote: > On Thu, Jul 04, 2019 at 12:35:41AM +0200, Andreas Gruenbacher wrote: > > Patch "gfs2: implement gfs2_block_zero_range using iomap_zero_range" > > isn't quite ready: the gfs2 iomap operations don't handle IOMAP_ZERO > > correctly so far, and that needs to be fixed first. > > What is the issue with IOMAP_ZERO on gfs2? Zeroing never does block > allocations except when on COW extents, which gfs2 doesn't support, > so there shouldn't really be any need for additional handling. We still want to set iomap->page_ops for journalled data files on gfs2. Also, if we go through the existing gfs2_iomap_begin_write / __gfs2_iomap_begin logic for iomap_zero_range, it will work for stuffed files as well, and so we can replace stuffed_zero_range with iomap_zero_range. > > Some of the tests assume that the filesystem supports unwritten > > extents, trusted xattrs, the usrquota / grpquota / prjquota mount > > options. There shouldn't be a huge number of failing tests beyond > > that, but I know things aren't perfect. > > In general xfstests is supposed to have tests for that and not run > the tests if not supported. In most cases this is automatic, but > in case a feature can't be autodetect we have a few manual overrides. Yes, that needs a bit of work. Let's see. Thanks, Andreas
next prev parent reply other threads:[~2019-07-08 17:29 UTC|newest] Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-07-01 21:54 RFC: use the iomap writepage path in gfs2 Christoph Hellwig 2019-07-01 21:54 ` [Cluster-devel] " Christoph Hellwig 2019-07-01 21:54 ` [PATCH 01/15] FOLD: iomap: make the discard_page method optional Christoph Hellwig 2019-07-01 21:54 ` [Cluster-devel] " Christoph Hellwig 2019-07-01 21:54 ` [PATCH 02/15] FOLD: iomap: make ->submit_ioend optional Christoph Hellwig 2019-07-01 21:54 ` [Cluster-devel] " Christoph Hellwig 2019-07-01 21:54 ` [PATCH 03/15] iomap: zero newly allocated mapped blocks Christoph Hellwig 2019-07-01 21:54 ` [Cluster-devel] " Christoph Hellwig 2019-07-01 21:54 ` [PATCH 04/15] iomap: warn on inline maps iomap_writepage_map Christoph Hellwig 2019-07-01 21:54 ` [Cluster-devel] " Christoph Hellwig 2019-07-01 21:54 ` [PATCH 05/15] iomap: move struct iomap_page to iomap.c Christoph Hellwig 2019-07-01 21:54 ` [Cluster-devel] " Christoph Hellwig 2019-07-01 21:54 ` [PATCH 06/15] HACK: disable lockdep annotation in iomap_dio_rw Christoph Hellwig 2019-07-01 21:54 ` [Cluster-devel] " Christoph Hellwig 2019-07-01 21:54 ` [PATCH 07/15] gfs2: use page_offset in gfs2_page_mkwrite Christoph Hellwig 2019-07-01 21:54 ` [Cluster-devel] " Christoph Hellwig 2019-07-01 21:54 ` [PATCH 08/15] gfs2: remove the unused gfs2_stuffed_write_end function Christoph Hellwig 2019-07-01 21:54 ` [Cluster-devel] " Christoph Hellwig 2019-07-01 21:54 ` [PATCH 09/15] gfs2: merge gfs2_writeback_aops and gfs2_ordered_aops Christoph Hellwig 2019-07-01 21:54 ` [Cluster-devel] " Christoph Hellwig 2019-07-01 21:54 ` [PATCH 10/15] gfs2: merge gfs2_writepage_common into gfs2_writepage Christoph Hellwig 2019-07-01 21:54 ` [Cluster-devel] " Christoph Hellwig 2019-07-01 21:54 ` [PATCH 11/15] gfs2: mark stuffed_readpage static Christoph Hellwig 2019-07-01 21:54 ` [Cluster-devel] " Christoph Hellwig 2019-07-01 21:54 ` [PATCH 12/15] gfs2: use iomap_bmap instead of generic_block_bmap Christoph Hellwig 2019-07-01 21:54 ` [Cluster-devel] " Christoph Hellwig 2019-07-01 21:54 ` [PATCH 13/15] gfs2: implement gfs2_block_zero_range using iomap_zero_range Christoph Hellwig 2019-07-01 21:54 ` [Cluster-devel] " Christoph Hellwig 2019-07-01 21:54 ` [PATCH 14/15] gfs2: don't use buffer_heads in gfs2_allocate_page_backing Christoph Hellwig 2019-07-01 21:54 ` [Cluster-devel] " Christoph Hellwig 2019-07-01 21:54 ` [PATCH 15/15] gfs2: use iomap for buffered I/O in ordered and writeback mode Christoph Hellwig 2019-07-01 21:54 ` [Cluster-devel] " Christoph Hellwig 2019-08-05 12:27 ` Andreas Gruenbacher 2019-08-05 12:27 ` [Cluster-devel] " Andreas Gruenbacher 2019-08-06 5:30 ` Christoph Hellwig 2019-08-06 5:30 ` [Cluster-devel] " Christoph Hellwig 2019-09-30 20:49 ` Andreas Gruenbacher 2019-09-30 20:49 ` [Cluster-devel] " Andreas Gruenbacher 2019-07-03 22:35 ` RFC: use the iomap writepage path in gfs2 Andreas Gruenbacher 2019-07-03 22:35 ` [Cluster-devel] " Andreas Gruenbacher 2019-07-08 16:03 ` Christoph Hellwig 2019-07-08 16:03 ` [Cluster-devel] " Christoph Hellwig 2019-07-08 17:29 ` Andreas Gruenbacher [this message] 2019-07-08 17:29 ` Andreas Gruenbacher 2019-07-08 0:01 ` Dave Chinner 2019-07-08 0:01 ` [Cluster-devel] " Dave Chinner 2019-07-08 16:19 ` Christoph Hellwig 2019-07-08 16:19 ` [Cluster-devel] " Christoph Hellwig
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CAHc6FU5942i0XrCjUAhR9NCmfLuu7_CoPXNDsdF0X+gCpF1cDQ@mail.gmail.com \ --to=agruenba@redhat.com \ --cc=cluster-devel@redhat.com \ --cc=darrick.wong@oracle.com \ --cc=hch@lst.de \ --cc=linux-fsdevel@vger.kernel.org \ --cc=linux-xfs@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.