Bug 763906 (GLUSTER-2174)

Summary: fio crashed on a fuse mount
Product: [Community] GlusterFS Reporter: Ansgar Jazdzewski <ansgarj>
Component: fuseAssignee: shishir gowda <sgowda>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 3.1.1CC: amarts, divya, gluster-bugs, nsathyan, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTP Mount Type: fuse
Documentation: DA CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Amar Tumballi 2010-12-02 08:10:13 UTC
This can is directly related to handling of 'O_DIRECT' flag over glusterfs mount point.

  bash# dd if=/dev/zero of=$gluster_mount/testfile oflag=direct bs=128k count=1

Comment 1 Ansgar Jazdzewski 2010-12-02 10:22:53 UTC
hi

i try to get some informations about my gluster setup so i use

fio /usr/share/doc/fio/exsamples/iometer-file-access-server

after a wihle it crached the log form glusterfs is normal

err=22/file:filesetup.c:455, func=open(iometer.1.0) error=Invalid argument

my setup

Volume Name: deployer
Type: Distributed-Replicate
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: gluster01:/data/deployer
Brick2: gluster02:/data/deployer
Brick3: gluster03:/data/deployer
Brick4: gluster04:/data/deployer

Comment 2 shishir gowda 2011-01-07 02:52:54 UTC
Fuse does not support O_DIRECT mode.
Until fuse supports it, O_DIRECT ops will fail.

Comment 3 Divya 2011-03-17 06:02:02 UTC
Added the following information in 3.1.3 Release Notes (Known Issues section):
FIO crashes on a fuse mount - FIO application crashes on gluster, because fuse does not support O_DIRECT flags for opens over the mount point. For more information, see bug 763906.