Message ID | bug-201173-201763-obG255pYHJ@https.bugzilla.kernel.org/ (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | [Bug,201173,xfstests,xfs/137] : xfs_repair hang when it trying to repair a 500t xfs | expand |
diff --git a/repair/prefetch.c b/repair/prefetch.c index 9571b24..c9a0748 100644 --- a/repair/prefetch.c +++ b/repair/prefetch.c @@ -768,8 +768,11 @@ pf_queuing_worker( * might get stuck on a buffer that has been locked * and added to the I/O queue but is waiting for * the thread to be woken. + * Start processing as well, in case everything so + * far was already prefetched and the queue is empty. */ pf_start_io_workers(args); + pf_start_processing(args); sem_wait(&args->ra_count); }