diff options
Diffstat (limited to 'module/zfs')
-rw-r--r-- | module/zfs/arc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c index 1e3d47693..72a71bafd 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -9893,6 +9893,7 @@ l2arc_rebuild(l2arc_dev_t *dev) !dev->l2ad_first) goto out; + cond_resched(); for (;;) { mutex_enter(&l2arc_rebuild_thr_lock); if (dev->l2ad_rebuild_cancel) { |