{"id":940,"date":"2007-11-27T17:41:23","date_gmt":"2007-11-27T07:41:23","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/2007\/11\/27\/testing-crashes-in-file-io\/"},"modified":"2007-11-27T17:41:23","modified_gmt":"2007-11-27T07:41:23","slug":"testing-crashes-in-file-io","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2007\/11\/27\/testing-crashes-in-file-io\/","title":{"rendered":"testing crashes in file IO"},"content":{"rendered":"<p>So Rusty gave me this idea for simulating crashes in libeatmydata to check durability of application data with stuff hitting the rust in interesting ways. Preserving fsync barriers, but mucking with the data before the last one and crashing. Then, recovery should all work.<\/p>\n<p>Interesting&#8230; something to soon hack on&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So Rusty gave me this idea for simulating crashes in libeatmydata to check durability of application data with stuff hitting the rust in interesting ways. Preserving fsync barriers, but mucking with the data before the last one and crashing. Then, &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2007\/11\/27\/testing-crashes-in-file-io\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-940","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-fa","jetpack-related-posts":[{"id":4057,"url":"https:\/\/www.flamingspork.com\/blog\/2016\/05\/19\/fuzzing-firmware-afl-fuzz-skiboot\/","url_meta":{"origin":940,"position":0},"title":"Fuzzing Firmware &#8211; afl-fuzz + skiboot","author":"Stewart Smith","date":"2016-05-19","format":false,"excerpt":"In what is likely to be a series on how firmware makes some normal tools harder to use, first I'm going to look at american fuzzy lop - a tool for fuzz testing that if you're not using then you most certainly have bugs it'll find for you. I first\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":703,"url":"https:\/\/www.flamingspork.com\/blog\/2006\/05\/18\/upgrade-to-openofficeorg-202-and-stop-murderous-urges\/","url_meta":{"origin":940,"position":1},"title":"Upgrade to OpenOffice.org 2.0.2 and stop murderous urges","author":"Stewart Smith","date":"2006-05-18","format":false,"excerpt":"It's no great secret that I think the stability of OpenOffice.org2 Impress in what's shipped in Ubuntu Breezy leaves a lot to be desired. By 'a lot' I mean copy and pasting is unreliably and the Slide Sorter just stopped working for me without crashes (in at least one document).\u2026","rel":"","context":"In &quot;GNOME&quot;","block_context":{"text":"GNOME","link":"https:\/\/www.flamingspork.com\/blog\/category\/gnome\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1051,"url":"https:\/\/www.flamingspork.com\/blog\/2008\/03\/28\/default-filesystem-and-disk-parameters-are-for-wusses\/","url_meta":{"origin":940,"position":2},"title":"default filesystem and disk parameters are for wusses","author":"Stewart Smith","date":"2008-03-28","format":false,"excerpt":"I can't remember the last time i used default mkfs or mount options... oh yeah, that's right - by accident. Anyway... I did a little experiment today. The filesystem is my laptop \/home - XFS, 100GB, 95% used (so 5-6GB free), rather aged. This is where a lot of my\u2026","rel":"","context":"In &quot;linux-kernel&quot;","block_context":{"text":"linux-kernel","link":"https:\/\/www.flamingspork.com\/blog\/category\/linux-kernel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1031,"url":"https:\/\/www.flamingspork.com\/blog\/2008\/03\/12\/sometimes-you-must-wonder-what-crack-people-smoke\/","url_meta":{"origin":940,"position":3},"title":"Sometimes you must wonder what crack people smoke","author":"Stewart Smith","date":"2008-03-12","format":false,"excerpt":"2>.\\my_lwrite.c(31) : warning C4996: 'write': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _write. See online help for details. WTF. If Visual Studio 2008 crashes one more time today....","rel":"","context":"In &quot;grumble&quot;","block_context":{"text":"grumble","link":"https:\/\/www.flamingspork.com\/blog\/category\/grumble\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2385,"url":"https:\/\/www.flamingspork.com\/blog\/2011\/06\/28\/speaking-at-oscon\/","url_meta":{"origin":940,"position":4},"title":"Speaking at OSCON","author":"Stewart Smith","date":"2011-06-28","format":false,"excerpt":"OSCON is coming up again: July 25th-29th in wonderful Portland, OR. If you come to OSCON, not only will you be at OSCON, but you'll be in Portland in July - which is just lovely. We'll also have other people from Percona there and it should be a great lot\u2026","rel":"","context":"In &quot;percona&quot;","block_context":{"text":"percona","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/percona\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":631,"url":"https:\/\/www.flamingspork.com\/blog\/2006\/03\/31\/crash-halfway-through-upgrading-ubuntu-breezy-to-dapper\/","url_meta":{"origin":940,"position":5},"title":"crash halfway through upgrading Ubuntu breezy to dapper","author":"Stewart Smith","date":"2006-03-31","format":false,"excerpt":"see BUG#37430 for some details. Also see BUG#37435 for why it gets really painful later on. Basically, if your machine crashes around the time of the dist-upgrade, you're totally screwed. mkfs and re-install. I'd hate to have not made \/home a different partition from \/. I currently don't have much\u2026","rel":"","context":"In &quot;grumble&quot;","block_context":{"text":"grumble","link":"https:\/\/www.flamingspork.com\/blog\/category\/grumble\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=940"}],"version-history":[{"count":0,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/940\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}