From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx5-phx2.redhat.com ([209.132.183.37]:32886 "EHLO mx5-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750822AbcJCOGg (ORCPT ); Mon, 3 Oct 2016 10:06:36 -0400 Date: Mon, 3 Oct 2016 10:06:27 -0400 (EDT) From: CAI Qian To: Al Viro Cc: Linus Torvalds , Dave Chinner , linux-xfs , Jens Axboe , Nick Piggin , linux-fsdevel@vger.kernel.org Message-ID: <19064316.41568.1475503587628.JavaMail.zimbra@redhat.com> In-Reply-To: <20161003014218.GS19539@ZenIV.linux.org.uk> References: <20160914042559.GC2356@ZenIV.linux.org.uk> <20160917082007.GA6489@ZenIV.linux.org.uk> <20160917190023.GA8039@ZenIV.linux.org.uk> <20160923190032.GA25771@ZenIV.linux.org.uk> <2131586457.763354.1475242373422.JavaMail.zimbra@redhat.com> <1415238593.811146.1475257337058.JavaMail.zimbra@redhat.com> <20161003014218.GS19539@ZenIV.linux.org.uk> Subject: Re: [RFC][CFT] splice_read reworked MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-fsdevel-owner@vger.kernel.org List-ID: ----- Original Message ----- > From: "Al Viro" > To: "CAI Qian" > Cc: "Linus Torvalds" , "Dave Chinner" , "linux-xfs" > , "Jens Axboe" , "Nick Piggin" , > linux-fsdevel@vger.kernel.org > Sent: Sunday, October 2, 2016 9:42:18 PM > Subject: Re: [RFC][CFT] splice_read reworked > > On Fri, Sep 30, 2016 at 01:42:17PM -0400, CAI Qian wrote: > > > [ 1599.151286] ------------[ cut here ]------------ > > [ 1599.156457] WARNING: CPU: 37 PID: 95143 at lib/iov_iter.c:316 > > sanity+0x75/0x80 > > [snip] > > > [ 1599.344171] [] sanity+0x75/0x80 > > [ 1599.349518] [] copy_page_to_iter+0xf9/0x1e0 > > [ 1599.356027] [] shmem_file_read_iter+0x9f/0x340 > > [ 1599.362829] [] generic_file_splice_read+0xb9/0x1b0 > > [ 1599.370015] [] do_splice_to+0x76/0x90 > > [ 1599.375941] [] splice_direct_to_actor+0xbb/0x220 > > [ 1599.382935] [] ? generic_pipe_buf_nosteal+0x10/0x10 > > [ 1599.390220] [] do_splice_direct+0x98/0xd0 > > [ 1599.396537] [] do_sendfile+0x1d1/0x3b0 > > [ 1599.402563] [] SyS_sendfile64+0x73/0xd0 > > [ 1599.408685] [] do_syscall_64+0x6c/0x1e0 > > [ 1599.414820] [] entry_SYSCALL64_slow_path+0x25/0x25 > > IOW, sendfile from shmem... How easily is that reproduced (IOW, did you > get any more of those)? > It is pretty reproducible so far by just running the trinity from a docker container backed by overlayfs/xfs. # su - test $ trinity CAI Qian