Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933027AbcJRXqP (ORCPT ); Tue, 18 Oct 2016 19:46:15 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:50045 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757066AbcJRXqI (ORCPT ); Tue, 18 Oct 2016 19:46:08 -0400 Date: Tue, 18 Oct 2016 19:42:49 -0400 From: Chris Mason To: Linus Torvalds CC: Jens Axboe , Dave Jones , Al Viro , Josef Bacik , David Sterba , linux-btrfs , Linux Kernel Subject: Re: bio linked list corruption. Message-ID: <20161018234248.GB93792@clm-mbp.masoncoding.com> Mail-Followup-To: Chris Mason , Linus Torvalds , Jens Axboe , Dave Jones , Al Viro , Josef Bacik , David Sterba , linux-btrfs , Linux Kernel References: <20161011144507.okg6baqvodn2m2lh@codemonkey.org.uk> <20161018224205.bjgloslaxcej2td2@codemonkey.org.uk> <20161018233148.GA93792@clm-mbp.masoncoding.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [172.101.197.43] X-ClientProxiedBy: CY1PR0801CA0077.namprd08.prod.outlook.com (10.166.203.45) To MWHPR15MB1248.namprd15.prod.outlook.com (10.175.3.10) X-MS-Office365-Filtering-Correlation-Id: 3ac0bf4b-9ed3-4188-9094-08d3f7b0c597 X-Microsoft-Exchange-Diagnostics: 1;MWHPR15MB1248;2:qD70jhrHIt+W0mo30DjMaGYHJPw9tQaDf4L2AEy3btsuUCpTIyxCAONBqlC4g5NrYcRf1ptYOZCahzhYXzdc41xblBRPcsUOeSb8f8wmWJSZhnv1FgbBA6hnfSsU33nuAdiGDK4VT5YrXm4dPMPVLnxQlI1H7mNFhdPTTaBpIsgClDHzcRedKvHTZMJufhSP2/1DE81kUP08extZL/Ne4Q==;3:XUmsSQnIkNflVMLbYufLGAz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TDIe/EQeRAcQmp9URK++EpboM=;4:9+wN2ouNlhAIG8ZVsN/0x32vZUF0k8tvDNOzsS+8JnXbuc3kc0EreNjHoLLOEOfL353NHLK+ZQqUQ2B4OjALDSLMe0kdVIptHRoJFIs5ZyuQZJsDv0pYJG5cXXYKq9A8wUT6u5ilTwVl8URINsEZhTk+LnvYWNRlXku3tb6nvj4Cc4L2Zoq2xPxHO4U2Vf0A7+OoBG8Aibfznk1M1vYIKQHLKYPjLolTEO156ueJrjBekzGBag2Jq3oGQs0eDqNzHEvF+2Npya7AjeRv+j4JVWOiNIou3tmCk4KHLodWHJ3crlz8G59MuEL+2QtrAugGTWYyjcMppn799nQNKtBY/J6ZGkuF1ZTdv7Vx+sPFecAKb97NVuAqp2gWshOdWvqzR5iGovVtVflC/bnuKs5TnfMsRNXiuK/0usrAitnQf234K7uVE1XGtSE7SfQf3F75 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(67672495146484); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046);SRVR:MWHPR15MB1248;BCL:0;PCL:0;RULEID:;SRVR:MWHPR15MB1248; X-Forefront-PRVS: 00997889E7 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(7916002)(199003)(189002)(377454003)(24454002)(586003)(97736004)(2950100002)(93886004)(1076002)(77096005)(4326007)(4001350100001)(47776003)(19580405001)(66066001)(15975445007)(1720100001)(9686002)(23726003)(6916009)(50466002)(83506001)(110136003)(6666003)(5660300001)(86362001)(68736007)(2906002)(81166006)(7736002)(81156014)(8676002)(305945005)(19580395003)(92566002)(53416004)(42186005)(101416001)(7846002)(3480700004)(33656002)(189998001)(106356001)(54356999)(50986999)(76176999)(69596002)(6116002)(105586002)(3846002)(18370500001)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR15MB1248;H:clm-mbp.masoncoding.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;MWHPR15MB1248;23:YKH6q0ZiaLGmznDWEDxhhStT8LrIuTUSbFSpqnHp3?= =?us-ascii?Q?Rh303o0KSor4IUnOl3X5t/eL0zU4eCGxTWiV5hIrRwgJ0fNcL6DBGfznVeex?= =?us-ascii?Q?XGd831QuXJU9fCMql27zGn7CvJ5U8HS1Z6azDj5/QURM8rqqRKK1PUZ6iNEx?= =?us-ascii?Q?NpWjVvbf/srxdZuSks79yXlxsxPt5Baz766oyzO84xBzZZMsRYo1b2EK8EOR?= =?us-ascii?Q?eexCYXbTHRJrAiAUhtLtzQQJ4CYnPVZDCy0iuHK+7AMwTy6MTkNN2suNUkEg?= =?us-ascii?Q?RTVYILO+v3unRgsrZFIQefsKpfHVWCPq20J1T3+8UbxbaddTIsjS57uDbfbU?= =?us-ascii?Q?K73h67t8vOuHnhKJKBxVAkxL8V4rC1yhSwTwwdDQC2hKld5ITl/NbrWP/SN6?= =?us-ascii?Q?QBI9X3dMStZwUaYIAl6RkXGjA+kNDF//l7SYXPvA6vv9zL2ygpPmUQjHBtpe?= =?us-ascii?Q?pgNBJcW18iQA37SglAInbOIfQiOhoFv0mQIH8aQoBQ+qg7V4iG91RtdvtZjU?= =?us-ascii?Q?Iryh8o0FGMSwDS4zWfT2XJKNvEdItMH/bdMzq482WXS5N+5AIhJBr2tQKBdZ?= =?us-ascii?Q?tBbgGWUMGyE4Ytsl5+70dUFXiNl+LywBbr37XyI94/dXDvC1pL0tijYNKAyJ?= =?us-ascii?Q?++dI7A0jERdFnNTSGzw9SX1YOgh+SchOziQRvo+H66hEMTc+kWQU4yOgqS6C?= =?us-ascii?Q?lKzyKfpKnUkY+ieXoB0Kimc8fDcWLW0sDy8X8CnNEmWxsFAl52kj5U43n0oB?= =?us-ascii?Q?kjE6/ZY5zit8Ic1rbn0Hw7yYxHUFEMySaNxUz6J1uo8kBiDKeKSUnzhyDT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Ns6SQvsyC6anGQMFpPhdLTqXgtABbyL6ypt3yeDXxe/T4h1WI5kyW9s6Njpb2ZGKC6a31RZE145D2plBKyBEC8T7UoUpLEYOkERGiUgd4FdDe8guudMBd5Lcigk2Pdsu8St2rPFEg==;24:wwtR1rviZzXTNlT62V6ZNxI06B0JCU0Ce19NIBURcIgZOe+x4lum+mcj8fT7aTA/hXAzrxSSkJ7K72ihHi8MbjBAJYr7ABR2XzNnYboF1nA=;7:ladd/Vbs/6CW5aVBhr8Zg1R9fkcIkEkSPOv1Ghopvz1SYnyeyBet1qeCcm1/dnGcmx25fDq98TTh+Aa+5i0CYflp18MpYliq5telG37rm5K/bz6KFbaZfvjQ63olWWyB3I4MVHmh4ceKFjWxTROtHcM/IfhGx3NEIIY40MabEQEyjm3UTyqtIUg/GT5SgR2ZEQjbmwFzZMZB6gd854gerbMxTVgnGjemm85HavUWIYv/uVTlr3d4D5Ml8Al4wAV6OX4PNOH23X1B8soQDHsEJs8SEoejWPmHmZmwRGh6Jhb485mmUGS0Y3GR/wH6VgTwU4CySgtIe4vxNQUx41Wuj13xq6ubRlxIdEThInt/04Y= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;MWHPR15MB1248;20:fOhP9LceXQZNGQYwRD9ZWP3fS0TKdF2s11Lkj7YD4a5zX474yxRQCuAYvAeIilkSwIcVYuUlDyl0+2I8d/6G9wPlNW5opHGJOqLX8MZAbwMw9VR/dwOAaz27cF+CNBg4Y71h9zoKKfRniDlRA/xBWnkfoN4LHK8wzzT5YpzXESk= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2016 23:44:58.1733 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR15MB1248 X-OriginatorOrg: fb.com X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-10-18_12:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 689 Lines: 19 On Tue, Oct 18, 2016 at 04:39:22PM -0700, Linus Torvalds wrote: >On Tue, Oct 18, 2016 at 4:31 PM, Chris Mason wrote: >> >> Jens, not sure if you saw the whole thread. This has triggered bad page >> state errors, and also corrupted a btrfs list. It hurts me to say, but it >> might not actually be your fault. > >Where is that thread, and what is the "this" that triggers problems? > >Looking at the "->mq_list" users, I'm not seeing any changes there in >the last year or so. So I don't think it's the list itself. Seems to be the whole thing: http://www.gossamer-threads.com/lists/linux/kernel/2545792 My guess is xattr, but I don't have a good reason for that. -chris