| Summary: | windows iozone causes posix writev to fail | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Krishna Srinivas <krishna> |
| Component: | posix | Assignee: | Vijay Bellur <vbellur> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | urgent | ||
| Version: | mainline | CC: | chida, gluster-bugs, shehjart, vijay |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Windows | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | RTP | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Krishna Srinivas
2010-05-06 23:19:44 UTC
I see you're using mainline. Can you try a git pull and use the latest head from the mainline. A recent patch has removed the use of lseek from posix_writev completely. That patch is: http://git.gluster.com/?p=glusterfs.git;a=commitdiff;h=b0ed997cda2195e9178cbaa96d26976aa6dd2acf PATCH: http://patches.gluster.com/patch/3241 in release-3.0 (storage/posix: Use off_t for return value from lseek()) (In reply to comment #1) > I see you're using mainline. Can you try a git pull and use the latest head > from the mainline. A recent patch has removed the use of lseek from > posix_writev completely. > > That patch is: > http://git.gluster.com/?p=glusterfs.git;a=commitdiff;h=b0ed997cda2195e9178cbaa96d26976aa6dd2acf Avati's patch above will take care of existing customers on 3.0 But you have mentioned that recent iothreads patch can cause same file to be written by different threads, how do you take care of writes not to overtake each other? or fsync not to overtake write? |