Bug 1343549 - libglusterfs: Negate all but O_DIRECT flag if present on anon fds
Summary: libglusterfs: Negate all but O_DIRECT flag if present on anon fds
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: core
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.1.3
Assignee: Krutika Dhananjay
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 1311817
TreeView+ depends on / blocked
 
Reported: 2016-06-07 12:45 UTC by Krutika Dhananjay
Modified: 2016-09-17 14:36 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.7.9-10
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-23 05:26:23 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1240 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 Update 3 2016-06-23 08:51:28 UTC

Description Krutika Dhananjay 2016-06-07 12:45:34 UTC
Description of problem:

This is to prevent any unforeseen problems that might arise due to writevs and readvs being wound with @flag parameter containing O_TRUNC or O_APPEND especially wrt translators like sharding and ec where O_TRUNC write or O_APPEND write on individual shards/fragments is not the same as O_TRUNC write or O_APPEND write as expected by the application.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Atin Mukherjee 2016-06-08 04:00:26 UTC
An upstream patch http://review.gluster.org/#/c/14665/ is posted for review.

Comment 6 Atin Mukherjee 2016-06-10 04:28:59 UTC
Downstream patch https://code.engineering.redhat.com/gerrit/#/c/76078/ is merged now.

Comment 8 SATHEESARAN 2016-06-13 10:14:06 UTC
Tested with RHGS 3.1.3 nightly build - glusterfs-3.7.9-10.elrhgs with the following test

1. Created replica 3 volume and optimized the volume for virt-store
2. Disabled remote-dio & enable strict-o-direct on the volume
3. Created the RHEV data domain with the above created volume
4. Created 30 Application VMs
5. Ran the 100% write workload ( random write ) on  all the VMs using FIO tool
6. Repeated the test twice and there are no issues found

Comment 10 errata-xmlrpc 2016-06-23 05:26:23 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://access.redhat.com/errata/RHBA-2016:1240


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