Re: ext4 extents: How to determine if an extent points to a hole.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Peter,

On Tue, Sep 15, 2009 at 7:15 AM, Peter Teoh <htmldeveloper@xxxxxxxxx> wrote:
> just to share what i have read, based on "lwn.net surfing":
>
> From the article that started it all:
>
> http://lwn.net/Articles/260795/
>
> From the specs, if u used ioctl() with FIEMAP_EXTENT_HOLE it will keep
> returning u the next hole.
>
> http://lwn.net/Articles/297696/
> http://lwn.net/Articles/260803/
> http://lwn.net/Articles/332610/
> http://lwn.net/Articles/275722/
>
> a few of the articles above have userspace program that shows how to
> use the primitive FIEMAP_EXTENT_HOLE to identify holes.
>
> have fun!!
>
Thanks for pointing to these docs. But just for everyones benefit,
wanted to mention that most of these documents are obsolete and the
implementation has changed a lot since then.

The conversation I pasted yesterday on the mail was from one of the
authors (Kalpak Shah) of FS_IOC_FIEMAP infrastructure.

Look at the latest file:
http://lxr.linux.no/#linux+v2.6.31/include/linux/fiemap.h

Otherwise, the documents are really good to understand the infrastructure.


-- 
Regards,
Sandeep.





 	
“To learn is to change. Education is a process that changes the learner.”

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux