Project

General

Profile

Bug #2542

dmu_prefetch: zfs_prefetch_disable should not disable metaslab_prefetch

Added by Emmanuel Hocdet almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2012-03-26
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

activate zfs_prefetch_disable disable all dmu_prefetch.

For metaslab_prefetch is a very bad idea:
When zfs decide to use a new metaslab, it's not loaded.
With 2To Hard Drive and a lot of spacemap entries, activate a new metaslab can take so long time (more than ten of seconds for my case) and hang IO.

I propose a patch for this issue.


Files

dmu_prefetch-force-flag.patch (4.63 KB) dmu_prefetch-force-flag.patch Emmanuel Hocdet, 2012-03-26 02:05 PM

No data to display

Also available in: Atom PDF