bcachefs: Improved copygc wait debugging
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 17 Mar 2023 13:59:17 +0000 (09:59 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:58 +0000 (17:09 -0400)
commit0fb11e0801962007adef5b628fec0f334e5358f2
treef7d68d18360f3c2600d572611d2457fb9bbfa066
parent11f117374a2a353c378f8eccff8904d209643695
bcachefs: Improved copygc wait debugging

This just adds a line for how long copygc has been waiting to sysfs
copygc_wait, helpful for debugging why copygc isn't running.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bcachefs.h
fs/bcachefs/movinggc.c