lkml.org 
[lkml]   [2017]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: iov_iter_pipe warning.
On Tue, Apr 11, 2017 at 04:53:36PM -0400, Dave Jones wrote:
> > if (WARN_ON(pipe->nrbufs)) {
> > printk(KERN_ERR "->splice_write = %p",
> > sd->u.file->f_op->splice_write);
> > }
> > }
>
> Ah, missed adding this 2nd WARN_ON.

Good - it means that we don't have to chase memory corruption yet. That
smells like some ->splice_write() claiming it has copied more than it
has drained from the pipe.

> I'll turn it back off, and retry with the missing WARN from above added.

Please, do. And it would be nice if you printed sd->u.file->f_op as well
(in the same printk).

\
 
 \ /
  Last update: 2017-04-11 23:13    [W:0.082 / U:0.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site