bcachefs: Factor out progress.[ch]
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 6 Feb 2025 20:59:28 +0000 (15:59 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 15 Mar 2025 01:02:12 +0000 (21:02 -0400)
commitbaabeb499758706a9093c610c5d97cf6de5f649a
tree46047c07c28a8a6bd3d60395b9c3303144cb26cc
parent06284963e3d86c5e0cf56982c2d947eeb0f30871
bcachefs: Factor out progress.[ch]

the backpointers code has progress indicators; these aren't great, since
they print to the dmesg console and we much prefer to have progress
indicators reporting to a specific userspace program so they're not
spamming the system console.

But not all codepaths that need progress indicators support that yet,
and we don't want users to think "this is hung".

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/Makefile
fs/bcachefs/backpointers.c
fs/bcachefs/backpointers.h
fs/bcachefs/progress.c [new file with mode: 0644]
fs/bcachefs/progress.h [new file with mode: 0644]