linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Yuxuan Shui <yshuiv7@gmail.com>
Cc: "Darrick J. Wong" <darrick.wong@oracle.com>,
	viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH] iomap: iomap_bmap should accept unwritten maps
Date: Tue, 25 Aug 2020 11:20:40 +0100	[thread overview]
Message-ID: <20200825102040.GA15394@infradead.org> (raw)
In-Reply-To: <CAGqt0zzA5NRx+vrcwyekW=Z18BL5CGTuZEBvpRO3vK5rHCBs=A@mail.gmail.com>

On Tue, Aug 25, 2020 at 10:26:14AM +0100, Yuxuan Shui wrote:
> Hi,
> 
> Do we actually want to fix this bug or not? There are a number of
> people actually seeing this bug.

bmap should not succeed for unwritten extents.

> If you think this is not the right fix, what do you think we should
> do? If the correct fix is to make ext4 use iomap_swapfile_activate,
> maybe we should CC the ext4 people too?

Yes, ext4 should use iomap_swapfile_activate.

  reply	other threads:[~2020-08-25 10:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-05 18:36 [PATCH] iomap: iomap_bmap should accept unwritten maps Yuxuan Shui
2020-05-05 19:30 ` Darrick J. Wong
2020-08-25  9:26   ` Yuxuan Shui
2020-08-25 10:20     ` Christoph Hellwig [this message]
2020-08-25 10:40       ` Yuxuan Shui
2020-08-25 11:21         ` Christoph Hellwig
2020-08-25 11:27         ` Ritesh Harjani
2020-08-25 12:36   ` Ritesh Harjani
2020-08-25 15:49     ` Darrick J. Wong
2020-08-25 18:00       ` Ritesh Harjani
2020-08-25 15:54     ` Yuxuan Shui

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=20200825102040.GA15394@infradead.org \
    --to=hch@infradead.org \
    --cc=darrick.wong@oracle.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    --cc=yshuiv7@gmail.com \
    /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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).