Bug 742201
| Summary: | files written over an NFS share get padded with zeroes on PPC64 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karsten Hopp <karsten> |
| Component: | kernel | Assignee: | Steve Dickson <steved> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | gansalmon, itamar, jlayton, jonathan, kernel-maint, madhu.chinakonda |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | powerpc | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-28 10:20:13 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 718272 | ||
|
Description
Karsten Hopp
2011-09-29 11:35:05 UTC
Steve and Jay, any ideas? IIRC, ppc64 has 64k pages, right? It would be interesting to see if this commit helps:
commit f13c3620a4d1123dbf032f93f350b856ef292ced
Author: Trond Myklebust <Trond.Myklebust>
Date: Mon Sep 12 11:47:53 2011 -0400
NFS: Fix a typo in nfs_flush_multi
Fix a typo which causes an Oops in the RPC layer, when using wsize < 4k.
Signed-off-by: Trond Myklebust <Trond.Myklebust>
Tested-by: Sricharan R <r.sricharan>
...currently the code does a wsize write even when there's less data to be written. nfs_flush_multi is only used when the wsize is less than the PAGE_CACHE_SIZE.
(In reply to comment #2) > IIRC, ppc64 has 64k pages, right? It would be interesting to see if this commit > helps: We recently switched Fedora to 64K pages, yes. I don't remember exactly which NVR that happened in. > commit f13c3620a4d1123dbf032f93f350b856ef292ced > Author: Trond Myklebust <Trond.Myklebust> > Date: Mon Sep 12 11:47:53 2011 -0400 > > NFS: Fix a typo in nfs_flush_multi OK. That is in rc7 I believe, so it should be easy enough to build and test. (Aside, I suck for calling you Jay. My apologies Jeff.) ------- Comment From baude.com 2011-10-27 12:09 EDT------- reverse mirror bug I've verified that this is fixed in 3.1.0-0.rc8.git0.0.fc16.kh.ppc64 |