reconcile wait: kick reconcile

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2025-11-21 00:27:39 -05:00
parent 8010df5f2f
commit d125e14f14

View File

@ -499,6 +499,8 @@ int cmd_reconcile_wait(int argc, char *argv[])
struct bchfs_handle fs = bcache_fs_open(fs_path);
write_file_str(fs.sysfs_fd, "internal/trigger_reconcile_wakeup", "1");
while (true) {
CLASS(printbuf, buf)();
bool pending = reconcile_status(&buf, fs, types);