Lines Matching defs:writeback_control
68 struct writeback_control { struct
69 long nr_to_write; /* Write this many pages, and decrement
71 long pages_skipped; /* Pages which were not written */
78 loff_t range_start;
79 loff_t range_end;
81 enum writeback_sync_modes sync_mode;
83 unsigned for_kupdate:1; /* A kupdate writeback */
84 unsigned for_background:1; /* A background writeback */
85 unsigned tagged_writepages:1; /* tag-and-write to avoid livelock */
86 unsigned for_reclaim:1; /* Invoked from the page allocator */
87 unsigned range_cyclic:1; /* range_start is cyclic */
88 unsigned for_sync:1; /* sync(2) WB_SYNC_ALL writeback */
90 struct bdi_writeback *wb; /* wb this writeback is issued under */
91 struct inode *inode; /* inode being written out */
94 int wb_id; /* current wb id */
95 int wb_lcand_id; /* last foreign candidate wb id */
96 int wb_tcand_id; /* this foreign candidate wb id */
97 size_t wb_bytes; /* bytes written by current wb */
98 size_t wb_lcand_bytes; /* bytes written by last candidate */
99 size_t wb_tcand_bytes; /* bytes written by this candidate */