Lines Matching defs:dirty

31  * ceph_snap_context for _every_ dirty page.  This indicates which
36 * count dirty pages on the inode. In the absence of snapshots,
37 * i_wrbuffer_ref == i_wrbuffer_ref_head == the dirty page count.
41 * with dirty pages (dirty pages implies there is a cap) gets a new
44 * moved to capsnap->dirty. (Unless a sync write is currently in
57 * Invalidate and so forth must take care to ensure the dirty page
87 dout("%p dirty_folio %p idx %lu -- already dirty\n",
96 /* dirty the head */
134 * dirty folio counters appropriately. Only called if there is private
148 dout("%p invalidate_folio idx %lu partial dirty page %zu~%zu\n",
155 dout("%p invalidate_folio idx %lu full dirty page\n",
558 * Get ref for the oldest snapc for an inode with dirty data... that is, the
571 dout(" cap_snap %p snapc %p has %d dirty pages\n", capsnap,
604 dout(" head snapc %p has %d dirty pages\n",
654 * dirty page accounting (i.e., page is no longer dirty).
681 dout("writepage %p page %p not dirty?\n", inode, page);
974 /* find oldest snap context with dirty data */
978 is no dirty data? */
979 dout(" no snap context with dirty data?\n");
1004 * They are not writeable until we write all dirty pages
1042 /* only dirty pages, or our accounting breaks */
1045 dout("!dirty or !mapping %p\n", page);
1358 /* to write dirty pages associated with next snapc,
1361 start_index == 0 && /* all dirty pages were checked */
1416 * We are only allowed to write into/dirty a page if the page is
1417 * clean, or already dirty within the same snap context. Returns a
1445 * this page is already dirty in another (older) snap
1495 * We are only allowed to write into/dirty the page if the page is
1496 * clean, or already dirty within the same snap context.
1519 * except adjust dirty page accounting
1757 int dirty;
1759 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR,
1762 if (dirty)
1763 __mark_inode_dirty(inode, dirty);
1929 int dirty;
1931 /* Set to CAP_INLINE_NONE and dirty the caps */
1935 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR, &prealloc_cf);
1938 if (dirty)
1939 __mark_inode_dirty(inode, dirty);