Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 History  





2 Use  





3 PHTree  





4 References  





5 External links  














HTree






العربية

Norsk bokmål
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

(Redirected from Htree)

AnHTree is a specialized tree data structure for directory indexing, similar to a B-tree. They are constant depth of either one or two levels, have a high fanout factor, use a hash of the filename, and do not require balancing.[1] The HTree algorithm is distinguished from standard B-tree methods by its treatment of hash collisions, which may overflow across multiple leaf and index blocks. HTree indexes are used in the ext3 and ext4 Linux filesystems, and were incorporated into the Linux kernel around 2.5.40.[2] HTree indexing improved the scalability of Linux ext2 based filesystems from a practical limit of a few thousand files, into the range of tens of millions of files per directory.

History[edit]

The HTree index data structure and algorithm were developed by Daniel Phillips in 2000 and implemented for the ext2 filesystem in February 2001. A port to the ext3 filesystem by Christopher Li and Andrew Morton in 2002 during the 2.5 kernel series added journal based crash consistency. With minor improvements, HTree continues to be used in ext4 in the Linux 3.x.x kernel series.

Use[edit]

PHTree[edit]

PHTree (Physically stable HTree) is a derivation intended as a successor.[3][unreliable source?] It fixes all the known issues with HTree except for write multiplication.[citation needed] It is used in the Tux3 filesystem.[4]

References[edit]

  1. ^ Mingming Cao. "Directory indexing" (PDF). Features found in Linux 2.6.
  • ^ tytso@mit.edu. "Add ext3 indexed directory (htree) support".
  • ^ "PHTree design refresh". 4 January 2013.
  • ^ "Tux3 Versioning Filesystem". Archived from the original on 13 January 2015. Retrieved 28 December 2014.
  • External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=HTree&oldid=1153166547"

    Categories: 
    Disk file systems
    B-tree
    Linux
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
    Use dmy dates from September 2022
    Articles lacking reliable references from September 2013
    All articles lacking reliable references
    Articles lacking reliable references from December 2014
    All articles with unsourced statements
    Articles with unsourced statements from December 2014
     



    This page was last edited on 4 May 2023, at 16:10 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki