Lines Matching full:metadata

19 #include "dm-clone-metadata.h"
21 #define DM_MSG_PREFIX "clone metadata"
31 /* Min and max dm-clone metadata versions supported */
36 * On-disk metadata layout
70 * In order to track which regions are hydrated during a metadata transaction,
73 * tracks the regions that got hydrated during the current metadata
78 * current metadata transaction and update the metadata accordingly, when we
80 * only commit the metadata of regions that were properly flushed to the
89 * During a metadata commit we scan dmap->dirty_words and dmap->dirty_regions
90 * and update the on-disk metadata accordingly. Thus, we don't have to flush to
95 * metadata commit. Moreover, as dm-bitset also accesses the on-disk bitmap in
101 * inserts significant metadata I/O overhead in dm-clone's I/O path. Also, as
106 * We maintain two dirty bitmap sets. During a metadata commit we atomically
107 * swap the currently used dmap with the unused one. This allows the metadata
117 /* The metadata block device */
210 /* Check metadata version */ in sb_check()
214 DMERR("Clone metadata version %u found, but only versions between %u and %u supported.", in sb_check()
271 * Low-level metadata handling.
297 /* Save dm-clone metadata in superblock */
309 /* Save the metadata space_map root */ in __prepare_superblock()
336 DMERR("Region and/or target size don't match the ones in metadata"); in __open_metadata()
558 DMERR("Failed to allocate memory for dm-clone metadata"); in dm_clone_metadata_open()
714 /* Save the metadata in superblock */ in __metadata_commit()
908 * exception is after setting the metadata to read-only mode, using
955 /* If something went wrong we can neither write nor read the metadata */ in dm_clone_metadata_abort()