]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes an issue with 'dd' bug from Illumos repo
authorMikhail Khodos <mikhail.khodos@nexenta.com>
Tue, 17 Jun 2014 20:01:26 +0000 (00:01 +0400)
committerMikhail Khodos <mikhail.khodos@nexenta.com>
Wed, 18 Jun 2014 06:11:26 +0000 (10:11 +0400)
commit46f3b9912af501aed5a2d914183110303f1c9cc5
tree6d7880178b979709e4023d7026904415a4b629b3
parent2355c7935054b6f6fbc7e641d289a0efd52a8c63
Fixes an issue with 'dd' bug from Illumos repo

The Illumos version of 'dd' never stops in case of count=0.
Thus 'truncate' should be used for creating a sparsed file.

Change-Id: I7a1840e2c43a27c648e5f65c2a87286311a34516
cinder/tests/test_nexenta.py
cinder/volume/drivers/nexenta/nfs.py