What is ZAP ?
The ZAP (ZFS Attribute Processor) is a module which sits on top of the DMU and operates on objects called ZAP objects. ZAP objects are used to store properties for a dataset, navigate filesystem objects, store pool properties and more. ZAP objects come in two forms; microzap objects and fatzap objects. Microzap objects are a lightweight version of the fatzap and provide a simple and fast lookup mechanism for a small number of attribute entries. The fatzap is better suited for ZAP objects containing large numbers of attributes.