Bug 1169764 - RDMA: iozone fails with fwrite: Input/output error when write-behind translator is enabled
Summary: RDMA: iozone fails with fwrite: Input/output error when write-behind translat...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rdma
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: RHGS 3.0.3
Assignee: Mohammed Rafi KC
QA Contact: Ben Turner
URL:
Whiteboard:
Depends On:
Blocks: 1162694 1171142
TreeView+ depends on / blocked
 
Reported: 2014-12-02 12:10 UTC by Mohammed Rafi KC
Modified: 2015-05-13 17:42 UTC (History)
11 users (show)

Fixed In Version: glusterfs-3.6.0.37-1
Doc Type: Bug Fix
Doc Text:
Previously, for socket writev, all the buffers are aggregated and received at the remote end as one payload. So there is only one buffer needed to hold the data. But for rdma, the remote endpoint will read the data from client buffer as one by one. So there was no place for holding the data starting from second buffer.
Clone Of:
: 1171142 (view as bug list)
Environment:
Last Closed: 2015-01-15 13:43:05 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0038 0 normal SHIPPED_LIVE Red Hat Storage 3.0 enhancement and bug fix update #3 2015-01-15 18:35:28 UTC

Description Mohammed Rafi KC 2014-12-02 12:10:34 UTC
Description of problem:

Iozone fails for rdma type volumes if write-behind translator is enabled. After writing one block size it calls for flush . Probably it could be wrong synchronization between writev and flush.

Version-Release number of selected component (if applicable):

rhs-3.0.3

How reproducible:

Very often

Steps to Reproduce:
1.create a 1*1 rdma type volume.
2.start the volume
3.mount the volume
4.run iozone -a 2>&1 1>>/home/iozone.log 1>>/tmp/iozone

Actual results:

fwrite: Input/output error

Expected results:

should pass

Additional info:

it will pass if we disable write-behind translator.

Comment 4 Ben Turner 2015-01-05 15:20:58 UTC
Verified on glusterfs-3.6.0.37-1.

Comment 5 Shalaka 2015-01-09 10:06:45 UTC
Rafi,

Please review and sign-off edited doc text.

Comment 6 Mohammed Rafi KC 2015-01-09 10:09:04 UTC
looks good.

Comment 8 errata-xmlrpc 2015-01-15 13:43:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0038.html


Note You need to log in before you can comment on or make changes to this bug.