19.7. Directory Operations
- Listing of directories (recursive)
- Creating files
- Deleting files
- Renaming files
19.7.1. Enabling Metadata Caching
- Execute the following command to enable metadata caching and cache invalidation:
# gluster volume set <volname> group metadata-cacheThis is group set option which sets multiple volume options in a single command.
- To increase the number of files that can be cached, execute the following command:
# gluster volume set <VOLNAME> network.inode-lru-limit <n>n, is set to 50000. It can be increased if the number of active files in the volume is very high. Increasing this number increases the memory footprint of the brick processes.