]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/dmu_traverse.c
Sequential scrub and resilvers
[mirror_zfs.git] / module / zfs / dmu_traverse.c
index 64e7d2f7777caf3db974e8f7a2885017adb6dd1a..280e0ee347e9c71881bdf4a6e15f9ce1c0a5d7d9 100644 (file)
@@ -520,7 +520,8 @@ traverse_prefetcher(spa_t *spa, zilog_t *zilog, const blkptr_t *bp,
 {
        prefetch_data_t *pfd = arg;
        int zio_flags = ZIO_FLAG_CANFAIL | ZIO_FLAG_SPECULATIVE;
-       arc_flags_t aflags = ARC_FLAG_NOWAIT | ARC_FLAG_PREFETCH;
+       arc_flags_t aflags = ARC_FLAG_NOWAIT | ARC_FLAG_PREFETCH |
+           ARC_FLAG_PRESCIENT_PREFETCH;
 
        ASSERT(pfd->pd_bytes_fetched >= 0);
        if (bp == NULL)