Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1589544

Re: LTP write03 writev07 xfs failures

From Christoph Hellwig <hch@infradead.org>
Newsgroups linux.kernel
Subject Re: LTP write03 writev07 xfs failures
Date 2017-02-28 16:20 +0100
Message-ID <tfRJf-6ds-3@gated-at.bofh.it> (permalink)
References <tflT3-F5-9@gated-at.bofh.it> <tfw25-7YC-3@gated-at.bofh.it> <tfAyJ-2v1-1@gated-at.bofh.it> <tfQDw-5uI-13@gated-at.bofh.it> <tfRzz-69T-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Feb 28, 2017 at 09:59:40AM -0500, Brian Foster wrote:
> Heh. I've appended what I'm currently playing around with. It's
> certainly uglier, but not terrible IMO (outside of the fact that we have
> to look at the buffer_heads). This seems to address the problem, but
> still only lightly tested...
> 
> An entirely different approach may be to somehow or another
> differentiate allocated delalloc blocks from "found" delalloc blocks in
> the iomap_begin() handler, and then perhaps encode that into the iomap
> such that the iomap_end() handler has an explicit reference of what to
> punch. Personally, I wouldn't mind doing something like the below short
> term to fix the regression and then incorporate an iomap enhancement to
> break the buffer_head dependency.

We actually have a IOMAP_F_NEW for this already, but so far it's
only used by the DIO and DAX code.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

LTP write03 writev07 xfs failures Xiong Zhou <xzhou@redhat.com> - 2017-02-27 06:20 +0100
  Re: LTP write03 writev07 xfs failures Brian Foster <bfoster@redhat.com> - 2017-02-27 17:10 +0100
    Re: LTP write03 writev07 xfs failures Brian Foster <bfoster@redhat.com> - 2017-02-27 22:00 +0100
      Re: LTP write03 writev07 xfs failures Christoph Hellwig <hch@infradead.org> - 2017-02-28 15:10 +0100
        Re: LTP write03 writev07 xfs failures Brian Foster <bfoster@redhat.com> - 2017-02-28 16:10 +0100
          Re: LTP write03 writev07 xfs failures Christoph Hellwig <hch@infradead.org> - 2017-02-28 16:20 +0100
            Re: LTP write03 writev07 xfs failures Brian Foster <bfoster@redhat.com> - 2017-02-28 17:20 +0100

csiph-web