Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ファイルシステムの歴史: ジャーナリング編
Search
naota
February 14, 2015
Technology
1.1k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ファイルシステムの歴史: ジャーナリング編
naota
February 14, 2015
More Decks by naota
See All by naota
btrfs領域管理一代記
naota
2
1.2k
DockerでGentooのテスト
naota
3
1.9k
Btrfsのころしかた(だったもの)
naota
0
1.1k
Btrfsの構造
naota
5
2.9k
Other Decks in Technology
See All in Technology
AI エージェント時代のデジタルアイデンティティ
fujie
2
1.3k
事業成長とAI活用を止めないデータ基盤アーキテクチャの設計思想
hiracky16
0
790
基調講演:人とAIをつなぐIoTの今と未来 ー 「フィジカル」と「デジタル」が出会うその先へ【SORACOM Discovery 2026】
soracom
PRO
0
370
reFACToring
moznion
1
1.1k
QAタスクをスキル化したいときに考えること
aomoriringo
0
140
テックカンファレンス三大ステークホルダーの文化人類学 ─ 違いを認め合う関係性作り
bash0c7
5
1.4k
Pavlokで始める電撃駆動開発
sgrsn
0
140
20260801_スクフェス大阪
kgnkhkr
0
150
AI Agent を本番環境へ―― Microsoft Foundry × Azure Serverless で作る Enterprise-Ready な基盤
shibayan
PRO
1
970
数値で見る Microsoft MVP 〜Spec Kit と GitHub Copilot Agent で作るデータ可視化ダッシュボード〜
yutakaosada
0
180
AI工学特論: MLOps・継続的評価
asei
11
3.1k
Atlassian Cloudサポート業務でのAIエージェント活用事例
smt7174
0
180
Featured
See All Featured
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
600
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
400
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
A designer walks into a library…
pauljervisheath
211
24k
New Earth Scene 8
popppiees
3
2.4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
Raft: Consensus for Rubyists
vanstee
141
7.6k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
680
Crafting Experiences
bethany
1
230
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.7k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Transcript
ϑΝΠϧγεςϜͷྺ࢙: δϟʔ φϦϯάฤ Naohiro Aota (@naota344)
ࣗݾհ ໊લ: ੨ాେ ͓͋ͨͳ͓ͻΖ @naota344 ܚጯٛक़େֶͰϑΝΠϧγεςϜͷݚڀ Gentoo ίϛολ झຯ: FS
Λյͨ͠ਓͷإ͕ݟ͍ͨ
࠷ۙͷ͜ͱ: btrfsck Λ͔͚ͯͨ
ࡢ btrfsck ͷதͷਓ͔ Βϝʔϧ͕དྷͨ
ࡢ btrfsck ͷதͷਓ͔ Βϝʔϧ͕དྷͨ ۙ patch ͕ߘ༧ఆ! ͩͦ͏Ͱ͢
ຊͷ͓ δϟʔφϦϯάͷྺ࢙
δϟʔφϦϯά ͖ͯͱʔʹ FS ʹॻ͘ͱ FS յΕΔ Ұ؏ੑΛ࣋ͬͯॻ͖͘มߋ͕த్ʹͳͬ ͯյΕΔ δϟʔφϦϯά ҰδϟʔφϧྖҬʹ͜Ε͔Βॻ͘༰Λࣄલ
ʹॻ͘ δϟʔφϧॻ͖ऴΘΔ -> ຊମʹॻ͖͜Έ ్தͰࢮΜͰେৎ ͍ΘΏΔ write-ahead-logging
δϟʔφϦϯάॳग़ Reimplementing the Cedar file system using logging and group
commit Robert Hagmann Xerox PARC 1987 Dorado, Dandelion ্Ͱಈ͍͍ͯͨ Cedar Λ Dragon ʹҠ২͢Δʹ͋ͨͬͯʮδϟʔφϦϯάʯ ͕Ճ͞Εͨ
Cedar, Dorado, Dandelion, Dragon Cedar ϓϩάϥϛϯάݴޠͷ໊લ ͔ͭ, Cedar ͕ಈ࡞͢Δʮϓϩάϥϛϯάڥʯ ͷ໊લ
Dorado, Dandelion D-Machine, Lisp Ϛγϯ Dorado 24bit ͱ͍͏ large virtual address space 1024x808 ͷ large Ͱ high-resolution ͳനࠇσΟε ϓϨΠ ࠷େ 32MB ͷཧσΟεΫ
લδϟʔφϦϯά࣌: TridentσΟε Ϋ Dorado, Dandelion Trident σΟεΫΛ༻ http://www.computerhistory.org/ collections/catalog/102681543
Image courtesy of Computer History Museum
TridentσΟεΫ Trident disk for the Alto (1979) Trident σΟεΫͷඪ४తͳϑΥʔϚοτ͕ॻ͍ ͍ͯΔ
֤τϥοΫ (10080 words) = 9 ηΫλ x 1120 words ηΫλ͕ 3 ͭͷ෦ʹ͚ΒΕΔ ϔομ (2 words) ͦͷηΫλͷσΟεΫΞυϨε͕ॻ͍ͯ͋Δ ίϯτϩʔϥ͕ݕࠪ͢Δ ϥϕϧ (10 words) store file dependent information σʔλຊମ (1024 words) ֤ηΫλʹʮϥϕϧʯ͕͚ΒΕΔ
δϟʔφϦϯάҎલͷCedar File Name Table B-tree FS ্ͷશͯͷ file ͷ໊લͱ
header ใΛอ࣋ ϥϕϧΛ༻͍ͨҰ؏ੑอূ uid, page number page type (header, free, data) ͕ه͞ΕΔ
FSD (File System for Dragon)
ͦͷଞ ࠓ FS յΕͯͳ͍͚Ͳɺ εϥΠυॻ ͨ͘Ίͷ Emacs ͕ SEGV Ͱىಈ͠ͳ
͔ͬͨΓɺԿ࿈ଧͯͨ͠Βٸʹىಈ ͯ͠Έ͍ͨͳײ͡ʹͳΓ·ͨ͠
ͳΜͰ? emacs/src/xfns.c XGetICValues X ͷ input context ͷใͱͬͯ͘Δ Τϥʔͩͱ࠷ॳͷͱΕͳ͔ͬͨଐੑ໊͕ฦΔ attr
= XVaCreateNestedList (0, XNAreaNeeded, &needed, NULL); XGetICValues (xic, XNStatusAttributes, attr, NULL); XFree (attr); if (needed->width == 0) { attr = XVaCreateNestedList (0, XNArea, &needed, NULL); XGetICValues (xic, XNStatusAttributes, attr, NULL); XFree (attr); } ʜ XFree (needed); <- ͜͜ͰࢮΜͰΔ
ͦΓΎʔ͠ΐΜ ͳΜͰଐੑऔಘΤϥʔʹͳͬͯͨ? imsettings ͷ͍ͤͬΆ͍: imsettings = ͍ΖΜͳ IM ͷڞ௨ϨΠϠʹ͓Ε͕ͳΔ! uim
ͱ͔ fcitx Λಈతʹม͑ΒΕΔͥ! ͦΓΎʔ͠ΐΜ XMODIFIERS=@im=fcitx emacs XMODIFIERS= emacs
·ͱΊ δϟʔφϦϯάͷΛੲ͔Βࠓ·Ͱͬ͘͞ͱ ͨ͠ imsettings ͩΊͩ