diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 740126d7c44e..b5e1dcfbc5e3 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1815,6 +1815,11 @@ struct super_operations { | |||
1815 | * | 1815 | * |
1816 | * I_DIO_WAKEUP Never set. Only used as a key for wait_on_bit(). | 1816 | * I_DIO_WAKEUP Never set. Only used as a key for wait_on_bit(). |
1817 | * | 1817 | * |
1818 | * I_WB_SWITCH Cgroup bdi_writeback switching in progress. Used to | ||
1819 | * synchronize competing switching instances and to tell | ||
1820 | * wb stat updates to grab mapping->tree_lock. See | ||
1821 | * inode_switch_wb_work_fn() for details. | ||
1822 | * | ||
1818 | * Q: What is the difference between I_WILL_FREE and I_FREEING? | 1823 | * Q: What is the difference between I_WILL_FREE and I_FREEING? |
1819 | */ | 1824 | */ |
1820 | #define I_DIRTY_SYNC (1 << 0) | 1825 | #define I_DIRTY_SYNC (1 << 0) |
@@ -1834,6 +1839,7 @@ struct super_operations { | |||
1834 | #define I_DIRTY_TIME (1 << 11) | 1839 | #define I_DIRTY_TIME (1 << 11) |
1835 | #define __I_DIRTY_TIME_EXPIRED 12 | 1840 | #define __I_DIRTY_TIME_EXPIRED 12 |
1836 | #define I_DIRTY_TIME_EXPIRED (1 << __I_DIRTY_TIME_EXPIRED) | 1841 | #define I_DIRTY_TIME_EXPIRED (1 << __I_DIRTY_TIME_EXPIRED) |
1842 | #define I_WB_SWITCH (1 << 13) | ||
1837 | 1843 | ||
1838 | #define I_DIRTY (I_DIRTY_SYNC | I_DIRTY_DATASYNC | I_DIRTY_PAGES) | 1844 | #define I_DIRTY (I_DIRTY_SYNC | I_DIRTY_DATASYNC | I_DIRTY_PAGES) |
1839 | #define I_DIRTY_ALL (I_DIRTY | I_DIRTY_TIME) | 1845 | #define I_DIRTY_ALL (I_DIRTY | I_DIRTY_TIME) |