LogFS

LogFS
Developer(s)Jörn Engel, Prasad Joshi
Other
Supported
operating systems
Linux
Websitelogfs.org/logfs/ at the Wayback Machine (archived 2010-06-16)

LogFS is a Linux log-structured and scalable flash file system, intended for use on large devices of flash memory. It is written by Jörn Engel[1] and in part sponsored by the CE Linux Forum.

LogFS was introduced in the mainline Linux kernel in version 2.6.34, released on May 16, 2010. It was removed from the codebase during the merge window of version 4.10, in December 2016, because it was "unmaintained for years and seemingly unused".[2]

History

As of November 2008, LogFS was mature enough to pass its entire test suite, and was subsequently included in the mainline Linux kernel, marked as 'experimental', in version 2.6.34 released on May 16, 2010. However, it did not attract a large user base and was removed from the kernel in December 2016.

Operation

LogFS was motivated by the difficulties of JFFS2 with larger flash-memory drives. LogFS stores the inode tree on the drive; JFFS2 does not, which requires it to scan the entire drive at mount and cache the entire tree in RAM. For larger drives, the scan can take dozens of seconds and the tree can take a significant amount of main memory. LogFS avoids these penalties, but it does do more work while the system is running and uses some of the drive's space for holding the inode tree.

LogFS stores a file's inode tree on the drive, which means on a write to the file, each ancestor node in the tree must be rewritten. This is done by a "wandering tree" update. The lowest node in the tree (i.e., the data) is written first, each node is written ascending the tree, until the root inode is updated. Writing the root last maintains atomicity of the update.

A flash-memory block is the unit for erasures and is usually larger than the file-system block. LogFS handles this disparity by packing multiple file-system blocks into a single flash-memory block. A "sum" entry at the end of the flash-memory block records what data is stored in it. When the flash-memory block has all its file-system blocks moved or deleted, it can be erased and used for new data.

For peak usage of the flash-memory drive, it is necessary to compact data so that flash-memory blocks are full of useful data. This is accomplished by garbage collection. LogFS's garbage collection strategy relies on file data being placed in a certain way into flash-memory blocks: a flash-memory block will hold only file data from the same level in the inode tree. LogFS can garbage collect the top level of the trees using just 1 empty flash-memory block. It can garbage collect the top 2 levels of the trees using 2 empty flash-memory blocks. And can garbage collect all N levels of the trees using N empty flash memory blocks. The algorithm is exponential time in the worst case, but the worst case is rare and the algorithm requires reserving only a handful of flash-memory blocks.

See also

References

  1. ^ Jörn Engel; Robert Mertens (2005-09-18). "LogFS - finally a scalable flash filesystem" (PDF). {{cite journal}}: Cite journal requires |journal= (help)
  2. ^ Jonathan Corbet (2016-12-21). "4.10 Merge window part 2". Retrieved 2020-06-02. The logfs filesystem, unmaintained for years and seemingly unused, has been removed from the kernel.

Read other articles:

Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Etika manajerial – berita · surat kabar · buku · cendekiawan · JSTOR Artikel ini perlu diwikifikasi agar memenuhi standar kualitas Wikipedia. Anda dapat memberikan bantuan berupa penambahan pranala dalam...

 

Persecution and discrimination against Christians This article is about the religious persecution of Christians. For the belief that Christianity is being oppressed in the Western world, see Christian persecution complex. This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) The examples and perspective in this article may not represent a worldwide view of the subject. You may improve this arti...

 

Ne doit pas être confondu avec la région de la Bohême. Pour les articles homonymes, voir Bohème (homonymie). La bohème, ou vie de bohème, ou encore bohème littéraire et artistique ou bohémianisme correspond à un mouvement littéraire et artistique de la première moitié du XIXe siècle qui essaime en Occident, en marge du mouvement romantique : vu comme une contre-culture, il se manifeste alors par un style de vie qui allie pauvreté, rejet de la domination bourgeoise et...

Former Italian pay-television channel owned by Sony Pictures Television Television channel AXNCountryItalyProgrammingPicture format1080i HDTV(downscaled to 16:9 576i for the SDTV feed)OwnershipOwnerSony Pictures EntertainmentHistoryLaunched29 October 2005; 18 years ago (2005-10-29)Closed28 February 2017; 7 years ago (2017-02-28)LinksWebsitehttp://www.axn.it/ AXN was an Italian pay television channel owned by Sony Pictures Entertainment. It focused on actio...

 

Pour les articles homonymes, voir Podhradí. Cet article est une ébauche concernant une localité tchèque. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. Podhradí nad Dyjí Administration Pays Tchéquie Région Moravie-du-Sud District Znojmo Région historique Moravie Maire Petr Čálek Code postal 671 06 Démographie Population 50 hab. (2020) Densité 8,1 hab./km2 Géographie Coordonnées 48°...

 

The Right HonourableDominic RaabMPPotret resmi, 2020 Wakil Perdana Menteri Britania RayaMasa jabatan25 Oktober 2022 – 21 April 2023Penguasa monarkiCharles IIIPerdana MenteriRishi SunakPendahuluThérèse CoffeyPenggantiOliver DowdenMasa jabatan15 September 2021 – 6 September 2022Penguasa monarkiElizabeth IIPerdana MenteriBoris JohnsonPendahuluNick Clegg[a]PenggantiThérèse CoffeyMenteri Kehakiman Britania RayaLord ChancellorMasa jabatan25 Oktober 2022 –...

Liga Pemuda UEFAMulai digelar2013WilayahEropa (UEFA)Jumlah tim64Juara bertahan AZ Alkmaar(gelar ke-1)Tim tersukses FC Barcelona Chelsea(2 gelar)Situs webSitus web resmi Liga Pemuda UEFA 2023–2024 Liga Pemuda UEFA (bahasa Inggris: UEFA Youth League)[1] sebelumnya bernama Liga Champions U-19 UEFA, adalah sebuah kompetisi sepak bola untuk pemain-pemain muda dari 32 klub senior yang lolos ke babak grup Liga Champions UEFA, ditambah 32 juara kompetisi remaja domestik.[2] Seja...

 

Medieval architectural style French Romanesque architectureTop : Benedictine Abbey of Saint-Vigor de Cerisy (1080–1085):  ; Center left: Tower of Basilica of Saint-Sernin, Toulouse: Center right: Nave and painted columns of Abbey Church of Saint-Savin-sur-Gartempe in Poitou; Bottom: The central Typanum at Vézelay AbbeyYears activeEnd of the 10th to the mid-12th centuryLocationFrance Romanesque architecture appeared in France at the end of the 10th century, with the development of...

 

ヨハネス12世 第130代 ローマ教皇 教皇就任 955年12月16日教皇離任 964年5月14日先代 アガペトゥス2世次代 レオ8世個人情報出生 937年スポレート公国(中部イタリア)スポレート死去 964年5月14日 教皇領、ローマ原国籍 スポレート公国親 父アルベリーコ2世(スポレート公)、母アルダその他のヨハネステンプレートを表示 ヨハネス12世(Ioannes XII、937年 - 964年5月14日)は、ロ...

Convenzione di FiladelfiaTipotrattato politico Firma25 settembre 1787 LuogoFiladelfia PartiWilliam Samuel JohnsonRoger ShermanOliver EllsworthAlexander HamiltonJohn Lansing, Jr.Robert YatesGeorge ReadGunning Bedford, Jr.John DickinsonRichard BassettRichard Dobbs SpaightWilliam BlountHugh WilliamsonWilliam Richardson DavieAlexander MartinWilliam FewAbraham Baldwin e William Houstoun voci di trattati presenti su Wikipedia La Convenzione di Filadelfia (in inglese Philadelphia Convention) fu una ...

 

Biogeographical region in Central MadagascarLandscape in the Central Highlands region The Central Highlands, Central High Plateau, or Hauts-Plateaux are a mountainous biogeographical region in central Madagascar. They include the contiguous part of the island's interior above 800 m (2,600 ft) elevation.[1] The Central Highlands are separated from the Northern Highlands of the northern tip of Madagascar by a low-lying valley, the Mandritsara Window, which has apparently acted...

 

This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article is written like a personal reflection, personal essay, or argumentative essay that states a Wikipedia editor's personal feelings or presents an original argument about a topic. Please help improve it by rewriting it in an encyclopedic style. (March 2022) (Learn how and when to remove this message) This article needs additional c...

Questa voce o sezione sull'argomento linguistica è priva o carente di note e riferimenti bibliografici puntuali. Sebbene vi siano una bibliografia e/o dei collegamenti esterni, manca la contestualizzazione delle fonti con note a piè di pagina o altri riferimenti precisi che indichino puntualmente la provenienza delle informazioni. Puoi migliorare questa voce citando le fonti più precisamente. Segui i suggerimenti del progetto di riferimento. TeatinoParlato in Italia Altre inform...

 

中华人民共和国军事中国人民解放军军徽 最高军事领导机构 中央军事委员会(中共中央军委:主席、副主席)(国家中央军委:主席、副主席) 中华人民共和国武装力量 中国人民解放军 陆军  海军  空军 火箭军  军兵种·预备役·文职人员 中国人民武装警察部队(内卫 · 机动 · 海警) 中国民兵 军委机关职能部门 办公厅 联合参谋部 · 政治工作部后勤保...

 

Justice minister of the Philippines Secretary of JusticeKalihim ng KatarunganOfficial seal of the Department of JusticeIncumbentJesus Crispin Remullasince June 30, 2022 (2022-06-30)StyleThe HonorableMember ofCabinet, Judicial and Bar CouncilAppointerThe Presidentwith the consent of the Commission on AppointmentsTerm lengthNo fixed termInaugural holderSeverino de las AlasFormationApril 17, 1851(173 years ago) (1851-04-17)Websitewww.doj.gov.ph The secretary of just...

Traditional system of measurement used by Han Chinese This article is about Chinese units of measurement as generally used in mainland China. For local modifications of it, see Taiwanese units of measurement, Hong Kong units of measurement, and Singaporean units of measurement. Mu (unit) redirects here. For MU, and, μ (unit) [Greek letter mu], see Mu (disambiguation). Chinese units of measurementA traditional Chinese scaleChinese市制Literal meaningmarket systemTranscriptionsStandard Ma...

 

British political strategist (born 1960) For other people named Matthew Taylor, see Matthew Taylor (disambiguation). This biography of a living person needs additional citations for verification. Please help by adding reliable sources. Contentious material about living persons that is unsourced or poorly sourced must be removed immediately from the article and its talk page, especially if potentially libelous.Find sources: Matthew Taylor political strategist – news ...

 

Ne doit pas être confondu avec La Loi de la montagne. Les zones de massif telles qu'instituées par la loi Montagne recouvrent environ 30 % de la superficie du territoire métropolitain. La loi du 9 janvier 1985 relative au développement et à la protection de la montagne, dite « loi Montagne », constitue en France le principal cadre législatif spécifiquement destiné aux territoires de montagne. Il s'agit du premier acte législatif proposant une gestion intégrée et t...

Area of archaeological study Tassili n'AjjerTibestiEnnediMessakTadrartSabu-JaddiAdrar PlateauGilf Kebirclass=notpageimage| Significant Saharan rock art locations Manda Guéli Cave in the Ennedi Mountains, northeastern Chad Saharan rock art is a significant area of archaeological study focusing on artwork carved or painted on the natural rocks of the central Sahara desert. The rock art dates from numerous periods starting c. 12,000 years ago, and is significant because it shows the cultu...

 

Norbertine monastery in De Pere, Wisconsin St. Norbert AbbeyInterior view of the church of St. Norbert Abbey, facing the Great West WindowLocation within WisconsinShow map of WisconsinSt. Norbert Abbey (the United States)Show map of the United StatesMonastery informationOrderOrder of Premontre (O.Praem.)Established1898[1]Mother houseBerne AbbeyDioceseRoman Catholic Diocese of Green BayPeopleFounder(s)Bernard H. Pennings, O.PraemAbbotDane J. Radecki, O.Praem.PriorBradley Vanden Branden...