Making FIEMAP and delayed allocation play well together
Making FIEMAP and delayed allocation play well together
Posted Feb 24, 2011 21:26 UTC (Thu) by corbet (editor, #1)In reply to: Making FIEMAP and delayed allocation play well together by dougg
Parent article: Making FIEMAP and delayed allocation play well together
An extent is a group of blocks in a file laid out contiguously on disk by the filesystem. It's a filesystem concept, which is what is needed to answer your questions. O_DIRECT shouldn't change anything. If your file descriptor is for a partition or a block device, there's no filesystem, so FIEMAP will make no sense. And FIEMAP cannot possibly map to a low-level SCSI operation, since there is no filesystem knowledge at that level.
