Bug 799930 - lockf: F_TEST always fails on gNFS
Summary: lockf: F_TEST always fails on gNFS
Keywords:
Status: CLOSED DUPLICATE of bug 799244
Alias: None
Product: GlusterFS
Classification: Community
Component: nfs
Version: pre-release
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Vinayaga Raman
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-05 12:51 UTC by Sachidananda Urs
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-04 12:31:47 UTC
Regression: ---
Mount Type: ---
Documentation: DP
CRM:
Verified Versions:


Attachments (Terms of Use)
fcntl version (717 bytes, text/x-csrc)
2012-03-05 13:14 UTC, Sachidananda Urs
no flags Details

Description Sachidananda Urs 2012-03-05 12:51:02 UTC
Description of problem:

lockf(int filedes, int function, off_t size) always fails on gNFS (works on kernel NFS and FUSE though).

Version-Release number of selected component (if applicable):

3.3.0qa25

How reproducible:

Always.

Steps to Reproduce:

Program attached.
  
Actual results:

lockf fails.

Expected results:

lockf should pass.

Comment 1 Sachidananda Urs 2012-03-05 13:14:42 UTC
Created attachment 567606 [details]
fcntl version

Comment 2 Krishna Srinivas 2012-03-08 13:36:26 UTC
This behavior was seen as kernel lockd was also running. We can close this bug. We have to document that glusterfs-NLM can not run when lockd is also running.

Comment 3 Amar Tumballi 2012-03-12 09:46:26 UTC
please update these bugs w.r.to 3.3.0qa27, need to work on it as per target milestone set.

Comment 4 Sachidananda Urs 2012-03-12 12:07:51 UTC
Works when there is no kernel NFS mount on the machine.

However, this needs to be documented. Kris, can we keep this till documentation is in place?

Comment 5 Amar Tumballi 2012-03-13 07:02:51 UTC
We can document this behavior. But we need to fix the root cause of kernel NFSv4 being present failing our NLM.

Comment 6 Vidya Sakar 2012-03-20 12:09:13 UTC
Documented in the known issues section for beta1. To be investigated for beta2.

Comment 7 Krishna Srinivas 2012-04-04 12:31:47 UTC

*** This bug has been marked as a duplicate of bug 799244 ***


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