RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1873088 - [virtio-win][virtio-fs] shared file system doesn't work during fio testing on windows guest without queue-size=1024
Summary: [virtio-win][virtio-fs] shared file system doesn't work during fio testing on...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: virtio-win
Version: 9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 9.0
Assignee: Virtualization Maintenance
QA Contact: xiagao
URL:
Whiteboard:
Depends On:
Blocks: 1897024
TreeView+ depends on / blocked
 
Reported: 2020-08-27 10:39 UTC by xiagao
Modified: 2023-04-19 08:36 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-19 08:36:44 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description xiagao 2020-08-27 10:39:46 UTC
Description of problem:
Boot up vm with virtio-fs device,do fio testing in the shared file system(Z:), after a while fio tesing failed and can't access Z:

Version-Release number of selected component (if applicable):
qemu-kvm-5.1.0-2.module+el8.3.0+7652+b30e6901.x86_64
kernel-4.18.0-232.el8.x86_64
seabios-1.14.0-1.module+el8.3.0+7638+07cf13d2.x86_64
virtio-win-prewhql-189

How reproducible:
100%

Steps to Reproduce:
1. start virtiofsd daemon on host
#/usr/libexec/virtiofsd --socket-path=/tmp/vhostqemu2 -o source=/home/virtiofs_test3 -o cache=none -d

2. boot up win1032 guest with virtiofs device.
-m 4096 \
-object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm112,share=on \
-numa node,memdev=mem \
-chardev socket,id=char0,path=/tmp/vhostqemu2 \
-device vhost-user-fs-pci,chardev=char0,tag=myfs2,bus=pci.7 \

3. install winfsp tool and virtiofs driver in guest
4. copy winfsp-x86.dll(winfsp program provided) and virtiofs.exe to the same dir
5. run virtiofs.exe in the dir.
virtiofs.exe -d -1 -D -
6. open computer in guest and see a new virtioFS(z:) volume is shown.
7. run fio testing on Z:
fio.exe --name=stress --filename=Z:\\fio_data.txt --ioengine=windowsaio --rw=write --bs=4K --direct=1 --size=1G  --iodepth=256 --numjobs=128

Actual results:
1) fio testing stopped after a while.
2) could not open Z:

Expected results:
fio testing success on shared dir.

Additional info:
1. virtiofsd log on host
[633919265170703] [ID: 00000061] lo_write_buf(ino=260, size=4096, off=376832)
[633919265191453] [ID: 00000061]    unique: 559607, success, outsize: 24
[633919265197361] [ID: 00000061] virtio_send_msg: elem 0: with 1 in desc of length 24
[633919276896348] [ID: 00000003] fv_queue_thread: Got queue event on Queue 0
[633919276912007] [ID: 00000003] fv_queue_thread: Queue 0 gave evalue: 1 available: in: 24 out: 4176
[633919276921849] [ID: 00000003] fv_queue_thread: Waiting for Queue 0 event
[633919277011521] [ID: 00000018] fv_queue_worker: elem 0: with 2 out desc of length 4176
[633919277027291] [ID: 00000018] unique: 559606, opcode: WRITE (16), nodeid: 261, insize: 4176, pid: 3592
[633919277035342] [ID: 00000018] lo_write_buf(ino=261, size=4096, off=241664)
[633919277055330] [ID: 00000018]    unique: 559606, success, outsize: 24
[633919277061350] [ID: 00000018] virtio_send_msg: elem 0: with 1 in desc of length 24
[633919283386544] [ID: 00000003] fv_queue_thread: Got queue event on Queue 0
[633919283400995] [ID: 00000003] fv_queue_thread: Queue 0 gave evalue: 1 available: in: 120 out: 56
[633919283410413] [ID: 00000003] fv_queue_thread: Waiting for Queue 0 event
[633919283487002] [ID: 00000062] fv_queue_worker: elem 0: with 1 out desc of length 56
[633919283502170] [ID: 00000062] unique: 559608, opcode: GETATTR (3), nodeid: 260, insize: 56, pid: 3592
[633925223025039] [ID: 00000062]    unique: 559608, success, outsize: 120
[633925223036916] [ID: 00000062] virtio_send_msg: elem 0: with 1 in desc of length 120
[633925224937482] [ID: 00000003] fv_queue_thread: Got queue event on Queue 0
[633925224953319] [ID: 00000003] fv_queue_thread: Queue 0 gave evalue: 1 available: in: 120 out: 56
[633925224964544] [ID: 00000003] fv_queue_thread: Waiting for Queue 0 event
[633925225030087] [ID: 00000004] fv_queue_worker: elem 0: with 1 out desc of length 56
[633925225045999] [ID: 00000004] unique: 559609, opcode: GETATTR (3), nodeid: 261, insize: 56, pid: 3592
[633925225058304] [ID: 00000004]    unique: 559609, success, outsize: 120
[633925225063647] [ID: 00000004] virtio_send_msg: elem 0: with 1 in desc of length 120

Comment 1 xiagao 2020-08-28 09:16:55 UTC
Fio test on shared file system with "iodepth=32  --numjobs=16"

fio.exe --name=stress --filename=Z:\\fio_data.txt --ioengine=windowsaio --rw=write --bs=4K --direct=1 --size=1G  --iodepth=32 --numjobs=16

Comment 2 xiagao 2020-08-28 10:10:40 UTC
(In reply to xiagao from comment #1)
> Fio test on shared file system with "iodepth=32  --numjobs=16"
PASS

> 
> fio.exe --name=stress --filename=Z:\\fio_data.txt --ioengine=windowsaio
> --rw=write --bs=4K --direct=1 --size=1G  --iodepth=32 --numjobs=16

Comment 3 xiagao 2020-08-28 11:18:08 UTC
Hit a similar issue on win2012r2, fio testing quit during fio test on shared dir and create a memory dump .
http://fileshare.englab.nay.redhat.com/pub/section2/coredump/virtio-win/bz1873088/MEMORY-fio.DMP

Testing pkg version and steps are the same with comment0

Results:
fio test quit.
virtiofsd daemon quit.
memory dump is created.


(qemu)
qemu-kvm: Failed to read from slave.
qemu-kvm: Failed to set msg fds.
qemu-kvm: vhost VQ 0 ring restore failed: -1: Resource temporarily unavailable (11)
qemu-kvm: Failed to set msg fds.
qemu-kvm: vhost_set_vring_call failed: Resource temporarily unavailable (11)
qemu-kvm: Failed to set msg fds.
qemu-kvm: vhost_set_vring_call failed: Resource temporarily unavailable (11)
qemu-kvm: Failed to set msg fds.
qemu-kvm: vhost_set_features failed: Resource temporarily unavailable (11)
qemu-kvm: Error starting vhost: 11
qemu-kvm: Failed to set msg fds.
qemu-kvm: vhost_set_vring_call failed: Resource temporarily unavailable (11)



#/usr/libexec/virtiofsd --socket-path=/tmp/vhostqemu2 -o source=/home/virtiofs_test3 -o cache=none -d

[636175781697425] [ID: 00000053] lo_write_buf(ino=265, size=4096, off=201396224)
[636175781712172] [ID: 00000053]    unique: 3087015, success, outsize: 24
[636175781717507] [ID: 00000053] virtio_send_msg: elem 0: with 1 in desc of length 24
[636175782605299] [ID: 00000003] fv_queue_thread: Got queue event on Queue 0
[636175782611772] [ID: 00000003] fv_queue_thread: Queue 0 gave evalue: 1 available: in: 120 out: 56
[636175782618765] [ID: 00000003] fv_queue_thread: Waiting for Queue 0 event
[636175782625177] [ID: 00000030] fv_queue_worker: elem 0: with 1 out desc of length 56
[636175782631850] [ID: 00000030] unique: 3087016, opcode: GETATTR (3), nodeid: 265, insize: 56, pid: 1912
[636175782640562] [ID: 00000030]    unique: 3087016, success, outsize: 120
[636175782645098] [ID: 00000030] virtio_send_msg: elem 0: with 1 in desc of length 120
[636175784827075] [ID: 00000003] fv_queue_thread: Got queue event on Queue 0
[636175784841096] [ID: 00000003] fv_queue_thread: Queue 0 gave evalue: 1 available: in: 24 out: 4176
[636175784851498] [ID: 00000003] fv_queue_thread: Waiting for Queue 0 event
[636175784929545] [ID: 00000054] fv_queue_worker: elem 0: with 2 out desc of length 4176
[636175784943586] [ID: 00000054] unique: 3087017, opcode: WRITE (16), nodeid: 264, insize: 4176, pid: 1912
[636175784950903] [ID: 00000054] lo_write_buf(ino=264, size=4096, off=201084928)
[636175784967695] [ID: 00000054]    unique: 3087017, success, outsize: 24
[636175784973102] [ID: 00000054] virtio_send_msg: elem 0: with 1 in desc of length 24
[636192785802801] [ID: 00000001] virtio_loop: Got VU event
[636192785885793] [ID: 00000001] virtio_loop: Waiting for VU event
[636192785897817] [ID: 00000001] virtio_loop: Got VU event
[636192785926415] [ID: 00000001] virtio_loop: Waiting for VU event
[636192786900146] [ID: 00000001] virtio_loop: Got VU event
[636192786915878] [ID: 00000001] virtio_loop: Waiting for VU event
[636192786927280] [ID: 00000001] virtio_loop: Got VU event
[636192786943232] [ID: 00000001] virtio_loop: Waiting for VU event
[636192787672567] [ID: 00000001] virtio_loop: Got VU event
[636192787686351] [ID: 00000001] virtio_loop: Waiting for VU event
[636192787698686] [ID: 00000001] virtio_loop: Got VU event
[636192787713224] [ID: 00000001] virtio_loop: Waiting for VU event
[636192788391085] [ID: 00000001] virtio_loop: Got VU event
[636192788404425] [ID: 00000001] virtio_loop: Waiting for VU event
[636192788416145] [ID: 00000001] virtio_loop: Got VU event
[636192788428212] [ID: 00000001] virtio_loop: Waiting for VU event
[636192788439075] [ID: 00000001] virtio_loop: Got VU event
[636192788453096] [ID: 00000001] virtio_loop: Waiting for VU event
[636192789863479] [ID: 00000001] virtio_loop: Got VU event
[636192789882899] [ID: 00000001] fv_queue_set_started: qidx=0 started=0
[636192789976345] [ID: 00000003] fv_queue_thread: kill event on queue 0 - quitting
[636192790349903] [ID: 00000001] fv_remove_watch: TODO! fd=8
[636192790366748] [ID: 00000001] virtio_loop: Waiting for VU event
[636192790384866] [ID: 00000001] virtio_loop: Got VU event
[636192790396354] [ID: 00000001] virtio_loop: Waiting for VU event
[636201713963738] [ID: 00000001] virtio_loop: Got VU event
[636201714013097] [ID: 00000001] virtio_loop: Waiting for VU event
[636201714021941] [ID: 00000001] virtio_loop: Got VU event
[636201714039817] [ID: 00000001] virtio_loop: Waiting for VU event
[636201714044412] [ID: 00000001] virtio_loop: Got VU event
[636201714072585] [ID: 00000001] virtio_loop: Waiting for VU event
[636201714099239] [ID: 00000001] virtio_loop: Got VU event
[636201714135921] [ID: 00000001] virtio_loop: Waiting for VU event
[636201714146268] [ID: 00000001] virtio_loop: Got VU event
[636201714161677] [ID: 00000001] virtio_loop: Waiting for VU event
[636201714173609] [ID: 00000001] virtio_loop: Got VU event
[636201714181076] [ID: 00000001] virtio_loop: Waiting for VU event
[636201714186637] [ID: 00000001] virtio_loop: Got VU event
[636201714193297] [ID: 00000001] virtio_loop: Waiting for VU event
[636201714198540] [ID: 00000001] virtio_loop: Got VU event

Comment 4 Gal Hammer 2020-08-31 08:22:44 UTC
Which version of fio is it? Where do I download it?

I got the following results:

C:\Program Files\fio> fio.exe --name=stress --filename=Z:\\fio_data.txt --ioengine=windowsaio --rw=write --bs=4K --direct=1 --size=1G --iodepth=256 --numjobs=128
fio: this platform does not support process shared mutexes, forcing use of threads. Use the 'thread' option to get rid of this warning.
stress: (g=0): rw=write, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=windowsaio, iodepth=256
...
fio-3.22
Starting 128 threads
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
io: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
io: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
stress: Laying out IO files (2 files / total 1024MiB)
fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied


Run status group 0 (all jobs):

Comment 5 xiagao 2020-08-31 12:17:20 UTC
(In reply to Gal Hammer from comment #4)
> Which version of fio is it? Where do I download it?
I use fio-3.18.
You can get it from samba server: \\10.73.225.151\d

> 
> I got the following results:
> 
> C:\Program Files\fio> fio.exe --name=stress --filename=Z:\\fio_data.txt
> --ioengine=windowsaio --rw=write --bs=4K --direct=1 --size=1G --iodepth=256
> --numjobs=128
> fio: this platform does not support process shared mutexes, forcing use of
> threads. Use the 'thread' option to get rid of this warning.
> stress: (g=0): rw=write, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T)
> 4096B-4096B, ioengine=windowsaio, iodepth=256
> ...
> fio-3.22
> Starting 128 threads
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> io: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> io: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> stress: Laying out IO files (2 files / total 1024MiB)
> fio: pid=0, err=13/file:filesetup.c:174, func=open, error=Permission denied
> 
> 
> Run status group 0 (all jobs):

Comment 6 xiagao 2020-09-01 07:53:55 UTC
Gal, do you have admin permission to run fio command? Seems it need admin permission.

Comment 7 Gal Hammer 2020-09-02 07:35:51 UTC
(In reply to xiagao from comment #6)
> Gal, do you have admin permission to run fio command? Seems it need admin
> permission.

Yes, I have admin privileges. Or do you mean that you run fio from an Administrator command prompt?

Comment 10 Gal Hammer 2020-12-29 13:28:10 UTC
I was able to run the test successfully using the latest virtiofs driver and fio 3.25. Can you please try to verify if this bug is still reproducible?

Thanks, Gal.

Comment 11 menli@redhat.com 2021-01-06 12:47:33 UTC
Test on following build, not reproduce this issue.

qemu-kvm-5.1.0-15.module+el8.3.1+8772+a3fdeccd.x86_64
kernel-4.18.0-240.el8.x86_64
virtio-win-prewhql-191
seabios-1.14.0-1.module+el8.3.0+7638+07cf13d2.x86_64

Comment 12 menli@redhat.com 2021-01-12 06:22:37 UTC
It is strange that I not reproduce like comment 0 with the same build, will keep trying it



Thanks

Menghuan

Comment 13 Gal Hammer 2021-01-12 09:37:18 UTC
(In reply to menli from comment #12)
> It is strange that I not reproduce like comment 0 with the same build, will
> keep trying it

Do you mean with the same virtio-fs driver version?

Thanks,

    Gal.

Comment 14 menli@redhat.com 2021-01-12 09:47:55 UTC
(In reply to Gal Hammer from comment #13)
> (In reply to menli from comment #12)
> > It is strange that I not reproduce like comment 0 with the same build, will
> > keep trying it
> 
> Do you mean with the same virtio-fs driver version?
> 
> Thanks,
> 
>     Gal.

Yes, all the pkg version are the same with comment 0, but not reproduce it. Trying to figure out  what's wrong with my steps.

Comment 15 menli@redhat.com 2021-01-14 02:22:17 UTC
Hi Gal,

Not reproduce on my side, I notice the reporter got a MEMORY-fio.DMP file on comment3, could you please have a check of the dump to see if something useful when you free?

http://fileshare.englab.nay.redhat.com/pub/section2/coredump/virtio-win/bz1873088/MEMORY-fio.DMP


Thanks
Menghuan

Comment 16 menli@redhat.com 2021-01-14 11:37:19 UTC
I guess it may related to queue-size=1024  if not add queue-size=1024 like '-device vhost-user-fs-pci,chardev=char0,tag=myfs ', although I not hit the behavior like comment 0 , I try to access Z:\ to right click 'fio_data.txt', the guest will hang.

fio command on Z:

fio.exe --name=stress --filename=Z:\\fio_data.txt --ioengine=windowsaio --rw=write --bs=4K --direct=1 --size=1G  --iodepth=256 --numjobs=128

Comment 17 menli@redhat.com 2021-01-15 01:39:23 UTC
(In reply to menli from comment #16)
> I guess it may related to queue-size=1024  if not add queue-size=1024 like
> '-device vhost-user-fs-pci,chardev=char0,tag=myfs ', although I not hit the
> behavior like comment 0 , I try to access Z:\ to right click 'fio_data.txt',
> the guest will hang.
> 
> fio command on Z:
> 
> fio.exe --name=stress --filename=Z:\\fio_data.txt --ioengine=windowsaio
> --rw=write --bs=4K --direct=1 --size=1G  --iodepth=256 --numjobs=128


reproduce it as comment 3, the root cause is: not add queue-size=1024 with device  vhost-user-fs-pci
(qemu) qemu-kvm: Failed to read from slave.

[10992103909513] [ID: 00000001] virtio_loop: Waiting for VU event
[10992104912338] [ID: 00000001] virtio_loop: Got VU event
[10992104944974] [ID: 00000001] fv_queue_set_started: qidx=0 started=0
[10992105061620] [ID: 00000003] fv_queue_thread: kill event on queue 0 - quitting
[10992105902600] [ID: 00000001] fv_remove_watch: TODO! fd=8
[10992105939779] [ID: 00000001] virtio_loop: Waiting for VU event
[10992105987584] [ID: 00000001] virtio_loop: Got VU event
[10992105999636] [ID: 00000001] virtio_loop: Waiting for VU event
[10996247953606] [ID: 00000001] virtio_loop: Got VU event
[10996247996347] [ID: 00000001] virtio_loop: Waiting for VU event
[10996248024823] [ID: 00000001] virtio_loop: Got VU event
[10996248047497] [ID: 00000001] virtio_loop: Waiting for VU event
[10996248050981] [ID: 00000001] virtio_loop: Got VU event
[10996248079343] [ID: 00000001] virtio_loop: Waiting for VU event
[10996248094606] [ID: 00000001] virtio_loop: Got VU event
[10996248114857] [ID: 00000001] virtio_loop: Waiting for VU event
[10996248125933] [ID: 00000001] virtio_loop: Got VU event
[10996248138523] [ID: 00000001] virtio_loop: Waiting for VU event
[10996248150719] [ID: 00000001] virtio_loop: Got VU event
[10996248156482] [ID: 00000001] virtio_loop: Waiting for VU event
[10996248160012] [ID: 00000001] virtio_loop: Got VU event
[10996248164522] [ID: 00000001] virtio_loop: Waiting for VU event
[10996248168631] [ID: 00000001] virtio_loop: Got VU event

Comment 18 Gal Hammer 2021-01-19 07:33:23 UTC
(In reply to menli from comment #16)
> I guess it may related to queue-size=1024  if not add queue-size=1024 like
> '-device vhost-user-fs-pci,chardev=char0,tag=myfs ', although I not hit the
> behavior like comment 0 , I try to access Z:\ to right click 'fio_data.txt',
> the guest will hang.
> 
> fio command on Z:
> 
> fio.exe --name=stress --filename=Z:\\fio_data.txt --ioengine=windowsaio
> --rw=write --bs=4K --direct=1 --size=1G  --iodepth=256 --numjobs=128

To where do you add the queue-size parameter?

AFAIK the memory dump doesn't include anything useful. I download the check again.

Comment 19 menli@redhat.com 2021-01-19 07:37:55 UTC
(In reply to Gal Hammer from comment #18)
> (In reply to menli from comment #16)
> > I guess it may related to queue-size=1024  if not add queue-size=1024 like
> > '-device vhost-user-fs-pci,chardev=char0,tag=myfs ', although I not hit the
> > behavior like comment 0 , I try to access Z:\ to right click 'fio_data.txt',
> > the guest will hang.
> > 
> > fio command on Z:
> > 
> > fio.exe --name=stress --filename=Z:\\fio_data.txt --ioengine=windowsaio
> > --rw=write --bs=4K --direct=1 --size=1G  --iodepth=256 --numjobs=128
> 
> To where do you add the queue-size parameter?
> 
> AFAIK the memory dump doesn't include anything useful. I download the check
> again.

Add the queue-size parameter in device vhost-user-fs-pci 

eg:

-device vhost-user-fs-pci,queue-size=1024,chardev=char0,tag=myfs

Comment 20 menli@redhat.com 2021-02-02 10:25:37 UTC
Unable to copy large file .
https://github.com/virtio-win/kvm-guest-drivers-windows/issues/527

Track this upstream issue here.

reproduce steps:

1. start virtiofsd daemon on host
#/usr/libexec/virtiofsd --socket-path=/tmp/vhostqemu -o source=/tmp/virtiofs_test -o cache=always

2. boot up win1064 guest with virtiofs device.

-m 4G
-object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on
-numa node,memdev=mem
-chardev socket,id=char0,path=/tmp/vhostqemu
-device vhost-user-fs-pci,chardev=char0,tag=myfs \

3. install winfsp tool and virtiofs driver in guest

4. run virtiofs.exe
virtiofs.exe -D c:\virtiofs-log.txt -d -1

5. on host side:
dd if=/dev/zero of=bigfile.bin bs=2048M count=1

6. on the guest:
Run copy Z:\bigfile.bin . in cmd.exe

Actual result:
after step4, file not copy successfully.

error message:
A device attached to the system is not functioning.
        0 file(s) copied.

pkg:
qemu-kvm-5.1.0-17.module+el8.3.1+9213+7ace09c3.x86_64
seabios-bin-1.14.0-1.module+el8.3.0+7638+07cf13d2.noarch
kernel-4.18.0-240.el8.x86_64
virtio-win-prewhql-0.1-191.iso

additional info:
can not reproduce it with '-device vhost-user-fs-pci,queue-size=1024,chardev=char0,tag=myfs '

Comment 21 menli@redhat.com 2021-02-04 05:53:52 UTC
Hi Gal,
The bug ITM is ITM 16 (Mon 2021-02-22),(2021-02-12~2021-02-17 Chinese Spring festival), Could we reset ITM to confirm QE have enough time to verify this bug once bug status change to On_QA?

Thanks
Menghuan

Comment 22 menli@redhat.com 2021-02-04 06:28:18 UTC
(In reply to menli from comment #21)
> Hi Gal,
> The bug ITM is ITM 16 (Mon 2021-02-22),(2021-02-12~2021-02-17 Chinese Spring
> festival), Could we reset ITM to confirm QE have enough time to verify this
> bug once bug status change to On_QA?

sorry, the code freeze date is 02-17, so if the bug can fixed before freeze date ,ITM 16 should be okay.

The root cause for this bug shoud be 'queue-size=1024', without this parameter, will hit the issue described above.
-device vhost-user-fs-pci,chardev=char0,tag=myfs

> Thanks
> Menghuan

Comment 23 xiagao 2021-04-15 03:41:02 UTC
Hi Gal,
The bug's ITM is ITM 7 (Mon 2021-04-19) and it's status is till "Assigned",can we postpone it?

Thanks,
Xiaoling

Comment 26 xiagao 2021-06-23 01:29:03 UTC
Hi Gal,
As the ITR is set to 8.5.0, could you also set DTM?

Thanks,
Xiaoling

Comment 27 Gal Hammer 2021-07-06 07:42:41 UTC
Removing from 8.5 for now. Will get back to it when done with more relevant bugs. This issue can be resolved with not changing the queue size when doing stress tests.

Comment 36 Viktor Prutyanov 2022-04-21 08:31:24 UTC
Hi Xiaoling

How to properly install fio.exe?

I've downloaded MSI from https://bsdio.com/fio/ and installed it.
But when I run 'fio.exe' with any command-line arguments it exits immediately and nothing is written to the console.

Comment 37 xiagao 2022-04-21 09:58:10 UTC
(In reply to Viktor Prutyanov from comment #36)
> Hi Xiaoling
> 
> How to properly install fio.exe?
> 
> I've downloaded MSI from https://bsdio.com/fio/ and installed it.
> But when I run 'fio.exe' with any command-line arguments it exits
> immediately and nothing is written to the console.

Hi, Victor, I use fio-3.1 version.

Comment 38 Viktor Prutyanov 2022-04-21 16:14:44 UTC
I've run fio-3.1 with command-line from original post and it successfully ended:

Run status group 0 (all jobs):
  WRITE: bw=135MiB/s (142MB/s), 1080KiB/s-1081KiB/s (1106kB/s-1107kB/s), io=128GiB (137GB), run=970196-970595msec

After that, volume Z: continues to work normally.

It seems that one of our previous fixes fixed this issue too.

Comment 39 Viktor Prutyanov 2022-04-23 19:59:34 UTC
The issue seems to be fixed in virtio-win 0.1.217

Comment 40 Viktor Prutyanov 2022-04-23 20:03:19 UTC
Just found out that virtiofs device should be started WITHOUT queue-size=1024 to reproduce.

Comment 45 xiagao 2022-07-07 10:09:27 UTC
Run fio test on shared dir inside win2022 guest, and WITHOUT queue-size=1024 in qemu cmd line.

The result is pass.
Test version: virtio-win-prewhql-0.1-221

So set VERIFIED.


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