Comment 2 for bug 1318748

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/93461
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=2448ffd53bd224564b8fca17e4cbbace2e039597
Submitter: Jenkins
Branch: master

commit 2448ffd53bd224564b8fca17e4cbbace2e039597
Author: vitas.yuzhou <email address hidden>
Date: Tue May 13 02:57:48 2014 +0800

    Check whether O_DIRECT is supported to iflag and oflag separately

    The problem is when this is used for volume clear and the clear method
    specifies use of the 'zero' option (/dev/zero) setting iflag direct is
    not a valid option for that input file, but oflag direct is a valid
    option for output file, so we should check iflag and oflag separately.

    Change-Id: I4b627e95b68d56e3011cddc577c62fad0c384dba
    Close-Bug: 1318748