]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/recovery.c
Update bcachefs sources to 504729f99c bcachefs: Allow answering y or n to all fsck...
[bcachefs-tools-debian] / libbcachefs / recovery.c
index 8cc8af6d29ef0ad6106a8b151627be14edc67a73..91a66b5916eb7ed0d2629c0ee64424678ae7ec3b 100644 (file)
@@ -543,6 +543,8 @@ static int journal_keys_sort(struct bch_fs *c)
                if (!i || i->ignore)
                        continue;
 
+               cond_resched();
+
                for_each_jset_key(k, entry, &i->j) {
                        if (keys->nr == keys->size) {
                                __journal_keys_sort(keys);