Introduce BP_IS_METADATA macro to ZFS
It's quite annoying to use "BP_GET_LEVEL(bp) > 0) || (dmu_ot[BP_GET_TYPE(bp)].ot_metadata" construction every time you
need to determine whether block pointer points to data or to metadata.
Tiny patch (attached) introduces BP_IS_METADATA(bp) macro that looks not as scaring as the construction above while does the same.
No data to display