[Gluster-devel] open-behind

Raghavendra Bhat rabhat at redhat.com
Mon Feb 11 12:15:20 UTC 2013


I have found out this behavior when open-behind is enabled.

Suppose 2 fuse clients are mounted. Create a file with some data. open 
the file, sleep for some time, (while sleeping remove the file opened 
from other client), read from the opened fd. Actually since the file 
open was successful and fd is there, read operation should be 
successful. But with open-behind even though open is successful, read is 
failing and getting EUCLEAN (structure needs cleaning).

When open-behind is turned off, then even though the file is deleted 
from other mount point after being opened, the process is able to read 
the file.

Raghavendra Bhat

More information about the Gluster-devel mailing list