From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx5-phx2.redhat.com ([209.132.183.37]:55633 "EHLO mx5-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756595AbcJMQZp (ORCPT ); Thu, 13 Oct 2016 12:25:45 -0400 Date: Thu, 13 Oct 2016 12:25:30 -0400 (EDT) From: CAI Qian To: Dave Chinner Cc: Sage Weil , Brian Foster , Jan Kara , Miklos Szeredi , tj , Al Viro , Linus Torvalds , linux-xfs , Jens Axboe , Nick Piggin , linux-fsdevel@vger.kernel.org, Dave Jones Message-ID: <895314622.769515.1476375930648.JavaMail.zimbra@redhat.com> In-Reply-To: <20161012205901.GF27872@dastard> References: <1267347639.1072505.1475854075552.JavaMail.zimbra@redhat.com> <1337864351.1107846.1475866582573.JavaMail.zimbra@redhat.com> <20161009215454.GM9806@dastard> <988281682.41395.1476108629872.JavaMail.zimbra@redhat.com> <20161010215714.GF23194@dastard> <885869771.578073.1476301836438.JavaMail.zimbra@redhat.com> <20161012205901.GF27872@dastard> Subject: Re: [bisected] Re: local DoS - systemd hang or timeout (WAS: 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: "Dave Chinner" > Sent: Wednesday, October 12, 2016 4:59:01 PM > Subject: Re: [bisected] Re: local DoS - systemd hang or timeout (WAS: Re: [RFC][CFT] splice_read reworked) > > On Wed, Oct 12, 2016 at 03:50:36PM -0400, CAI Qian wrote: > > > > > > ----- Original Message ----- > > > From: "Dave Chinner" > > > Sent: Monday, October 10, 2016 5:57:14 PM > > > > > > > http://people.redhat.com/qcai/tmp/dmesg > > > > > > It's a page lock order bug in the XFS seek hole/data implementation. > > So reverted this commit against the latest mainline allows trinity run > > hours. Otherwise, it always hang at fdatasync() within 30 minutes. > > > > fc0561cefc04e7803c0f6501ca4f310a502f65b8 > > xfs: optimise away log forces on timestamp updates for fdatasync > > Has nothing at all to do with the hang. > > > PS: tested against the vfs tree's #work.splice_read with this commit > > reverted is now hanging at sync() instead which won't be reproduced > > against the mainline so far. > > http://people.redhat.com/qcai/tmp/dmesg-sync > > It is the same page lock vs seek hole/data issue. FYI, CVE-2016-8660 was assigned for it. CAI Qian