From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (Postfix) with ESMTP id C0A5E7CA1 for ; Fri, 26 Aug 2016 11:29:27 -0500 (CDT) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by relay3.corp.sgi.com (Postfix) with ESMTP id 31FA6AC002 for ; Fri, 26 Aug 2016 09:29:26 -0700 (PDT) Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) by cuda.sgi.com with ESMTP id I7dq2ubQjAvOsxmr (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 26 Aug 2016 09:29:24 -0700 (PDT) Date: Fri, 26 Aug 2016 09:28:50 -0700 From: "Darrick J. Wong" Subject: Re: [PATCH v8 00/71] xfs: add reflink and dedupe support Message-ID: <20160826162850.GE22760@birch.djwong.org> References: <147216791538.867.12413509832420924168.stgit@birch.djwong.org> <20160826125636.GA1548@infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20160826125636.GA1548@infradead.org> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Christoph Hellwig Cc: linux-xfs@vger.kernel.org, xfs@oss.sgi.com On Fri, Aug 26, 2016 at 05:56:36AM -0700, Christoph Hellwig wrote: > FTI, with your djwong-devel tree I see sporadic slab corruption when > running xfstests with reflinks force enabled in mkfs. > > And while the trace looks like from the rmap code it doesn't happen > without the reflink patches. > > Example during xfs/313 below: > > [14751.774252] Slab corruption (Tainted: G W ): xfs_cui_item start=ffff88013afb3748, len=408 > [14751.775170] Redzone: 0x9f911029d74e35b/0x9f911029d74e35b > [14751.775731] Last user: [](xfs_cui_item_free+0x1c/0x30) > [14751.776397] 070: 6b 6b 6b 6b 6b 6b 6b 6b 6a 6b 6b 6b 6b 6b 6b 6b kkkkkkkkjkkkkkkk > [14751.777157] Single bit error detected. Probably bad RAM. > [14751.777591] Run memtest86+ or a similar memory test tool. > [14751.778015] Prev obj: start=ffff88013afb3598, len=408 > [14751.778468] Redzone: 0x9f911029d74e35b/0x9f911029d74e35b > [14751.778940] Last user: > [](xfs_cui_item_free+0x1c/0x30) CUI == refCount Update Item, so it /is/ the reflink code. Will take a look. Sigh... --D > [14751.779621] 000: 6b 6b 6b 6b 6b 00 01 02 03 6b 6b 6b 6b 6b 6b 6b kkkkk....kkkkkkk > [14751.780378] 010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk > [14751.781140] Next obj: start=ffff88013afb38f8, len=408 > [14751.781639] Redzone: 0x9f911029d74e35b/0x9f911029d74e35b > [14751.782216] Last user: > [](xfs_cui_item_free+0x1c/0x30) > [14751.782885] 000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk > [14751.783608] 010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk > [14751.784287] Slab corruption (Tainted: G W ): xfs_bui_item start=ffff880131b67048, len=184 > [14751.785126] Redzone: 0x9f911029d74e35b/0x9f911029d74e35b > [14751.785979] Last user: [](xfs_bui_release+0x44/0x70)0 > [14751.786636] 070: 6b 6b 6b 6b 6b 6b 6b 6b 6a 6b 6b 6b 6b 6b 6b 6b kkkkkkkkjkkkkkkk > [14751.787414] Single bit error detected. Probably bad RAM. > [14751.787948] Run memtest86+ or a similar memory test tool. > [14751.788477] Next obj: start=ffff880131b67118, len=184 > [14751.789002] Redzone: 0x9f911029d74e35b/0x9f911029d74e35b > [14751.789559] Last user: [](xfs_bui_release+0x44/0x70) > [14751.790259] 000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk > [14751.791055] 010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk > > -- > To unsubscribe from this list: send the line "unsubscribe linux-xfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs