transferring the freed map to the defer map should be constant time
zfs - Zettabyte File System
From George Wilson's bug report at Delphix:
In metaslab_sync_done() we have to traverse two different space_maps. Monitoring this on dcenter I noticed that we're spending more than 10ms traversing each of these. We should be able to just swap the freed_map and the defermap and avoid one of the traversals.
Updated by Christopher Siden about 7 years ago
- Status changed from In Progress to Closed
commit 9eb57f7 Author: George Wilson <email@example.com> Date: Wed Feb 20 13:30:36 2013 3578 transferring the freed map to the defer map should be constant time 3579 ztest trips assertion in metaslab_weight() Reviewed by: Matthew Ahrens <firstname.lastname@example.org> Reviewed by: Dan Kimmel <email@example.com> Reviewed by: Adam Leventhal <firstname.lastname@example.org> Reviewed by: Christopher Siden <email@example.com> Reviewed by: Richard Elling <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>