| To: | Al Viro <viro@xxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: v4.4-rc4 regression with direct-io |
| From: | Jan Kara <jack@xxxxxxx> |
| Date: | Wed, 9 Dec 2015 12:49:02 +0100 |
| Cc: | Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx>, Jan Kara <jack@xxxxxxx>, stable@xxxxxxxxxxxxxxx, Steven Whitehouse <swhiteho@xxxxxxxxxx>, Avi Kivity <avi@xxxxxxxxxxxx>, Jens Axboe <axboe@xxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, torvalds@xxxxxxxxxxxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20151208215109.GR20997@xxxxxxxxxxxxxxxxxx> |
| References: | <20151208213902.GA4212@xxxxxxxxxxxxxxx> <20151208215109.GR20997@xxxxxxxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Tue 08-12-15 21:51:09, Al Viro wrote:
> On Tue, Dec 08, 2015 at 02:39:02PM -0700, Ross Zwisler wrote:
> > Hey Jan,
> >
> > In my test setup this commit:
> >
> > 74cedf9b6c60 ("direct-io: Fix negative return from dio read beyond eof")
> >
> > causes a regression with XFS and the test generic/113. The test used to
> > pass, but with the above mentioned commit it just hangs indefinitely.
> >
> > This commit went in between v4.4-rc3 and v4.4-rc4, and it looks like it was
> > marked for stable?
>
> See the tip of vfs.git#for-linus for fix...
Ah, thanks for fixing this up! I'm just wondering how the test program I
was using could have passed because pread() I'm doing there must have
returned ENOMEM... Argh, I see. I have tested the problem with ext4 which
uses DIO_LOCKING mode and in that case 'retval' gets overwritten to 0 by
filemap_write_and_wait() call :-|.
Honza
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: xfsprogs: Removal of trailing whitespaces, Brian Foster |
|---|---|
| Next by Date: | Private Placement, Thomas Patel |
| Previous by Thread: | Re: v4.4-rc4 regression with direct-io, Ross Zwisler |
| Next by Thread: | ÐÐÐÐÐÐÐÐÐÐ ÐÑÐÐÑÐÑÐÑÐÐ ÑÐÐÐÐÐÑ ÐÐ ÐÑÐÐÑÐ ÐÑÐÐÑÐ Ð ÐÑÐÐÐÑÐÑ!, Web and Events |
| Indexes: | [Date] [Thread] [Top] [All Lists] |