|
|
Log in / Subscribe / Register

Had another demo driver for S3

Had another demo driver for S3

Posted Sep 3, 2022 15:54 UTC (Sat) by rwmj (subscriber, #5474)
In reply to: Had another demo driver for S3 by dacut
Parent article: Crash recovery for user-space block drivers

I don't think it's possible to write an efficient S3 driver to store an ordinary (eg. ext4) filesystem without a very large amount of local caching. The natural block size for S3 is very large (128K?) but if you try to create a naive filesystem with that block size it most likely won't work at all and if it did will break assumptions about small blocks that filesystem developers make.

Anyway, here's our attempt: https://libguestfs.org/nbdkit-S3-plugin.1.html It's written in Python and apparently used somewhat widely (judging by bug reports etc).


to post comments

Had another demo driver for S3

Posted Sep 5, 2022 2:08 UTC (Mon) by dacut (guest, #131937) [Link]

Yep, that sounds about right! I think I told xfs to use 4096 byte blocks. Still slow as molasses.

Glad that your engineered solution (vs. my toy weekend project) is getting usage!


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds