Lines Matching refs:dirty

35  * mtime), note its dirty state in the ceph_cap, and asynchronously
540 * indicating we should send a cap message to flush dirty metadata
1088 /* we want EXCL if dirty data */
1242 int op, caps, wanted, dirty;
1264 "%s %llx %llx caps %s wanted %s dirty %s seq %u/%u"
1269 ceph_cap_string(arg->dirty), arg->seq, arg->issue_seq,
1287 fc->dirty = cpu_to_le32(arg->dirty);
1430 * dirty pages _before_ allowing sync writes to avoid reordering.
1470 arg->dirty = flushing;
1545 ceph_vinop(inode), ceph_cap_string(arg->dirty),
1591 arg.dirty = capsnap->dirty;
1621 * When a snapshot is taken, clients accumulate dirty metadata on
1624 * asynchronously back to the MDS once sync writes complete and dirty
1646 * we need to wait for sync writes to complete and for dirty
1713 ceph_cap_string(capsnap->dirty));
1791 * Mark caps dirty. If inode is newly dirty, return the dirty flags.
1803 int dirty = 0;
1815 doutc(cl, "%p %llx.%llx %s dirty %s -> %s\n", inode,
1830 doutc(cl, "%p %llx.%llx now dirty snapc %p auth cap %p\n",
1839 dirty |= I_DIRTY_SYNC;
1847 dirty |= I_DIRTY_DATASYNC;
1849 return dirty;
1916 * Add dirty inode to the flushing list. Assigned a seq number so we
1943 doutc(cl, "%p %llx.%llx now !dirty\n", inode, ceph_vinop(inode));
2017 * CHECK_CAPS_FLUSH - we should flush any dirty caps immediately, without
2099 doutc(cl, "%p %llx.%llx file_want %s used %s dirty %s "
2117 !(ci->i_wb_ref || ci->i_wrbuffer_ref) && /* no dirty pages... */
2171 * must wait for the BDI's delayed work to flush the dirty
2198 /* flush anything dirty? */
2201 doutc(cl, "flushing dirty caps\n");
2284 * Try to flush dirty caps back to the auth mds.
2488 int dirty;
2501 dirty = try_flush_caps(inode, &flush_tid);
2502 doutc(cl, "dirty caps are %s\n", ceph_cap_string(dirty));
2511 if (!err && (dirty & ~CEPH_CAP_ANY_FILE_WR)) {
2529 * Flush any dirty caps back to the mds. If we aren't asked to wait,
2540 int dirty;
2549 dirty = try_flush_caps(inode, &flush_tid);
2550 if (dirty)
2627 ceph_cap_string(capsnap->dirty));
3335 * Release @nr WRBUFFER refs on dirty pages for the given @snapc snap
3336 * context. Adjust per-snap dirty page accounting as appropriate.
3337 * Once all dirty data for a cap_snap is flushed, flush snapped file
3496 int used, wanted, dirty;
3524 * If CACHE is being revoked, and we have no dirty buffers,
3525 * try to invalidate (once). (If there are dirty buffers, we
3674 dirty = __ceph_caps_dirty(ci);
3675 doutc(cl, " my wanted = %s, used = %s, dirty %s\n",
3677 ceph_cap_string(dirty));
3816 int dirty = le32_to_cpu(m->dirty);
3840 * This is a later one. Any caps in it are still dirty
3851 ceph_cap_string(dirty), ceph_cap_string(cleaned),
4027 int dirty = __ceph_caps_dirty(ci);
4033 issued |= implemented | dirty;
4639 * Make sure too many dirty caps or general
4653 * Flush all dirty caps to the mds
4820 int used, dirty;
4825 dirty = __ceph_caps_dirty(ci);
4827 doutc(cl, "%p %llx.%llx mds%d used|dirty %s drop %s unless %s\n",
4828 inode, ceph_vinop(inode), mds, ceph_cap_string(used|dirty),
4832 drop &= ~(used | dirty);
5023 " dropping dirty %s state for %p %llx.%llx\n",
5032 " dropping dirty+flushing %s state for %p %llx.%llx\n",