Hide Forgot
Unless I'm just missing it, neither file size parameter is checked to see if it exceeds the cache size in io-cache.c:validate_options.
max_file_size and min_file_size are bounds on the size of files that the user wants glusterfs to cache. Its a way by which user can selectively turn caching off. OTOH, cache_size is the amount of memory user sets aside for glusterfs to use for caching files. {min, max}_file_size and cache_size are independent of each other. Closing the bug as invalid.