Holger Hoffstaette <[email protected]> : [...] > Maybe turning off sendfile or NAPI just lead to random success - so far it > really looks like tso on the r8169 is the common cause. TSO on the r8169 is the magic switch but the regression makes imvho more sense from a VM pov: - the corrupted file has the same size as the expected file - the corrupted file exhibits holes which come as a multiple of 4096 bytes (8*4k, 2 places, there may be more) - the r8169 driver does not know what a page is - the 8169 hardware has a small 8192 bytes Tx buffer It would be nice if someone could do a sendfile + vsftp test with TSO on a different hardware. While I could not reproduce the corruption when simply downloading a file that I had copied on the server with scp, it triggered almost immediately after I copied it locally and tried to download the copy. -- Ueimor -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: Reproducible data corruption with sendfile+vsftp - splice regression?
- From: "Holger Hoffstaette" <[email protected]>
- Re: Reproducible data corruption with sendfile+vsftp - splice regression?
- From: "Holger Hoffstaette" <[email protected]>
- Re: Reproducible data corruption with sendfile+vsftp - splice regression?
- From: Mark Lord <[email protected]>
- Re: Reproducible data corruption with sendfile+vsftp - splice regression?
- References:
- Reproducible data corruption with sendfile+vsftp - splice regression?
- From: "Holger Hoffstaette" <[email protected]>
- Re: Reproducible data corruption with sendfile+vsftp - splice regression?
- From: Eric Dumazet <[email protected]>
- Re: Reproducible data corruption with sendfile+vsftp - splice regression?
- From: "Holger Hoffstaette" <[email protected]>
- Re: Reproducible data corruption with sendfile+vsftp - splice regression?
- From: Rick Jones <[email protected]>
- Re: Reproducible data corruption with sendfile+vsftp - splice regression?
- From: "Holger Hoffstaette" <[email protected]>
- Re: Reproducible data corruption with sendfile+vsftp - splice regression?
- From: "Holger Hoffstaette" <[email protected]>
- Re: Reproducible data corruption with sendfile+vsftp - splice regression?
- From: Francois Romieu <[email protected]>
- Re: Reproducible data corruption with sendfile+vsftp - splice regression?
- From: "Holger Hoffstaette" <[email protected]>
- Reproducible data corruption with sendfile+vsftp - splice regression?
- Prev by Date: Re: 2.6.24-rc4-mm1 kobject changes broken with hvcs driver on powerpc
- Next by Date: Re: git guidance
- Previous by thread: Re: Reproducible data corruption with sendfile+vsftp - splice regression?
- Next by thread: Re: Reproducible data corruption with sendfile+vsftp - splice regression?
- Index(es):