Lines Matching refs:cl

206 	struct ceph_client *cl = mdsc->fsc->client;  in ceph_reserve_caps()  local
217 doutc(cl, "ctx=%p need=%d\n", ctx, need); in ceph_reserve_caps()
277 pr_warn_client(cl, "ctx=%p ENOMEM need=%d got=%d\n", ctx, need, in ceph_reserve_caps()
303 doutc(cl, "ctx=%p %d = %d used + %d resv + %d avail\n", ctx, in ceph_reserve_caps()
312 struct ceph_client *cl = mdsc->fsc->client; in ceph_unreserve_caps() local
317 doutc(cl, "ctx=%p count=%d\n", ctx, ctx->count); in ceph_unreserve_caps()
334 struct ceph_client *cl = mdsc->fsc->client; in ceph_get_cap() local
366 doutc(cl, "ctx=%p (%d) %d = %d used + %d resv + %d avail\n", ctx, in ceph_get_cap()
389 struct ceph_client *cl = mdsc->fsc->client; in ceph_put_cap() local
392 doutc(cl, "%p %d = %d used + %d resv + %d avail\n", cap, in ceph_put_cap()
581 struct ceph_client *cl = ceph_inode_to_client(inode); in __check_cap_issue() local
607 doutc(cl, " marking %p NOT complete\n", inode); in __check_cap_issue()
657 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_add_cap() local
666 doutc(cl, "%p %llx.%llx mds%d cap %llx %s seq %d\n", inode, in ceph_add_cap()
746 doutc(cl, "issued %s, mds wanted %s, actual %s, queueing\n", in ceph_add_cap()
765 doutc(cl, "inode %p %llx.%llx cap %p %s now %s seq %d mds%d\n", in ceph_add_cap()
790 struct ceph_client *cl = cap->session->s_mdsc->fsc->client; in __cap_is_valid() local
798 doutc(cl, "%p %llx.%llx cap %p issued %s but STALE (gen %u vs %u)\n", in __cap_is_valid()
815 struct ceph_client *cl = ceph_inode_to_client(inode); in __ceph_caps_issued() local
826 doutc(cl, "%p %llx.%llx cap %p issued %s\n", inode, in __ceph_caps_issued()
872 struct ceph_client *cl = s->s_mdsc->fsc->client; in __touch_cap() local
876 doutc(cl, "%p %llx.%llx cap %p mds%d\n", inode, in __touch_cap()
880 doutc(cl, "%p %llx.%llx cap %p mds%d NOP, iterating over caps\n", in __touch_cap()
894 struct ceph_client *cl = ceph_inode_to_client(inode); in __ceph_caps_issued_mask() local
900 doutc(cl, "mask %p %llx.%llx snap issued %s (mask %s)\n", in __ceph_caps_issued_mask()
911 doutc(cl, "mask %p %llx.%llx cap %p issued %s (mask %s)\n", in __ceph_caps_issued_mask()
923 doutc(cl, "mask %p %llx.%llx combo issued %s (mask %s)\n", in __ceph_caps_issued_mask()
1124 struct ceph_client *cl = session->s_mdsc->fsc->client; in __ceph_remove_cap() local
1132 doutc(cl, "inode is NULL\n"); in __ceph_remove_cap()
1138 doutc(cl, "%p from %p %llx.%llx\n", cap, inode, ceph_vinop(inode)); in __ceph_remove_cap()
1151 doutc(cl, "delaying %p removal from session %p\n", cap, in __ceph_remove_cap()
1396 struct ceph_client *cl = ceph_inode_to_client(inode); in __prep_cap() local
1405 doutc(cl, "%p %llx.%llx cap %p session %p %s -> %s (revoking %s)\n", in __prep_cap()
1524 struct ceph_client *cl = ceph_inode_to_client(inode); in __send_cap() local
1529 pr_err_client(cl, in __send_cap()
1623 struct ceph_client *cl = mdsc->fsc->client; in __ceph_flush_snaps() local
1628 doutc(cl, "%p %llx.%llx session %p\n", inode, ceph_vinop(inode), in __ceph_flush_snaps()
1644 doutc(cl, "already flushed %p, skipping\n", capsnap); in __ceph_flush_snaps()
1676 doutc(cl, "%p %llx.%llx auth cap %p not mds%d, stop\n", in __ceph_flush_snaps()
1698 doutc(cl, "%p %llx.%llx capsnap %p tid %llu %s\n", inode, in __ceph_flush_snaps()
1705 pr_err_client(cl, "error sending cap flushsnap, " in __ceph_flush_snaps()
1721 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_flush_snaps() local
1726 doutc(cl, "%p %llx.%llx\n", inode, ceph_vinop(inode)); in ceph_flush_snaps()
1732 doutc(cl, " no capsnap needs flush, doing nothing\n"); in ceph_flush_snaps()
1736 doutc(cl, " no auth cap (migrating?), doing nothing\n"); in ceph_flush_snaps()
1742 doutc(cl, " oops, wrong session %p mutex\n", session); in ceph_flush_snaps()
1788 struct ceph_client *cl = ceph_inode_to_client(inode); in __ceph_mark_dirty_caps() local
1795 pr_warn_client(cl, "%p %llx.%llx mask %s, " in __ceph_mark_dirty_caps()
1802 doutc(cl, "%p %llx.%llx %s dirty %s -> %s\n", inode, in __ceph_mark_dirty_caps()
1817 doutc(cl, "%p %llx.%llx now dirty snapc %p auth cap %p\n", in __ceph_mark_dirty_caps()
1913 struct ceph_client *cl = ceph_inode_to_client(inode); in __mark_caps_flushing() local
1924 doutc(cl, "flushing %s, flushing_caps %s -> %s\n", in __mark_caps_flushing()
1930 doutc(cl, "%p %llx.%llx now !dirty\n", inode, ceph_vinop(inode)); in __mark_caps_flushing()
1961 struct ceph_client *cl = ceph_inode_to_client(inode); in try_nonblocking_invalidate() local
1973 doutc(cl, "%p %llx.%llx success\n", inode, in try_nonblocking_invalidate()
1979 doutc(cl, "%p %llx.%llx failed\n", inode, ceph_vinop(inode)); in try_nonblocking_invalidate()
2013 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_check_caps() local
2088 doutc(cl, "%p %llx.%llx file_want %s used %s dirty %s " in ceph_check_caps()
2112 doutc(cl, "trying to invalidate on %p %llx.%llx\n", in ceph_check_caps()
2115 doutc(cl, "queuing invalidate\n"); in ceph_check_caps()
2143 doutc(cl, " mds%d cap %p used %s issued %s implemented %s revoking %s\n", in ceph_check_caps()
2152 doutc(cl, "completed revocation of %s\n", in ceph_check_caps()
2174 doutc(cl, "force to flush caps\n"); in ceph_check_caps()
2183 doutc(cl, "requesting new max_size\n"); in ceph_check_caps()
2189 doutc(cl, "i_size approaching max_size\n"); in ceph_check_caps()
2196 doutc(cl, "flushing dirty caps\n"); in ceph_check_caps()
2200 doutc(cl, "flushing snap caps\n"); in ceph_check_caps()
2362 struct ceph_client *cl = ceph_inode_to_client(inode); in flush_mdlog_and_wait_inode_unsafe_requests() local
2452 doutc(cl, "%p %llx.%llx wait on tid %llu %llu\n", inode, in flush_mdlog_and_wait_inode_unsafe_requests()
2480 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_fsync() local
2485 doutc(cl, "%p %llx.%llx%s\n", inode, ceph_vinop(inode), in ceph_fsync()
2497 doutc(cl, "dirty caps are %s\n", ceph_cap_string(dirty)); in ceph_fsync()
2518 doutc(cl, "%p %llx.%llx%s result=%d\n", inode, ceph_vinop(inode), in ceph_fsync()
2532 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_write_inode() local
2538 doutc(cl, "%p %llx.%llx wait=%d\n", inode, ceph_vinop(inode), wait); in ceph_write_inode()
2568 struct ceph_client *cl = mdsc->fsc->client; in __kick_flushing_caps() local
2594 pr_err_client(cl, "%p auth cap %p not mds%d ???\n", in __kick_flushing_caps()
2604 doutc(cl, "%p %llx.%llx cap %p tid %llu %s\n", in __kick_flushing_caps()
2620 doutc(cl, "%p %llx.%llx capsnap %p tid %llu %s\n", in __kick_flushing_caps()
2630 pr_err_client(cl, "error sending cap flushsnap," in __kick_flushing_caps()
2646 struct ceph_client *cl = mdsc->fsc->client; in ceph_early_kick_flushing_caps() local
2651 doutc(cl, "mds%d\n", session->s_mds); in ceph_early_kick_flushing_caps()
2663 pr_err_client(cl, "%p %llx.%llx auth cap %p not mds%d ???\n", in ceph_early_kick_flushing_caps()
2698 struct ceph_client *cl = mdsc->fsc->client; in ceph_kick_flushing_caps() local
2705 doutc(cl, "mds%d\n", session->s_mds); in ceph_kick_flushing_caps()
2717 pr_err_client(cl, "%p %llx.%llx auth cap %p not mds%d ???\n", in ceph_kick_flushing_caps()
2765 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_take_cap_refs() local
2789 doutc(cl, "%p %llx.%llx wb %d -> %d (?)\n", inode, in ceph_take_cap_refs()
2818 struct ceph_client *cl = ceph_inode_to_client(inode); in try_get_cap_refs() local
2823 doutc(cl, "%p %llx.%llx need %s want %s\n", inode, in try_get_cap_refs()
2832 doutc(cl, "%p %llx.%llx error filelock\n", inode, in try_get_cap_refs()
2853 doutc(cl, "%p %llx.%llx endoff %llu > maxsize %llu\n", in try_get_cap_refs()
2864 doutc(cl, "%p %llx.%llx cap_snap_pending\n", inode, in try_get_cap_refs()
2883 doutc(cl, "%p %llx.%llx have %s but not %s (revoking %s)\n", in try_get_cap_refs()
2925 doutc(cl, "%p %llx.%llx need %s but mds%d readonly\n", in try_get_cap_refs()
2933 doutc(cl, "%p %llx.%llx inode is shutdown\n", in try_get_cap_refs()
2940 doutc(cl, "%p %llx.%llx need %s > mds_wanted %s\n", in try_get_cap_refs()
2947 doutc(cl, "%p %llx.%llx have %s need %s\n", inode, in try_get_cap_refs()
2964 doutc(cl, "%p %llx.%llx ret %d got %s\n", inode, in try_get_cap_refs()
2977 struct ceph_client *cl = ceph_inode_to_client(inode); in check_max_size() local
2983 doutc(cl, "write %p %llx.%llx at large endoff %llu, req max_size\n", in check_max_size()
3201 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_try_drop_cap_snap() local
3205 doutc(cl, "%p follows %llu\n", capsnap, capsnap->follows); in ceph_try_drop_cap_snap()
3236 struct ceph_client *cl = ceph_inode_to_client(inode); in __ceph_put_cap_refs() local
3259 doutc(cl, "%p %llx.%llx wb %d -> %d (?)\n", inode, in __ceph_put_cap_refs()
3300 doutc(cl, "%p %llx.%llx had %s%s%s\n", inode, ceph_vinop(inode), in __ceph_put_cap_refs()
3346 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_put_wrbuffer_cap_refs() local
3370 doutc(cl, "on %p %llx.%llx head %d/%d -> %d/%d %s\n", in ceph_put_wrbuffer_cap_refs()
3403 doutc(cl, "%p %llx.%llx cap_snap %p snap %lld %d/%d -> %d/%d %s%s\n", in ceph_put_wrbuffer_cap_refs()
3431 struct ceph_client *cl = ceph_inode_to_client(inode); in invalidate_aliases() local
3434 doutc(cl, "%p %llx.%llx\n", inode, ceph_vinop(inode)); in invalidate_aliases()
3493 struct ceph_client *cl = ceph_inode_to_client(inode); in handle_cap_grant() local
3519 doutc(cl, "%p %llx.%llx cap %p mds%d seq %d %s\n", inode, in handle_cap_grant()
3522 doutc(cl, " size %llu max_size %llu, i_size %llu\n", size, in handle_cap_grant()
3583 doutc(cl, "%p %llx.%llx mode 0%o uid.gid %d.%d\n", inode, in handle_cap_grant()
3591 pr_warn_ratelimited_client(cl, in handle_cap_grant()
3611 doutc(cl, " got new xattrs v%llu on %p %llx.%llx len %d\n", in handle_cap_grant()
3663 doutc(cl, "max_size %lld -> %llu\n", ci->i_max_size, in handle_cap_grant()
3678 doutc(cl, " my wanted = %s, used = %s, dirty %s\n", in handle_cap_grant()
3701 doutc(cl, "revocation: %s -> %s (revoking %s)\n", in handle_cap_grant()
3723 doutc(cl, "caps unchanged: %s -> %s\n", in handle_cap_grant()
3727 doutc(cl, "grant: %s -> %s\n", ceph_cap_string(cap->issued), in handle_cap_grant()
3818 struct ceph_client *cl = mdsc->fsc->client; in handle_cap_flush_ack() local
3855 doutc(cl, "%p %llx.%llx mds%d seq %d on %s cleaned %s, flushing %s -> %s\n", in handle_cap_flush_ack()
3879 doutc(cl, " mds%d still flushing cap on %p %llx.%llx\n", in handle_cap_flush_ack()
3884 doutc(cl, " %p %llx.%llx now !flushing\n", inode, in handle_cap_flush_ack()
3888 doutc(cl, " %p %llx.%llx now clean\n", inode, in handle_cap_flush_ack()
3928 struct ceph_client *cl = mdsc->fsc->client; in __ceph_remove_capsnap() local
3933 doutc(cl, "removing capsnap %p, %p %llx.%llx ci %p\n", capsnap, in __ceph_remove_capsnap()
3974 struct ceph_client *cl = mdsc->fsc->client; in handle_cap_flushsnap_ack() local
3980 doutc(cl, "%p %llx.%llx ci %p mds%d follows %lld\n", inode, in handle_cap_flushsnap_ack()
3987 doutc(cl, " cap_snap %p follows %lld " in handle_cap_flushsnap_ack()
3996 doutc(cl, " skipping cap_snap %p follows %lld\n", in handle_cap_flushsnap_ack()
4026 struct ceph_client *cl = ceph_inode_to_client(inode); in handle_cap_trunc() local
4049 doutc(cl, "%p %llx.%llx mds%d seq %d to %lld truncate seq %d\n", in handle_cap_trunc()
4069 struct ceph_client *cl = mdsc->fsc->client; in handle_cap_export() local
4088 doutc(cl, " cap %llx.%llx export to peer %d piseq %u pmseq %u\n", in handle_cap_export()
4109 pr_err_ratelimited_client(cl, "issued != implemented: " in handle_cap_export()
4123 doutc(cl, " updating import cap %p mds%d\n", tcap, in handle_cap_export()
4205 struct ceph_client *cl = mdsc->fsc->client; in handle_cap_import() local
4230 doutc(cl, " cap %llx.%llx import from peer %d piseq %u pmseq %u\n", in handle_cap_import()
4257 doutc(cl, " remove export cap %p mds%d flags %d\n", in handle_cap_import()
4262 pr_err_ratelimited_client(cl, "mismatched seq/mseq: " in handle_cap_import()
4331 struct ceph_client *cl = mdsc->fsc->client; in ceph_handle_caps() local
4451 doutc(cl, " caps mds%d op %s ino %llx.%llx inode %p seq %u iseq %u mseq %u\n", in ceph_handle_caps()
4458 doutc(cl, " i don't have ino %llx\n", vino.ino); in ceph_handle_caps()
4513 doutc(cl, " no cap on %p ino %llx.%llx from mds%d\n", in ceph_handle_caps()
4553 pr_err_client(cl, "unknown cap op %d %s\n", op, in ceph_handle_caps()
4595 pr_err_client(cl, "corrupt message\n"); in ceph_handle_caps()
4609 struct ceph_client *cl = mdsc->fsc->client; in ceph_check_delayed_caps() local
4617 doutc(cl, "begin\n"); in ceph_check_delayed_caps()
4624 doutc(cl, "caps added recently. Exiting loop"); in ceph_check_delayed_caps()
4636 doutc(cl, "on %p %llx.%llx\n", inode, in ceph_check_delayed_caps()
4652 doutc(cl, "done\n"); in ceph_check_delayed_caps()
4663 struct ceph_client *cl = mdsc->fsc->client; in flush_dirty_session_caps() local
4667 doutc(cl, "begin\n"); in flush_dirty_session_caps()
4674 doutc(cl, "%p %llx.%llx\n", inode, ceph_vinop(inode)); in flush_dirty_session_caps()
4682 doutc(cl, "done\n"); in flush_dirty_session_caps()
4696 struct ceph_client *cl = mdsc->fsc->client; in flush_cap_releases() local
4698 doutc(cl, "begin\n"); in flush_cap_releases()
4703 doutc(cl, "done\n"); in flush_cap_releases()
4844 struct ceph_client *cl = ceph_inode_to_client(inode); in ceph_encode_inode_release() local
4854 doutc(cl, "%p %llx.%llx mds%d used|dirty %s drop %s unless %s\n", in ceph_encode_inode_release()
4878 doutc(cl, "%p %llx.%llx cap %p %s -> %s, " in ceph_encode_inode_release()
4893 doutc(cl, "%p %llx.%llx cap %p %s (force)\n", in ceph_encode_inode_release()
4910 doutc(cl, "%p %llx.%llx cap %p %s (noop)\n", in ceph_encode_inode_release()
4937 struct ceph_client *cl; in ceph_encode_dentry_release() local
4957 cl = ceph_inode_to_client(dir); in ceph_encode_dentry_release()
4961 doutc(cl, "%p mds%d seq %d\n", dentry, mds, in ceph_encode_dentry_release()
4983 struct ceph_client *cl = mdsc->fsc->client; in remove_capsnaps() local
4989 doutc(cl, "removing capsnaps, ci is %p, %p %llx.%llx\n", in remove_capsnaps()
5009 struct ceph_client *cl = fsc->client; in ceph_purge_inode_cap() local
5017 doutc(cl, "removing cap %p, ci is %p, %p %llx.%llx\n", in ceph_purge_inode_cap()
5045 pr_warn_ratelimited_client(cl, in ceph_purge_inode_cap()
5054 pr_warn_ratelimited_client(cl, in ceph_purge_inode_cap()
5080 pr_warn_ratelimited_client(cl, in ceph_purge_inode_cap()