code: func podDiskUsage(podStats statsapi.PodStats, pod *v1.Pod, statsToMeasure []fsStatsType) (v1.ResourceList, error) {
  	disk := resource.Quantity{Format: resource.BinarySI}
  	inodes := resource.Quantity{Format: resource.DecimalSI}
  
  	containerUsageList := containerUsage(podStats, statsToMeasure)
  	disk.Add(containerUsageList[v1.ResourceEphemeralStorage])
  	inodes.Add(containerUsageList[resourceInodes])
  
  	if hasFsStatsType(statsToMeasure, fsStatsLocalVolumeSource) {
  		volumeNames := localVolumeNames(pod)
  		podLocalVolumeUsageList := podLocalVolumeUsage(volumeNames, podStats)
  		disk.Add(podLocalVolumeUsageList[v1.ResourceEphemeralStorage])
  		inodes.Add(podLocalVolumeUsageList[resourceInodes])
  	}
  	return v1.ResourceList{
  		v1.ResourceEphemeralStorage: disk,
  		resourceInodes:              inodes,
  	}, nil
  }
docs: // podDiskUsage aggregates pod disk usage and inode consumption for the specified stats to measure.