summaryrefslogtreecommitdiff
path: root/tools-util.h
AgeCommit message (Collapse)Author
2023-02-12cmd_list_journal: Add filter optionsKent Overstreet
Instead of having to use grep, this adds the ability to print out only transactions that update a particular key, or to filter out entirely keys except those updating certain btrees. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2022-06-27Fixup from darray changeKent Overstreet
This fixes cmd_migrate Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-05-26New subcommand: set-optionKent Overstreet
This is for setting superblock options on existing filesystems, either online or offline. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-05-26Delete some dead codeKent Overstreet
printf_pad() has been superseded by printbuf tabstops. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-05-02Update bcachefs sources to bdf6d7c135 fixup! bcachefs: Kill journal buf ↵Kent Overstreet
bloom filter
2022-03-30Update bcachefs sources to f638850417 bcachefs: bch2_trans_log_msg()Kent Overstreet
2022-02-22Update bcachefs sources to 9b3aa5ec6c bcachefs: Add tabstops to printbufsKent Overstreet
2022-01-01Unit handling cleanupsKent Overstreet
The option code has been switching to keeping things in display units - bytes - and this transitions more libbcachefs.c code to bytes as well, to match, and also fixes device add. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-07-04Update bcachefs sources to 1a510b00b6 bcachefs: Increase BTREE_TRANS_MEM_MAXKent Overstreet
2021-06-14Fix format args to die()Kent Overstreet
Also, add the format attribute so we get warnings about this. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-05-17Fix some minor compiler warningsKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-03-16New data job commandKent Overstreet
This adds a new subcommand, bcachefs data job, that gives more direct access to the data job/ioctl functionality, and hooks up the new rewrite old nodes data job.
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>
2019-03-24check if fs is mounted before running fsckKent Overstreet
2018-12-19Use opts.h for format optionsKent Overstreet
2018-05-04bcachefs fs usage improvementsKent Overstreet
2018-02-08New data rereplicate commandKent Overstreet
2017-12-29show-super can now print more stuffKent Overstreet
2017-12-28ResizingKent Overstreet
2017-12-23Add bcachefs fs usageKent Overstreet
2017-10-08Faster crc32cKent Overstreet
2017-08-23Workarounds for building with gcc 4Kent Overstreet
2017-05-05fix sync writes - don't use O_EXCLKent Overstreet
2017-04-14cmd_list improvements; use %mKent Overstreet
2017-04-10silence a compiler warningKent Overstreet
2017-03-09cmd_device_add improvementsKent Overstreet
2017-03-09cmd_migrateKent Overstreet
2017-02-06update bcache code, fsck improvementsKent Overstreet
2017-01-20bcache in userspace; userspace fsckKent Overstreet