Bug 1697316

Summary: Getting SEEK-2 and SEEK7 errors with [Invalid argument] in the bricks' logs
Product: [Community] GlusterFS Reporter: Niels de Vos <ndevos>
Component: coreAssignee: Niels de Vos <ndevos>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-11 04:37:45 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:    
Bug Blocks: 1696903    

Description Niels de Vos 2019-04-08 10:55:50 UTC
Description of problem:
seeing thousands of SEEK* errors in two bricks' logs on one particular node, gluster02.example.com.

The following shows the start of the errors:

[server-rpc-fops.c:2091:server_seek_cbk] 0-vol01-server: 4947: SEEK-2 (53920aee-062c-4598-aa50-2b4d7821b204), client: worker.example.com-7808-2019/02/08-18:04:57:903430-vol01-client-0-0-0, error-xlator: vol01-posix [Invalid argument]

Version-Release number of selected component (if applicable):
glusterfs server 3.12.2 on el6

How reproducible:
Run an application on an el7 gluster client, against a glusterfs server on el6. The application should call lseek() with whence=SEEK_HOLE/SEEK_DATA.

Actual results:
glusterfs server on el6 fills the brick logs, disk can run out of space quickly

Expected results:
no logging if this is correct behaviour, limit logging in case it is an error.

Comment 1 Worker Ant 2019-04-08 10:59:54 UTC
REVIEW: https://review.gluster.org/22526 (core: only log seek errors if SEEK_HOLE/SEEK_DATA is available) posted (#1) for review on master by Niels de Vos

Comment 2 Worker Ant 2019-04-11 04:37:45 UTC
REVIEW: https://review.gluster.org/22526 (core: only log seek errors if SEEK_HOLE/SEEK_DATA is available) merged (#3) on master by Amar Tumballi