Project

General

Profile

Actions

Bug #4873

closed

zvol unmap calls can take a very long time for larger datasets

Added by Alex Reece over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2014-05-20
Due date:
% Done:

100%

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

Description

Currently, dbuf_free_range iterates over all dbufs in an object when freeing a range (since dn->dn_dbufs is a linked list). For large files, this O(n) operation can take a long time. On a customer's system, the unmap ran for more than an hour.

Actions

Also available in: Atom PDF