jtgans / tsumufs

An NFS caching layer for Linux
GNU General Public License v2.0
0 stars 0 forks source link

no attributes stat and utime for cacheManager #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. When I create a file with "touch" command

What is the expected output? What do you see instead?

 *** Unhandled exception occurred
Type: <type 'exceptions.AttributeError'>
Value: 'CacheManager' object has no attribute 'stat'
fusethread.py(884) in utime: result = tsumufs.cacheManager.stat(path, True)

If I comment the cacheMananager.stat call, another exception occured:

*** Unhandled exception occurred
Type: <type 'exceptions.AttributeError'>
Value: 'CacheManager' object has no attribute 'utime'
Traceback: /lib/tsumufs/fusethread.py(886) in utime:
tsumufs.cacheManager.utime(path, times)

Original issue reported on code.google.com by megab...@gmail.com on 15 Jun 2009 at 12:53

GoogleCodeExporter commented 9 years ago
I have tried to resolved that issue but did'nt found any solution.
In fact, no matter you type in fusethread.utime function, touch command will 
throw
utimensat system call. This system call return ERANGE error : Numerical result 
out of
range.

Even if I write in utime function:

# @benchmark
#   def utime(self, path, times):
#     return True

... utimensat system call is called
Is this could be a fuse bug?

Original comment by megab...@gmail.com on 18 Jun 2009 at 11:06