Age | Commit message (Collapse) | Author |
|
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>
|
|
This is for setting superblock options on existing filesystems, either
online or offline.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
printf_pad() has been superseded by printbuf tabstops.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
bloom filter
|
|
|
|
|
|
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>
|
|
|
|
Also slightly improve some error messages
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
Remove any possible filesystems left on the block device when formatting
this makes sure the automounter does not accidentally mount it as another filesystem.
one of the functionalities possibly wiped by accodent?
Signed-off-by: jpsollie <janpieter.sollie@edpnet.be>
|
|
|
|
add a blk_wipe function to remove any possible filesystems left on the block device
this makes sure the automounter does not accidentally mount it as another filesystem.
Signed-off by: Janpieter Sollie <janpieter.sollie@edpnet.be>
|
|
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.
|
|
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>
|
|
- Sort devices by device name if they don't have a label
- We were printing the wrong devices in the device list in the per-data
entries
|
|
Exiting the standard way on error caused teardown in bad state problems.
Signed-off-by: Justin Husted <sigstop@gmail.com>
|
|
|
|
|
|
should fix a bug where resize does an offline resize when the fs was
mounted because it thought it wasn't mounted
|
|
|
|
|
|
|
|
|
|
when linking existing data, we weren't creating alloc btree keys - also,
we were calculating the wrong bucket...
|
|
|
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|