Re: NFS corruption, fixed by echo 1 > /proc/sys/vm/drop_caches -- next debugging steps?
From: Eric Dumazet
Date: Sat Dec 09 2017 - 16:37:17 EST
On Sat, 2017-12-09 at 13:03 -0800, Matt Turner wrote:
> On Fri, Dec 8, 2017 at 1:16 PM, Eric Dumazet <eric.dumazet@xxxxxxxxx>
> 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 :/