Lines Matching refs:prt_printf
50 prt_printf(out, "seq:\t%llu\n", seq); in bch2_journal_buf_to_text()
54 prt_printf(out, "refcount:\t%u\n", journal_state_count(s, i & JOURNAL_STATE_BUF_MASK)); in bch2_journal_buf_to_text()
58 prt_printf(out, "io:\t%pS r %i\n", cl->fn, r & CLOSURE_REMAINING_MASK); in bch2_journal_buf_to_text()
61 prt_printf(out, "size:\t"); in bch2_journal_buf_to_text()
66 prt_printf(out, "expires:\t%li jiffies\n", buf->expires - jiffies); in bch2_journal_buf_to_text()
68 prt_printf(out, "flags:\t"); in bch2_journal_buf_to_text()
100 prt_printf(out, "last buf %s\n", journal_entry_is_open(j) ? "open" : "closed"); in bch2_journal_bufs_to_text()
175 prt_printf(&buf, bch2_fmt(c, "Journal stuck! Hava a pre-reservation but journal full (error %s)"), in journal_error_check_stuck()
289 prt_printf(&err, "journal entry overran reserved space: %u > %u\n", in __journal_entry_close()
291 prt_printf(&err, "buf u64s %u u64s reserved %u cur_entry_u64s %u block_bits %u\n", in __journal_entry_close()
295 prt_printf(&err, "fatal error - emergency read only"); in __journal_entry_close()
660 prt_printf(&buf, "seq %llu\n", journal_cur_seq(j)); in __journal_res_get()
677 prt_printf(&buf, "seq %llu\n", journal_cur_seq(j)); in __journal_res_get()
757 prt_printf(&buf, bch2_fmt(c, "Journal stuck? Waited for 10 seconds, err %s"), bch2_err_str(ret)); in bch2_journal_res_get_slowpath()
1736 prt_printf(out, "flags:\t"); in __bch2_journal_debug_to_text()
1739 prt_printf(out, "dirty journal entries:\t%llu/%llu\n", fifo_used(&j->pin), j->pin.size); in __bch2_journal_debug_to_text()
1740 prt_printf(out, "seq:\t%llu\n", journal_cur_seq(j)); in __bch2_journal_debug_to_text()
1741 prt_printf(out, "seq_ondisk:\t%llu\n", j->seq_ondisk); in __bch2_journal_debug_to_text()
1742 prt_printf(out, "last_seq:\t%llu\n", journal_last_seq(j)); in __bch2_journal_debug_to_text()
1743 prt_printf(out, "last_seq_ondisk:\t%llu\n", j->last_seq_ondisk); in __bch2_journal_debug_to_text()
1744 prt_printf(out, "flushed_seq_ondisk:\t%llu\n", j->flushed_seq_ondisk); in __bch2_journal_debug_to_text()
1745 prt_printf(out, "watermark:\t%s\n", bch2_watermarks[j->watermark]); in __bch2_journal_debug_to_text()
1746 prt_printf(out, "each entry reserved:\t%u\n", j->entry_u64s_reserved); in __bch2_journal_debug_to_text()
1747 prt_printf(out, "nr flush writes:\t%llu\n", j->nr_flush_writes); in __bch2_journal_debug_to_text()
1748 prt_printf(out, "nr noflush writes:\t%llu\n", j->nr_noflush_writes); in __bch2_journal_debug_to_text()
1749 prt_printf(out, "average write size:\t"); in __bch2_journal_debug_to_text()
1752 prt_printf(out, "free buf:\t%u\n", j->free_buf ? j->free_buf_size : 0); in __bch2_journal_debug_to_text()
1753 prt_printf(out, "nr direct reclaim:\t%llu\n", j->nr_direct_reclaim); in __bch2_journal_debug_to_text()
1754 prt_printf(out, "nr background reclaim:\t%llu\n", j->nr_background_reclaim); in __bch2_journal_debug_to_text()
1755 prt_printf(out, "reclaim kicked:\t%u\n", j->reclaim_kicked); in __bch2_journal_debug_to_text()
1756 prt_printf(out, "reclaim runs in:\t%u ms\n", time_after(j->next_reclaim, now) in __bch2_journal_debug_to_text()
1758 prt_printf(out, "blocked:\t%u\n", j->blocked); in __bch2_journal_debug_to_text()
1759 prt_printf(out, "current entry sectors:\t%u\n", j->cur_entry_sectors); in __bch2_journal_debug_to_text()
1760 prt_printf(out, "current entry error:\t%s\n", bch2_err_str(j->cur_entry_error)); in __bch2_journal_debug_to_text()
1761 prt_printf(out, "current entry:\t"); in __bch2_journal_debug_to_text()
1765 prt_printf(out, "error\n"); in __bch2_journal_debug_to_text()
1768 prt_printf(out, "closed\n"); in __bch2_journal_debug_to_text()
1771 prt_printf(out, "blocked\n"); in __bch2_journal_debug_to_text()
1774 prt_printf(out, "%u/%u\n", s.cur_entry_offset, j->cur_entry_u64s); in __bch2_journal_debug_to_text()
1778 prt_printf(out, "unwritten entries:\n"); in __bch2_journal_debug_to_text()
1781 prt_printf(out, "space:\n"); in __bch2_journal_debug_to_text()
1783 prt_printf(out, "discarded\t%u:%u\n", in __bch2_journal_debug_to_text()
1786 prt_printf(out, "clean ondisk\t%u:%u\n", in __bch2_journal_debug_to_text()
1789 prt_printf(out, "clean\t%u:%u\n", in __bch2_journal_debug_to_text()
1792 prt_printf(out, "total\t%u:%u\n", in __bch2_journal_debug_to_text()
1809 prt_printf(out, "dev %u:\n", ca->dev_idx); in __bch2_journal_debug_to_text()
1810 prt_printf(out, "durability %u:\n", ca->mi.durability); in __bch2_journal_debug_to_text()
1812 prt_printf(out, "nr\t%u\n", ja->nr); in __bch2_journal_debug_to_text()
1813 prt_printf(out, "bucket size\t%u\n", ca->mi.bucket_size); in __bch2_journal_debug_to_text()
1814 …prt_printf(out, "available\t%u:%u\n", bch2_journal_dev_buckets_available(j, ja, journal_space_dis… in __bch2_journal_debug_to_text()
1815 prt_printf(out, "discard_idx\t%u\n", ja->discard_idx); in __bch2_journal_debug_to_text()
1816 …prt_printf(out, "dirty_ondisk\t%u (seq %llu)\n",ja->dirty_idx_ondisk, ja->bucket_seq[ja->dirty_idx… in __bch2_journal_debug_to_text()
1817 prt_printf(out, "dirty_idx\t%u (seq %llu)\n", ja->dirty_idx, ja->bucket_seq[ja->dirty_idx]); in __bch2_journal_debug_to_text()
1818 prt_printf(out, "cur_idx\t%u (seq %llu)\n", ja->cur_idx, ja->bucket_seq[ja->cur_idx]); in __bch2_journal_debug_to_text()
1822 …prt_printf(out, "replicas want %u need %u\n", c->opts.metadata_replicas, c->opts.metadata_replicas… in __bch2_journal_debug_to_text()