summaryrefslogtreecommitdiff
path: root/libbcachefs.h
AgeCommit message (Collapse)Author
2021-03-24Increase default superblock size to 1MBKent Overstreet
Also - add an option to bcachefs format for specifying it, --superblock_size Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-03-21Add format options for --no-initialize and specifying the metadata versionKent Overstreet
These are only to be used for tests.
2020-11-17Add a subcommand for resizing the journalKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2019-12-18Redo cmd_fs_usage for new ioctlsKent Overstreet
2019-06-13Fix cmd_fs_usage for more than 4 devicesKent Overstreet
The ioctl returns -ERANGE when there's more devices than fit in the buffer, not -ENOSPC Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2019-01-13Fix target optionsKent Overstreet
2018-12-19Use opts.h for format optionsKent Overstreet
2018-05-17fixes for 32 bit builds/non x86 archsKent Overstreet
2018-03-13Add --durability to formatKent Overstreet
2018-02-28minor disk group fixes;, add background_compression optionKent Overstreet
2018-02-19disk groupsKent Overstreet
2018-02-08New data rereplicate commandKent Overstreet
2017-12-29show-super can now print more stuffKent Overstreet
2017-12-28ResizingKent Overstreet
2017-12-15fix default checksum typesKent Overstreet
2017-12-10build: require explicit include paths for libbcachefs/Austin Seipp
This removes the implicit `-I libbcachefs` argument to $(CC), which in turn requires a set of minor changes throughout the tools. There are two advantages to this setup: 1) It is (arguably) easier to read, since the location of bcachefs includes are easier to understand at a glance ("where does util.h live?") 2) It removes the need for a hack to include glibc's copy of dirent.h explicitly via '/usr/include/dirent.h', because libbcachefs/ *also* has a dirent.h file and the compiler cannot disambiguate them. This has some ramifications on systems where /usr/include may not exist, such as NixOS. Signed-off-by: Austin Seipp <aseipp@pobox.com>
2017-11-12Simple stupid memory reclaim codeKent Overstreet
2017-11-08Add commands for changing and removing passphraseKent Overstreet
2017-10-08Update for new superblock options; makefile improvementsKent Overstreet
2017-04-09Update bcachefs sources to da037866e6Kent Overstreet
2017-04-02More cmd_migrate improvementsKent Overstreet
Factor out bch2_pick_bucket_size() from the format code, and pick the bucket size before picking the superblock location - that way we can ensure the superblock gets its own bucket and doesn't trigger warnings due to the allocation code noticing different types of data in the same bucket.
2017-03-19bcachefs-in-userspace improvementsKent Overstreet
Got rid of the stupid shim file hack
2017-03-19Rename from bcache-tools to bcachefs-toolsKent Overstreet