We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b64a331 commit 14b9d09Copy full SHA for 14b9d09
fs/cachefiles/cache.c
@@ -49,7 +49,13 @@ int cachefiles_add_cache(struct cachefiles_cache *cache)
49
goto error_unsupported;
50
}
51
52
- /* check parameters */
+ /* Check features of the backing filesystem:
53
+ * - Directories must support looking up and directory creation
54
+ * - We use xattrs to store metadata
55
+ * - We need to be able to query the amount of space available
56
+ * - We want to be able to sync the filesystem when stopping the cache
57
+ * - We use DIO to/from pages, so the blocksize mustn't be too big.
58
+ */
59
ret = -EOPNOTSUPP;
60
if (d_is_negative(root) ||
61
!d_backing_inode(root)->i_op->lookup ||
0 commit comments