On Thu, Aug 6, 2015 at 3:58 PM, Kent Overstreet <kent.overstreet@xxxxxxxxx> wrote: > On Tue, Jul 28, 2015 at 11:41:52AM -0700, Ming Lin wrote: >> On Fri, Jul 24, 2015 at 1:47 PM, Ming Lin <mlin@xxxxxxxxxx> wrote: >> > >> > And I want to learn how the btree node insert/delete/update happens on >> > disk. These maybe too detail. I'm going to write a small tool to dump >> > the file system. Then I could understand better the on disk btree >> > format. >> >> Here is my simple tool to dump parts of the on-disk format. >> http://www.minggr.net/cgit/cgit.cgi/bcache-tools/commit/?id=deb258e2 >> >> It's not in good shape, but simple enough to learn the on-disk format. > > Hey! Sorry for taking so long to respond, just got my computer set up back in > Alaska. > > If you want to keep going with your tool, this might be a starting point for a > debugfs tool - which bcache definitely needs at some point. Yes, that's my goal. I'll improve it once I get more familiar with bcachefs on-disk format. -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html