Lines Matching defs:dirty

8  * upon dirty inodes against superblocks, and writing back dirty
112 * @head: one of @wb->b_{dirty|io|more_io|dirty_time}
395 * to possibly dirty folios while PAGECACHE_TAG_WRITEBACK points to
422 * Transfer to @new_wb's IO list if necessary. If the @inode is dirty,
669 * cgwbs for those inodes only with dirty timestamps. Otherwise, those
924 * relation to the total write bandwidth of all wb's w/ dirty inodes on
953 * have dirty inodes. If @base_work->nr_page isn't %LONG_MAX, it's
1045 unsigned long dirty;
1075 * the currently dirty pages. Let's take the current dirty page
1077 * flush out most dirty pages while avoiding getting livelocked by
1083 dirty = memcg_page_state(mem_cgroup_from_css(memcg_css), NR_FILE_DIRTY);
1084 dirty = dirty * 10 / 8;
1089 work->nr_pages = dirty;
1204 * Add in the number of potentially dirty inodes, because each inode
1205 * write can dirty pagecache in the underlying blockdev.
1220 * dirty pages. Places like vmscan can call this at a very
1241 * some IO is happening if we are over background dirty threshold.
1311 * furthest end of its superblock's dirty-inode list.
1324 * When the inode is being freed just don't bother with dirty list
1384 * Move expired (dirtied before dirtied_before) dirty inodes from
1439 * Queue all expired dirty inodes for io, eldest first.
1546 * shot. If still dirty, it will be redirty_tail()'ed below. Update
1547 * the dirty time to prevent enqueue and sync it again.
1580 * retrying writeback of the dirty page/inode
1587 * Filesystems can dirty the inode during writeback operations,
1603 * Write out an inode and its dirty pages (or some of its dirty pages, depending
1604 * on @wbc->nr_to_write), and clear the relevant dirty flags from i_state.
1618 unsigned dirty;
1641 * If the inode has dirty timestamps and we need to write them, call
1654 * Get and clear the dirty flags from i_state. This needs to be done
1657 * after handling timestamp expiration, as that may dirty the inode too.
1660 dirty = inode->i_state & I_DIRTY;
1661 inode->i_state &= ~dirty;
1670 * still has dirty pages. The flag is reinstated after smp_mb() if
1682 dirty |= I_PINNING_FSCACHE_WB; /* Cause write_inode */
1689 if (dirty & ~I_DIRTY_PAGES) {
1700 * Write out an inode's dirty data and metadata on-demand, i.e. separately from
1789 * WB_SYNC_ALL mode does livelock avoidance by syncing dirty
1798 * (quickly) tag currently dirty pages
1851 * to it back onto the dirty list.
1938 * Requeue @inode if still dirty. Be careful as @inode may
2037 * all dirty pages if they are all attached to "old" mappings.
2068 * background dirty threshold
2259 * Handle writeback of dirty data for the device backed by this bdi. Also
2324 * Wakeup the flusher threads to start writeback of all currently dirty pages
2394 * __mark_inode_dirty - internal function to mark an inode dirty
2397 * @flags: what kind of dirty, e.g. I_DIRTY_SYNC. This can be a combination of
2401 * Mark an inode as dirty. We notify the filesystem, then update the inode's
2402 * dirty flags. Then, if needed we add the inode to the appropriate dirty list.
2407 * CAREFUL! We only add the inode to the dirty list if it is hashed or if it
2408 * refers to a blockdev. Unhashed inodes will never be added to the dirty list
2409 * even if they are later hashed, as they will have been marked dirty already.
2411 * In short, ensure you hash any inodes _before_ you start marking them dirty.
2487 * need to make sure following checks happen atomically with dirty
2498 * update its dirty state. Once the flush worker is done with
2507 * dirty list. Add blockdev inodes as well.
2541 * If this is the first dirty inode for this bdi,
2597 * may not be on the dirty list, but we still have to wait for that
2676 * writeback_inodes_sb_nr - writeback dirty inodes from given super_block
2694 * writeback_inodes_sb - writeback dirty inodes from given super_block
2729 * This function writes and waits on any dirty inode belonging to this
2747 * Can't skip on !bdi_has_dirty() because we should wait for !dirty
2770 * This function commits an inode to disk immediately if it is dirty. This is
2797 * Write an inode to disk and adjust its dirty state after completion.