@@ -290,18 +290,23 @@ unsigned long bch2_copygc_wait_amount(struct bch_fs *c)
290
290
291
291
void bch2_copygc_wait_to_text (struct printbuf * out , struct bch_fs * c )
292
292
{
293
- prt_printf (out , "Currently waiting for: " );
293
+ printbuf_tabstop_push (out , 32 );
294
+ prt_printf (out , "running:\t%u\n" , c -> copygc_running );
295
+ prt_printf (out , "copygc_wait:\t%llu\n" , c -> copygc_wait );
296
+ prt_printf (out , "copygc_wait_at:\t%llu\n" , c -> copygc_wait_at );
297
+
298
+ prt_printf (out , "Currently waiting for:\t" );
294
299
prt_human_readable_u64 (out , max (0LL , c -> copygc_wait -
295
300
atomic64_read (& c -> io_clock [WRITE ].now )) << 9 );
296
301
prt_newline (out );
297
302
298
- prt_printf (out , "Currently waiting since: " );
303
+ prt_printf (out , "Currently waiting since:\t " );
299
304
prt_human_readable_u64 (out , max (0LL ,
300
305
atomic64_read (& c -> io_clock [WRITE ].now ) -
301
306
c -> copygc_wait_at ) << 9 );
302
307
prt_newline (out );
303
308
304
- prt_printf (out , "Currently calculated wait: " );
309
+ prt_printf (out , "Currently calculated wait:\t " );
305
310
prt_human_readable_u64 (out , bch2_copygc_wait_amount (c ));
306
311
prt_newline (out );
307
312
}
0 commit comments