Red Hat Bugzilla – Bug 800735
NLM on IPv6 does not work as expected
Last modified: 2014-03-30 21:28:49 EDT
Description of problem:
- Open a file and lock a certain region and write data.
- Allow another process to lock the file, it should block - blocks.
- Check data to ensure that it has blocked.
- Now unlock the region and the other process should lock and write data
Unlocks but the other process does not lock the file and write data. Process goes into D state.
The same exercise works on FUSE, local FS, and Kernel NFS.
Find the attached program.
Version-Release number of selected component (if applicable):
Always. Program attached.
Created attachment 568142 [details]
Program to test locks
This is because pmap_getport does not support AF_INET6. doing "ifconfig eth0 del <ipv6 addr>" fixes the behavior seen above.
Need to investigate on IPv6 support for NLM, for now making it work on Ipv4 only for QA.
CHANGE: http://review.gluster.com/2909 (nlm: support ipv4 only) merged in master by Vijay Bellur (firstname.lastname@example.org)
Works on latest code, but not sure whether to close this. Since the fix is not complete but just a work around for now.
Kris/Divya can you confirm if this is documented. If so, I can mark this as verified.
I have added it as Known Issue in Release Notes and it is available on the staging server at: http://documentation-stage.bne.redhat.com/docs/en-US/Red_Hat_Storage/2/html/2.0_Release_Notes/chap-Release_Notes-Known_Issues.html