Bug 403531
| Summary: | No files over 128 bytes can be transfered by apache from CIFS mounted folder | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jeffrey R. Naujok <jester> | ||||||
| Component: | kernel | Assignee: | Jeff Layton <jlayton> | ||||||
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 8 | CC: | jonstanley, steved | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i386 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2008-01-26 03:33:17 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Jeffrey R. Naujok
2007-11-28 21:49:53 UTC
Created attachment 271831 [details]
Trace of IP where 192.168.0.49 = Windows box, 192.168.0.230 = fedora box
Thanks, I'll see if I can code up something that uses sendfile and see if we can get a reproducer for this. Created attachment 290347 [details]
test program
This is the test program I came up with. It seems to work fine on locally
mounted partitions, but when I try to use sendfile() on a CIFS mounted
partition it always returns -EOVERFLOW, regardless of the file size.
This seems like appropriate behavior though, since it consistently errors out.
I may play with apache a bit and see if I can replicate what you're seeing.
Hmm...I don't seem to be able to reproduce this behavior with apache. I always get the whole file. When I strace apache though, it's mmap'ing the file when sending it (not using sendfile). Would it be possible to have you revert the change you made to disable sendfile, run apache in single-threaded mode and strace it? i.e.: # strace -f -o /tmp/httpd.strace httpd -X ...then try to pull a >128 file via a web browser from the cifs partition. After that, kill -9 the above process and attach /tmp/httpd.strace to this case. I want to make sure I'm accurately reproducing what you're seeing. Hello, This bug has been in a state of NEEDINFO for more than 30 days. Since no further information has been entered into this report, I am closing this bug INSUFFICIENT_DATA. If you are able to provide the requested data, then please feel free to re-open this bug, and thanks for taking the time to open the original report. |