1 #ifndef _LINUX_CLEANCACHE_H
2 #define _LINUX_CLEANCACHE_H
8 #define CLEANCACHE_KEY_MAX 6
47 #ifdef CONFIG_CLEANCACHE
50 return page->
mapping->host->i_sb->cleancache_poolid >= 0;
54 return mapping->
host->i_sb->cleancache_poolid >= 0;
57 #define cleancache_enabled (0)
58 #define cleancache_fs_enabled(_page) (0)
59 #define cleancache_fs_enabled_mapping(_page) (0)
87 static inline int cleancache_get_page(
struct page *
page)
96 static inline void cleancache_put_page(
struct page *page)
110 static inline void cleancache_invalidate_inode(
struct address_space *mapping)
116 static inline void cleancache_invalidate_fs(
struct super_block *sb)