mm: implement writeback livelock avoidance using page tagging
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / linux / fs.h
index e5106e4..488efec 100644 (file)
@@ -687,6 +687,7 @@ struct block_device {
  */
 #define PAGECACHE_TAG_DIRTY    0
 #define PAGECACHE_TAG_WRITEBACK        1
+#define PAGECACHE_TAG_TOWRITE  2
 
 int mapping_tagged(struct address_space *mapping, int tag);