Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752189AbdH2KkZ (ORCPT ); Tue, 29 Aug 2017 06:40:25 -0400 Received: from wdc011.relay.arandomserver.com ([208.43.115.130]:45679 "EHLO wdc011.relay.arandomserver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751485AbdH2KkX (ORCPT ); Tue, 29 Aug 2017 06:40:23 -0400 Subject: Re: Kernels v4.9+ cause short reads of block devices To: Linus Torvalds , Andreas Dilger Cc: Al Viro , Linux Kernel Mailing List , Wei Fang , linux-fsdevel , Mark Fasheh , Joel Becker , Dave Kleikamp References: <1ae53e17-e455-4f17-0280-b0dae183a449@nazar.ca> From: Doug Nazar Message-ID: <67f6a756-dcb5-96d1-f6e3-0536e29f96d9@nazar.ca> Date: Tue, 29 Aug 2017 06:40:13 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Thunderbird/54.0a2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: 173.192.232.254 X-SpamExperts-Domain: wdc006.hawkhost.com X-SpamExperts-Username: relay Authentication-Results: arandomserver.com; auth=pass (login) smtp.auth=relay@wdc006.hawkhost.com X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: SB/global_tokens (0.0079051166411) X-Recommended-Action: accept X-Filter-ID: PqwsvolAWURa0gwxuN3S5YEa3T7JuZT23fGO2rGt3ZiXrQymdGY8qNmNJwTfl2xJ192kNgbkumUo HMCUQ8HXGkAwPN4M+BNtq20Hh3O6Az8x54JCQSpSh9ixc9o3H3wVCZryIsNFvaBrlzs70sT7iKmx j3Zz/WM/IwRyPjIHIwBTxVBCgDLQJp4oOtBnC6q9gseGK2EdrLSYOIH2XetW9x5e973vehgRRMJd d1x498RVSPNWP3Yrv2uB7GsGsNDOK7n9JUG0tkF/jEO0NY30aYoNYUbVrTtEe3GW4LV9k5TlgTl6 fJxyntEfhZCKje4ZEejqcvF9whXmqNO3rZfNMqIdXj9EdeaBLWNm5S1nFwnQ08vWrPDgMXSp0PD/ +0YjMeeCQkEqUofYsXPaNx98FfQeXbCuryvNiGYRcw2pVekSMBaNT3w80AsNCBGDGO976AAjN5Vz DcF5cV4f0t2FO/B20RTrEDKPTdlJ6zaGsFzW5j/4CzrmNymzPa3B4u6viTf5rRxafI3VERBHrL3V 0w7knaJOHXyb74CkvMRWnDsj+EHzOAOcJGTZeiAp3tyaP9NmbLEzYUBlJj1Mw1Gk9U21bJJYEvQ+ mjkfiZQwN2Ycnj95DBfxzNqou21wZgZ/vfLvzYWTBDhTssaXQYgNf1fgqDNXxZTBdyz2DdhKjV2t I4g+l6rCWbY0MZcgnbHsF7a8xU3eZ693aRr6FKdtTEat6v5OMq1/dYjI7gDgNzRQl90eZkR03PsZ +pFU5oWwQnTIgDfxZ2/WGqYvyOVteVOdo6Dvr8fbMJVJ9/erL69B75tz6v0zFYS4i1UpWw5yH693 qPdNYKV61FXXlI1KaDaiAHKFmc30YXOZtRutpahkJPtjRZ2NRlUnbSRO+yG3hxUh3SlZ/rL989yJ Zf9pbPyQ3L3FvBiEaToQo3z/Xkrpi2C7sGnFmUxmMiHn9exVrujgA/uGtV0QKZ850TRsLLfAvZjg XTjXZ7MYLJNQ9qee/dwCzFyugprDKTCM5Iqi58KVJpvQ7ORV2Fm5iSnjXEuf+eM3l5KPnbp/eQth jVPYhtKmWdlU2v5PXzGMmTMwL0iCa1nsFl7jz4AhLxeykfFKmp9JDeWaTMFt2fGujHR4xWq5RlTn Jyj1yxk0MxUS9zmE+Bh58F6CP2q2Z8LeXTtnXKqKUJPvevbnTw9vNx4= X-Report-Abuse-To: spam@se001.arandomserver.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 454 Lines: 13 On 8/27/17 3:47 PM, Linus Torvalds wrote: > Note to people: I just committed the patch to update MAX_LFS_FILESIZE. > I made it use the simpler (and clearer) calculation of > > ((loff_t)ULONG_MAX << PAGE_SHIFT) > > for the 32-bit case, and I did *not* change any other users. Not a problem... I got caught trying to find out why 4.13 hangs on a warm reset. It has really slowed down my testing having towalk couple of floors for every reboot. Doug