Ensure fiemap ioctl calls are synchronous.

This commit is contained in:
nick
2012-09-11 15:37:13 +01:00
parent 239136064a
commit e724d83bec

View File

@@ -21,7 +21,7 @@ struct bitset_mapping* build_allocation_map(int fd, uint64_t size, int resolutio
fiemap_count->fm_start = 0;
fiemap_count->fm_length = size;
fiemap_count->fm_flags = 0;
fiemap_count->fm_flags = FIEMAP_FLAG_SYNC;
fiemap_count->fm_extent_count = 0;
fiemap_count->fm_mapped_extents = 0;