Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

random data returned when reading removed extended atrribute #82

Open
ghost opened this issue Jun 1, 2012 · 1 comment
Open

random data returned when reading removed extended atrribute #82

ghost opened this issue Jun 1, 2012 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Jun 1, 2012

user$ cat .xattr.d.file/user.foo
bar
user$ file file
file: ASCII text

[ remove extended attribute from the underlying filesystem ]

user$ cat .xattr.d.file/user.foo
0xD00BD10B.01000000.A8670000.00000000.E5AF0000.02000000.00001000.04000000.78460400.00000000.00000000.00000000.00000000.1E000000.63970800.00000000.00000000.00000000.00000000.0C000000.ED390400.00000000.00000000.00000000.00000000.1C000000.3AB70800.00000000.00000000.00000000.00000000.08000000
@phdeniel
Copy link
Owner

phdeniel commented Jun 1, 2012

It sounds like the xattr disappeared for a "non rmxattrr" reason (the xattr is obsolete and was removed by a client application of the FS that supports xattr, but without notification to ganesha). So the client keeps a stale handle on the xattr fake file and tries using it.
This needs further investigation.

was4 pushed a commit to linuxbox2/nfs-ganesha that referenced this issue Oct 31, 2017
 * svc_xprt_lookup without rpc_dplx lock inversion
 * svc_xprt_shutdown without rpc_dplx lock inversion
 * atomic_postclear SVC_XPRT_FLAG_CLOSE in destroy_task(s)
 * Close in destroy_task(s)

Change-Id: I3a21b410b8dd9010e931002462587bd187b073d5
Signed-off-by: William Allen Simpson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant