Return-Path: Received: from mail-pl0-f68.google.com ([209.85.160.68]:37782 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751002AbdLIVhG (ORCPT ); Sat, 9 Dec 2017 16:37:06 -0500 Message-ID: <1512855422.25033.34.camel@gmail.com> Subject: Re: NFS corruption, fixed by echo 1 > /proc/sys/vm/drop_caches -- next debugging steps? From: Eric Dumazet To: Matt Turner Cc: Eric Dumazet , "linux-mips@linux-mips.org" , linux-nfs@vger.kernel.org, Paolo Abeni , Hannes Frederic Sowa , "Peter Zijlstra (Intel)" , Thomas Gleixner , Ingo Molnar , Manuel Lauss , LKML , netdev Date: Sat, 09 Dec 2017 13:37:02 -0800 In-Reply-To: References: <1512741164.25033.28.camel@gmail.com> <1512767781.25033.30.camel@gmail.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: On Sat, 2017-12-09 at 13:03 -0800, Matt Turner wrote: > On Fri, Dec 8, 2017 at 1:16 PM, Eric Dumazet > wrote: > > On Fri, 2017-12-08 at 12:26 -0800, Matt Turner wrote: > > > > > > Thanks for the quick reply! > > > > > > I tried the patch on top of master, but unfortunately the > > > corruption > > > still occurs. > > > > You might try replacing in sbdma_add_rcvbuffer() > > > > sb_new = netdev_alloc_skb(dev, size); > > > > by > > > > sb_new = alloc_skb(size, GFP_ATOMIC); > > > > Maybe the device does not like having a frame spanning 2 pages. > > No such luck. I also gave changing the page size from 16K to 4K a > shot > without success. If your hist is SMP, could you try running it with one CPU only ? Sorry, I have no more ideas :/