Re: [bug] pwritev02 hang on s390x with 4.8.0-rc7

2016-09-20 Thread Al Viro
On Tue, Sep 20, 2016 at 01:11:41PM -0400, Jan Stancek wrote: > I ran all syscalls tests from LTP, and I see a change in behaviour > of couple other tests (writev01, writev03 and writev04 [1]) in 4.8.0-rc7. > > These call writev() with partially invalid iovecs, and now fail with > EFAULT, while wi

Re: [bug] pwritev02 hang on s390x with 4.8.0-rc7

2016-09-20 Thread Jan Stancek
- Original Message - > From: "Al Viro" > To: "Jan Stancek" > Cc: linux-kernel@vger.kernel.org > Sent: Tuesday, 20 September, 2016 5:06:57 PM > Subject: Re: [bug] pwritev02 hang on s390x with 4.8.0-rc7 > > On Tue, Sep 20, 2016 at 02

Re: [bug] pwritev02 hang on s390x with 4.8.0-rc7

2016-09-20 Thread Al Viro
On Tue, Sep 20, 2016 at 02:56:06PM +0200, Jan Stancek wrote: > Hi, > > I'm hitting a regression with LTP's pwritev02 [1] on s390x with 4.8.0-rc7. > Specifically the EFAULT case, which is passing an iovec with invalid base > address: > #define CHUNK 64 > static struct iovec wr_iovec3[] = { >

[bug] pwritev02 hang on s390x with 4.8.0-rc7

2016-09-20 Thread Jan Stancek
Hi, I'm hitting a regression with LTP's pwritev02 [1] on s390x with 4.8.0-rc7. Specifically the EFAULT case, which is passing an iovec with invalid base address: #define CHUNK 64 static struct iovec wr_iovec3[] = { {(char *)-1, CHUNK}, }; hangs with 100% cpu usage and not very helpf