mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-12-08 00:00:12 +03:00
reconcile wait: kick reconcile
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
8010df5f2f
commit
d125e14f14
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user