Kent Overstreet
2d7982de78
cmd_list_journal: Tweak extent matching
...
Extents can now additionally be matched by the end position, the same as
normal keys.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-08-01 16:57:52 -04:00
Kent Overstreet
c8bec83e30
Update bcachefs sources to e14d7c7195 bcachefs: Compression levels
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-15 17:36:15 -04:00
Kent Overstreet
b0c9ad15f4
Update bcachefs sources to 171da96d76 bcachefs: Drop some anonymous structs, unions
2023-03-04 23:33:25 -05:00
Kent Overstreet
de720eaa24
cmd_list_journal: Highlight entries matching transaction filter
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-02-21 17:21:18 -05:00
Kent Overstreet
4697efb7a0
cmd_list_journal: Add filter options
...
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>
2023-02-12 21:44:33 -05:00
Kent Overstreet
1eae1d718c
Use bch2_err_str() instead of strerror()
...
This correctly prints out our private error codes.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2022-12-19 16:05:54 -05:00
Kent Overstreet
e2442e57f2
cmd_kill_btree_node.c
...
This factors out cmd_kill_btree_node into its own file - it was in
cmd_list_journal.c, which wsa rather silly.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2022-11-13 20:09:40 -05:00
Kent Overstreet
a232478f35
Break up cmd_debug.c into multiple files
...
In the future, let's have one cmd_foo.c file per subcommand.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-18 18:25:19 -04:00