summaryrefslogtreecommitdiff
path: root/libbcachefs.c
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-22Set features in formatKent Overstreet
This is a fixup for d3dc47271b Add format options for --no-initialize and specifying the metadata version 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.
2021-03-21Add the version_min field to cmd_show_superKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-02-20Update bcachefs sources to e2b8120595 bcachefs: Use x-macros for more enumsKent Overstreet
2021-02-12Add metadata_target functionalityjpsollie
While metadata_target was an option in bcachefs and the fs driver knows about it, it was never parsed by the bcachefs format command. This commit fixes the issue
2021-02-02Update bcachefs sources to 26409a8f75 bcachefs: Journal updates to dev usageKent Overstreet
2021-01-26Add device index to show-superKent Overstreet
2020-11-13Improve some log messagesKent Overstreet
2020-08-24Assorted debug and fsck improvementsKent Overstreet
This adds a new list mode to "bcachefs list", for printing out nodes as they exist on disk (before being merge sorted). Also some improvements to fsck return values. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2020-08-24Update bcachefs sources to 10ab39f2fa bcachefs: Improvements to the journal ↵Kent Overstreet
read error paths
2020-07-08print out sequence number in show-superKent Overstreet
2020-04-24Flush stdout when displaying progress barKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2019-12-28show-super now lists superblock featuresKent Overstreet
2019-12-28Update bcachefs sources to 86a99a7b7f bcachefs: Convert some enums to x-macrosKent Overstreet
2019-12-27Fix bchu_fs_get_devices()Kent Overstreet
2019-12-18Redo cmd_fs_usage for new ioctlsKent Overstreet
2019-10-04Update bcachefs sources to cddca21efc bcachefs: Don't use sha256 for siphash ↵Kent Overstreet
str hash key
2019-04-04Update bcachefs sources to d83b992f65 bcachefs: Rewrite ↵Kent Overstreet
journal_seq_blacklist machinery
2018-12-19Fix a divide by zeroKent Overstreet
2018-12-19Use opts.h for format optionsKent Overstreet
2018-11-30Update bcachefs sources to 62de7539dc bcachefs: Make bkey types globally uniqueKent Overstreet
2018-11-12Update bcachefs sources to a9f14c773f bcachefs: More btree gc refactoringsKent Overstreet
2018-11-09Update bcachefs sources to d7dbddc450 bcachefs: revamp to_text methodsKent Overstreet
2018-11-04Improved the show-super group and target printingTim Schlueter
Disks without a group no longer prints uninitialized data. Foreground, background, and promote targets now print what they are, not just a single number. E.g. Foreground write target: none Background write target: Group 0 (slow) Promote target: Device 2 (b5d2aa58-9cc5-4ff0-a7ff-407216d27d7d)
2018-11-04Print the filesystem creation time in show-superTim Schlueter
2018-11-04Added ktime_get_real_seconds() wrapperTim Schlueter
Also, changed the last_mount print so it no longer prints out two newlines.
2018-11-04Update bcachefs sources to 8bf4b038d4 bcachefs: Assorted fixes for running ↵Kent Overstreet
on very small devices
2018-11-03Update bcachefs sources to b12d1535f3 bcachefs: fix bounds checks in ↵Kent Overstreet
bch2_bio_map()
2018-11-03fix a (spurious) gcc warningKent Overstreet
2018-07-21fix rereplicate commandKent Overstreet
2018-06-27Update bcachefs sources to 2cb70a82bc bcachefs: delete some debug codeKent Overstreet
2018-05-04bcachefs fs usage improvementsKent Overstreet
2018-04-10Update bcachefs sources to edf5f38218 bcachefs: Refactor superblock codeKent 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
2018-02-08Update bcachefs sources to d5e561b3cc bcachefs: BCH_DATA ioctlKent Overstreet
2018-01-11Update bcachefs sources to 02ae70070a bcachefs: Allocate new btree roots lazilyKent 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-08Add commands for changing and removing passphraseKent Overstreet
2017-11-08Update bcachefs sources to d4b7ef921a bcachefs: RefactoringKent Overstreet
2017-10-08Update for new superblock options; makefile improvementsKent Overstreet
2017-08-23Workarounds for building with gcc 4Kent Overstreet
2017-05-08Update bcachefs sources to 9ceb982d77 bcachefs: Store bucket gens in a btreeKent Overstreet
2017-04-14cmd_list improvements; use %mKent Overstreet