Bug 1172458

Summary: fio: end_fsync failed for file FS_4k_streaming_writes.1.0 unsupported operation
Product: [Community] GlusterFS Reporter: Kiran Patil <kiran>
Component: libgfapiAssignee: bugs <bugs>
Status: CLOSED EOL QA Contact: Sudhir D <sdharane>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6.1CC: bugs, ndevos, srangana
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-30 12:52:28 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:

Description Kiran Patil 2014-12-10 05:33:57 UTC
Description of problem:
I am getting the error "fio: end_fsync failed for file FS_4k_streaming_writes.1.0 unsupported operation" while running with libgfapi on gluster volume.

How reproducible:
Always

Steps to Reproduce:

1. install gluster v3.6.1 one machine 1 (Ex: 192.168.1.246)

2. install fio from https://github.com/axboe/fio on machine 2 (Ex: 192.168.1.245)

3. # fio $args --output=4k_stream_writes.log --section=FS_4k_streaming_writes --ioengine=gfapi --volume=vol1 --brick=192.168.1.246 fsmb.fio

Actual results:
fio: end_fsync failed for file FS_4k_streaming_writes.1.0
unsupported operation.(1),W(1),_(1)] [87.8% done] [0KB/117.2MB/0KB /s] [0/30.3K/0 iops] [eta 00m:05s]
fio: end_fsync failed for file FS_4k_streaming_writes.2.0
unsupported operation.(3)] [94.9% done] [0KB/116.4MB/0KB /s] [0/29.7K/0 iops] [eta 00m:02s]          
fio: end_fsync failed for file FS_4k_streaming_writes.0.0
unsupported operation.[33.8% done] [0KB/118.2MB/0KB /s] [0/15.2K/0 iops] [eta 00m:43s]


Expected results:
Fio should complete with flying numbers (bandwidth, iops, ...) :)

Additional info:

fsmb.fio file content
------------------------
[FS_4k_streaming_writes]
name=seqwrite4
numjobs=4
rw=write
bs=4k
size=1g
iodepth=16
group_reporting
end_fsync=1

Thanks.

Comment 1 Kiran Patil 2014-12-10 10:30:26 UTC
With fuse mount it works fine.

Comment 2 Kiran Patil 2014-12-17 05:07:06 UTC
Fio has fixes for it and it needs to be tested.

gluster: wire up sync/datasync opcodes 

https://github.com/axboe/fio/commit/656955ebe92b443148f8d8925737651330814825

Comment 3 Kaleb KEITHLEY 2016-08-30 12:52:28 UTC
gfapi has long since wired up sync/datasync opcodes. Closing as 3.6 is reaching EOL.

If this is still an issue please reopen (or open a new bug) and assign to a current version.