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: [<ffffffff815ce4cc>](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: > [<ffffffff815ce4cc>](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: > [<ffffffff815ce4cc>](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: [<ffffffff815c9584>](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: [<ffffffff815c9584>](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@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs