Bug 763142 (GLUSTER-1410) - nfs uses this for child translator during frame creation
Summary: nfs uses this for child translator during frame creation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1410
Product: GlusterFS
Classification: Community
Component: nfs
Version: 3.1-alpha
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Shehjar Tikoo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-20 13:27 UTC by Shehjar Tikoo
Modified: 2015-12-01 16:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTP
Mount Type: nfs
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Shehjar Tikoo 2010-08-20 13:27:03 UTC
this must always point to the current translator.

Will put better description after I understand the problem.

Comment 1 Shehjar Tikoo 2010-08-31 08:55:23 UTC
The problem is that the frame creation logic in the nfs-fops layer creates frames with the frame root set to the child subvol over which the fop will be issued. This is wrong behaviour because when the callback returns, nfs callbacks will have this set to the child subvolume, which is incorrect. this should always be set to the translator which is handling a callback.

Comment 2 Vijay Bellur 2010-08-31 11:45:07 UTC
PATCH: http://patches.gluster.com/patch/4424 in master (nfs: Create frames with frame->root as nfsx)

Comment 3 Vijay Bellur 2010-08-31 11:45:11 UTC
PATCH: http://patches.gluster.com/patch/4427 in master (nfs, mount3: Fix assumptions of this being child xl)

Comment 4 Shehjar Tikoo 2010-09-01 02:58:54 UTC
Keeping unresolved till I figure out a way to reproduce.


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