-
Notifications
You must be signed in to change notification settings - Fork 60
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
Cache error ? #44
Comments
Hello, As I understand, you are confused by the log messages which mention "cache". This is ok, as we are accessing caching subsystem code (it prints "Reading from cache") and cache returns "0 bytes available" for a requested part. |
Hello, my use-case:
Now i rewrite rio-config (and total reload\unmount RioFS):
Problem dirty solved, |
Thank you for the test case, I'll check and see how it works for me! |
Is this still open? If so, can I ask about the current knowledge of the caching system? |
I can't reproduce this issue on my side. If anyone's managed to get this error - please attach log file, so I could analyze it. |
Hi, recently I have implemented RioFS on ubuntu 16.0.4 LTE. I have configured RIOFS as follows ERROR! [ino: 305] Failed to create / open file for writing! Path: /tmp/cache/BdoSIvoV6b69ejy1n8sJ/cache_mng_305 what does it mean. It is not able to create cache files on the disk ? |
Hello, |
yes, disk was filled. too many logs are getting generated. I have set Cache to true, and I can see couple of files in /tmp/cache folder. Do I need to manually clear the files form cache folder or RioFs will automatically clear them ? |
My Cache directory is going off after one day and riofs is not able to create cache folder. where can I need to set permissions to make sure that cache directory gets created automatically and also sub folders. |
@wizzard after every 24 hours, the cache directory is going off. once I restart riofs, then the folder gets created and riofs works normally. from logs I can see lots of [con: 0x1ece270]. |
v0.6, Centos 6:
i use config where cache object set to False,
but in log i see usage cache:
..................
02:27:02 [fio](fileio_read_on_head_cb file_io_ops.c:872) [ino: 10] Remote file size: 100
02:27:02 [fio](fileio_read_on_head_cb file_io_ops.c:912) [ino: 10] MD5 sums match, using local cached file!
02:27:02 [fio](fileio_read_get_buf file_io_ops.c:824) [ino: 10] requesting [0: 100], file size: 100
02:27:02 [cmng](cache_mng_retrieve_file_buf cache_mng.c:309) [ino: 10] Read [0:100] bytes, result: OK
02:27:02 [fio](fileio_read_on_cache_cb file_io_ops.c:783) [ino: 10] Reading from cache
02:27:02 [dir_tree](dir_tree_on_buffer_read_cb dir_tree.c:1357) [ino: 10, frop: 0x1208150] file READ_cb !
02:27:02 [fuse](rfuse_read_cb rfuse.c:684) [req: 0x11d3f90] <<<<< read_cb success: YES IN buf: 100
.........
/////////////////////////////////////////////////////////////////////////
.....
-1
-1
<dir_mode type="int">-1</dir_mode>
<file_mode type="int">-1</file_mode>
The text was updated successfully, but these errors were encountered: