The "unable to allocate new metadata block" error can be a particularly
verbose error if there is a systemic issue with the metadata device.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
 
        int r = sm_metadata_new_block_(sm, b);
        if (r) {
-               DMERR("unable to allocate new metadata block");
+               DMERR_LIMIT("unable to allocate new metadata block");
                return r;
        }
 
        r = sm_metadata_get_nr_free(sm, &count);
        if (r) {
-               DMERR("couldn't get free block count");
+               DMERR_LIMIT("couldn't get free block count");
                return r;
        }