Lines Matching refs:dirty

8  * upon dirty inodes against superblocks, and writing back dirty
112 * @head: one of @wb->b_{dirty|io|more_io|dirty_time}
145 * This function is used when the first inode for this wb is marked dirty. It
147 * periodic background write-out of dirty inodes. Since the write-out would
420 * to possibly dirty folios while PAGECACHE_TAG_WRITEBACK points to
447 * Transfer to @new_wb's IO list if necessary. If the @inode is dirty,
694 * cgwbs for those inodes only with dirty timestamps. Otherwise, those
949 * relation to the total write bandwidth of all wb's w/ dirty inodes on
978 * have dirty inodes. If @base_work->nr_page isn't %LONG_MAX, it's
1070 unsigned long dirty;
1100 * the currently dirty pages. Let's take the current dirty page
1102 * flush out most dirty pages while avoiding getting livelocked by
1108 dirty = memcg_page_state(mem_cgroup_from_css(memcg_css), NR_FILE_DIRTY);
1109 dirty = dirty * 10 / 8;
1114 work->nr_pages = dirty;
1229 * Add in the number of potentially dirty inodes, because each inode
1230 * write can dirty pagecache in the underlying blockdev.
1245 * dirty pages. Places like vmscan can call this at a very
1266 * some IO is happening if we are over background dirty threshold.
1336 * furthest end of its superblock's dirty-inode list.
1349 * When the inode is being freed just don't bother with dirty list
1409 * Move expired (dirtied before dirtied_before) dirty inodes from
1464 * Queue all expired dirty inodes for io, eldest first.
1571 * shot. If still dirty, it will be redirty_tail()'ed below. Update
1572 * the dirty time to prevent enqueue and sync it again.
1605 * retrying writeback of the dirty page/inode
1612 * Filesystems can dirty the inode during writeback operations,
1628 * Write out an inode and its dirty pages (or some of its dirty pages, depending
1629 * on @wbc->nr_to_write), and clear the relevant dirty flags from i_state.
1643 unsigned dirty;
1666 * If the inode has dirty timestamps and we need to write them, call
1679 * Get and clear the dirty flags from i_state. This needs to be done
1682 * after handling timestamp expiration, as that may dirty the inode too.
1685 dirty = inode->i_state & I_DIRTY;
1686 inode->i_state &= ~dirty;
1695 * still has dirty pages. The flag is reinstated after smp_mb() if
1707 dirty |= I_PINNING_NETFS_WB; /* Cause write_inode */
1714 if (dirty & ~I_DIRTY_PAGES) {
1725 * Write out an inode's dirty data and metadata on-demand, i.e. separately from
1814 * WB_SYNC_ALL mode does livelock avoidance by syncing dirty
1823 * (quickly) tag currently dirty pages
1876 * to it back onto the dirty list.
1963 * Requeue @inode if still dirty. Be careful as @inode may
2062 * all dirty pages if they are all attached to "old" mappings.
2093 * background dirty threshold
2284 * Handle writeback of dirty data for the device backed by this bdi. Also
2349 * Wakeup the flusher threads to start writeback of all currently dirty pages
2419 * __mark_inode_dirty - internal function to mark an inode dirty
2422 * @flags: what kind of dirty, e.g. I_DIRTY_SYNC. This can be a combination of
2426 * Mark an inode as dirty. We notify the filesystem, then update the inode's
2427 * dirty flags. Then, if needed we add the inode to the appropriate dirty list.
2432 * CAREFUL! We only add the inode to the dirty list if it is hashed or if it
2433 * refers to a blockdev. Unhashed inodes will never be added to the dirty list
2434 * even if they are later hashed, as they will have been marked dirty already.
2436 * In short, ensure you hash any inodes _before_ you start marking them dirty.
2512 * need to make sure following checks happen atomically with dirty
2523 * update its dirty state. Once the flush worker is done with
2532 * dirty list. Add blockdev inodes as well.
2566 * If this is the first dirty inode for this bdi,
2622 * may not be on the dirty list, but we still have to wait for that
2701 * writeback_inodes_sb_nr - writeback dirty inodes from given super_block
2719 * writeback_inodes_sb - writeback dirty inodes from given super_block
2754 * This function writes and waits on any dirty inode belonging to this
2772 * Can't skip on !bdi_has_dirty() because we should wait for !dirty
2795 * This function commits an inode to disk immediately if it is dirty. This is
2822 * Write an inode to disk and adjust its dirty state after completion.