Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1268347
Summary: | posix_fallocate emulation on NFS fails with Bad file descriptor if fd is opened O_WRONLY | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Ademar Reis <areis> |
Component: | qemu-kvm | Assignee: | Kevin Wolf <kwolf> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.7 | CC: | ailan, areis, ashankar, bfields, chayang, huding, juzhang, knoel, kwolf, mkenneth, mnewsome, pfrankli, rbalakri, rjones, virt-bugs, virt-maint, xfu, xiagao, zhguo |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-0.12.1.2-2.484.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1265196 | Environment: | |
Last Closed: | 2016-05-10 21:01:11 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1265196 | ||
Bug Blocks: | 910269, 1268345 |
Description
Ademar Reis
2015-10-02 15:06:00 UTC
This is upstream commit 73ba05d9. Fix included in qemu-kvm-0.12.1.2-2.484.el6 Reproduce the issue on qemu-kvm-0.12.1.2-2.483.el6.x86_64: # qemu-img create -f qcow2 -o preallocation=falloc disk.img 262144 Formatting 'disk.img', fmt=qcow2 size=262144 encryption=off cluster_size=65536 preallocation='falloc' Could not preallocate data for the new file: Bad file descriptor disk.img: error while creating qcow2: Bad file descriptor Verified on qemu-kvm version:qemu-img-0.12.1.2-2.484.el6.x86_64, image create successfully: #qemu-img create -f qcow2 -o preallocation=falloc disk.img 262144 Formatting 'disk.img', fmt=qcow2 size=262144 encryption=off cluster_size=65536 preallocation='falloc' # 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-2016-0815.html |