Lines Matching defs:dirty

29  * ceph_snap_context for _every_ dirty page.  This indicates which
34 * count dirty pages on the inode. In the absence of snapshots,
35 * i_wrbuffer_ref == i_wrbuffer_ref_head == the dirty page count.
39 * with dirty pages (dirty pages implies there is a cap) gets a new
42 * moved to capsnap->dirty. (Unless a sync write is currently in
55 * Invalidate and so forth must take care to ensure the dirty page
83 dout("%p set_page_dirty %p idx %lu -- already dirty\n",
92 /* dirty the head */
131 * dirty page counters appropriately. Only called if there is private
145 dout("%p invalidatepage %p idx %lu partial dirty page %u~%u\n",
156 dout("%p invalidatepage %p idx %lu full dirty page\n",
498 * Get ref for the oldest snapc for an inode with dirty data... that is, the
511 dout(" cap_snap %p snapc %p has %d dirty pages\n", capsnap,
544 dout(" head snapc %p has %d dirty pages\n",
589 * dirty page accounting (i.e., page is no longer dirty).
609 dout("writepage %p page %p not dirty?\n", inode, page);
853 /* find oldest snap context with dirty data */
857 is no dirty data? */
858 dout(" no snap context with dirty data?\n");
883 * They are not writeable until we write all dirty pages
918 /* only dirty pages, or our accounting breaks */
921 dout("!dirty or !mapping %p\n", page);
1189 /* to write dirty pages associated with next snapc,
1192 start_index == 0 && /* all dirty pages were checked */
1245 * We are only allowed to write into/dirty a page if the page is
1246 * clean, or already dirty within the same snap context. Returns a
1274 * this page is already dirty in another (older) snap
1337 * We are only allowed to write into/dirty the page if the page is
1338 * clean, or already dirty within the same snap context.
1411 * except adjust dirty page accounting
1673 int dirty;
1676 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR,
1679 if (dirty)
1680 __mark_inode_dirty(inode, dirty);