[Kernel-packages] [Bug 1243636] Re: ecryptfs currupts files over 4GB size on i686

2013-10-25 Thread Lars Düsing
Patch works for me on 3.12-rc6. Thanks Colin and Tyler! -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1243636 Title: ecryptfs currupts files over 4GB size on i686 Status in eCryptfs:

[Kernel-packages] [Bug 1243636] Re: ecryptfs currupts files over 4GB size on i686

2013-10-24 Thread Tyler Hicks
** Summary changed: - ecryptfs currupts files over 4GB size + ecryptfs currupts files over 4GB size on i686 ** Changed in: ecryptfs Status: Triaged = In Progress ** Changed in: linux (Ubuntu) Status: Triaged = In Progress -- You received this bug notification because you are a

[Kernel-packages] [Bug 1243636] Re: ecryptfs currupts files over 4GB size on i686

2013-10-24 Thread Colin King
Tyler, the attached diff helps me read/write files over 4GB. I think some of the changes may be redundant, so I'm checking to see what is the minimal set of changes required. ** Patch added: 32-bit-fixes.diff

[Kernel-packages] [Bug 1243636] Re: ecryptfs currupts files over 4GB size on i686

2013-10-24 Thread Colin King
Tyler, reduced it down to a one line fix. Tested with a 0.5GB, 2GB, 4GB, 8GB, 32GB test file with a sanity check on each byte. Patch attached below. Not yet tested with ecryptfs tests, but it looks like the root issue. ** Patch added: potential fix

[Kernel-packages] [Bug 1243636] Re: ecryptfs currupts files over 4GB size on i686

2013-10-24 Thread Joseph Salisbury
** Tags added: tasty -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1243636 Title: ecryptfs currupts files over 4GB size on i686 Status in eCryptfs: In Progress Status in “linux”

[Kernel-packages] [Bug 1243636] Re: ecryptfs currupts files over 4GB size on i686

2013-10-24 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1243636 Title: ecryptfs currupts files over 4GB size on i686 Status in eCryptfs: In Progress Status in “linux”

[Kernel-packages] [Bug 1243636] Re: ecryptfs currupts files over 4GB size on i686

2013-10-24 Thread Tyler Hicks
Thanks Colin! As I mentioned in IRC, I came up with the same patch last night and successfully ran tests against it overnight. We'll go with your patch since it already has a commit message. I targeted it for 3.11+ stable and will push it to Linus today. I'll also get the Ubuntu SRU prepared. --

[Kernel-packages] [Bug 1243636] Re: ecryptfs currupts files over 4GB size on i686

2013-10-24 Thread Tyler Hicks
** Description changed: + [SRU Justification] + + Commit 24d15266bd86b7961f309a962fa3aa177a78c49f introduced a data corruption + regression on 32 bit architectures when writing past the 4 GB. + + [Impact] + + 32 bit users experience corruption of large files. + + [Fix] + + A cast is needed