Re: LTP write03 writev07 xfs failures

2017-02-28 Thread Brian Foster
On Tue, Feb 28, 2017 at 07:11:35AM -0800, Christoph Hellwig wrote: > 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

Re: LTP write03 writev07 xfs failures

2017-02-28 Thread Brian Foster
On Tue, Feb 28, 2017 at 07:11:35AM -0800, Christoph Hellwig wrote: > 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

Re: LTP write03 writev07 xfs failures

2017-02-28 Thread Christoph Hellwig
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

Re: LTP write03 writev07 xfs failures

2017-02-28 Thread Christoph Hellwig
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

Re: LTP write03 writev07 xfs failures

2017-02-28 Thread Brian Foster
On Tue, Feb 28, 2017 at 06:04:55AM -0800, Christoph Hellwig wrote: > On Mon, Feb 27, 2017 at 03:13:35PM -0500, Brian Foster wrote: > > After playing around a bit, I don't think using i_size is the right > > approach either. It just exacerbates the original problem on buffered > > writes into

Re: LTP write03 writev07 xfs failures

2017-02-28 Thread Brian Foster
On Tue, Feb 28, 2017 at 06:04:55AM -0800, Christoph Hellwig wrote: > On Mon, Feb 27, 2017 at 03:13:35PM -0500, Brian Foster wrote: > > After playing around a bit, I don't think using i_size is the right > > approach either. It just exacerbates the original problem on buffered > > writes into

Re: LTP write03 writev07 xfs failures

2017-02-28 Thread Christoph Hellwig
On Mon, Feb 27, 2017 at 03:13:35PM -0500, Brian Foster wrote: > After playing around a bit, I don't think using i_size is the right > approach either. It just exacerbates the original problem on buffered > writes into sparse files. We can end up leaving around however many > delalloc blocks we've

Re: LTP write03 writev07 xfs failures

2017-02-28 Thread Christoph Hellwig
On Mon, Feb 27, 2017 at 03:13:35PM -0500, Brian Foster wrote: > After playing around a bit, I don't think using i_size is the right > approach either. It just exacerbates the original problem on buffered > writes into sparse files. We can end up leaving around however many > delalloc blocks we've

Re: LTP write03 writev07 xfs failures

2017-02-27 Thread Brian Foster
On Mon, Feb 27, 2017 at 11:09:01AM -0500, Brian Foster wrote: > cc Christoph > > On Mon, Feb 27, 2017 at 12:22:20PM +0800, Xiong Zhou wrote: > > Hi, > > > > These 2 tests PASS on Linus tree commit: > > 37c8596 Merge tag 'tty-4.11-rc1' of git://git.kernel.org/pub/scm/linux... > > FAIL on

Re: LTP write03 writev07 xfs failures

2017-02-27 Thread Brian Foster
On Mon, Feb 27, 2017 at 11:09:01AM -0500, Brian Foster wrote: > cc Christoph > > On Mon, Feb 27, 2017 at 12:22:20PM +0800, Xiong Zhou wrote: > > Hi, > > > > These 2 tests PASS on Linus tree commit: > > 37c8596 Merge tag 'tty-4.11-rc1' of git://git.kernel.org/pub/scm/linux... > > FAIL on

Re: LTP write03 writev07 xfs failures

2017-02-27 Thread Brian Foster
cc Christoph On Mon, Feb 27, 2017 at 12:22:20PM +0800, Xiong Zhou wrote: > Hi, > > These 2 tests PASS on Linus tree commit: > 37c8596 Merge tag 'tty-4.11-rc1' of git://git.kernel.org/pub/scm/linux... > FAIL on commit: > 60e8d3e Merge tag 'pci-v4.11-changes' of

Re: LTP write03 writev07 xfs failures

2017-02-27 Thread Brian Foster
cc Christoph On Mon, Feb 27, 2017 at 12:22:20PM +0800, Xiong Zhou wrote: > Hi, > > These 2 tests PASS on Linus tree commit: > 37c8596 Merge tag 'tty-4.11-rc1' of git://git.kernel.org/pub/scm/linux... > FAIL on commit: > 60e8d3e Merge tag 'pci-v4.11-changes' of

LTP write03 writev07 xfs failures

2017-02-26 Thread Xiong Zhou
Hi, These 2 tests PASS on Linus tree commit: 37c8596 Merge tag 'tty-4.11-rc1' of git://git.kernel.org/pub/scm/linux... FAIL on commit: 60e8d3e Merge tag 'pci-v4.11-changes' of git://git.kernel.org/pub/scm/... LTP latest commit: c60d3ca move_pages12: include lapi/mmap.h Steps: sh-4.2# pwd

LTP write03 writev07 xfs failures

2017-02-26 Thread Xiong Zhou
Hi, These 2 tests PASS on Linus tree commit: 37c8596 Merge tag 'tty-4.11-rc1' of git://git.kernel.org/pub/scm/linux... FAIL on commit: 60e8d3e Merge tag 'pci-v4.11-changes' of git://git.kernel.org/pub/scm/... LTP latest commit: c60d3ca move_pages12: include lapi/mmap.h Steps: sh-4.2# pwd

LTP write03 writev07 xfs failures

2017-02-26 Thread Xiong Zhou
Hi, These 2 tests PASS on Linus tree commit: 37c8596 Merge tag 'tty-4.11-rc1' of git://git.kernel.org/pub/scm/linux... FAIL on commit: 60e8d3e Merge tag 'pci-v4.11-changes' of git://git.kernel.org/pub/scm/... LTP latest commit: c60d3ca move_pages12: include lapi/mmap.h Steps: sh-4.2# pwd

LTP write03 writev07 xfs failures

2017-02-26 Thread Xiong Zhou
Hi, These 2 tests PASS on Linus tree commit: 37c8596 Merge tag 'tty-4.11-rc1' of git://git.kernel.org/pub/scm/linux... FAIL on commit: 60e8d3e Merge tag 'pci-v4.11-changes' of git://git.kernel.org/pub/scm/... LTP latest commit: c60d3ca move_pages12: include lapi/mmap.h Steps: sh-4.2# pwd