Replace stat->size into stat->physical_size and stat->logical_size