We need to avoid trying O_DIRECT with virtual
devices like /dev/zero and /dev/urandom etc.
as it's not supported there, which because of
our later check, would cause O_DIRECT to be
not applied to the output device either.
Related to bug 937694
Possibly related to bug 1023755
Change-Id: I034d8345c3d00689c1f1fffcc2c110735c49ee01
Reviewed: https:/ /review. openstack. org/16798 github. com/openstack/ cinder/ commit/ 1405a6440d64652 4d41adfed4fc134 4948e2871f
Committed: http://
Submitter: Jenkins
Branch: master
commit 1405a6440d64652 4d41adfed4fc134 4948e2871f
Author: Pádraig Brady <email address hidden>
Date: Fri Nov 23 11:24:44 2012 +0000
use O_DIRECT when copying from /dev/zero too
We need to avoid trying O_DIRECT with virtual
devices like /dev/zero and /dev/urandom etc.
as it's not supported there, which because of
our later check, would cause O_DIRECT to be
not applied to the output device either.
Related to bug 937694 89c1f1fffcc2c11 0735c49ee01
Possibly related to bug 1023755
Change-Id: I034d8345c3d006