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 almost 9 years ago
- Status changed from In Progress to Closed
commit 9eb57f7 Author: George Wilson <firstname.lastname@example.org> 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 <email@example.com> Reviewed by: Dan Kimmel <firstname.lastname@example.org> Reviewed by: Adam Leventhal <email@example.com> Reviewed by: Christopher Siden <firstname.lastname@example.org> Reviewed by: Richard Elling <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>