]> git.sesse.net Git - bcachefs-tools-debian/commit
cmd_list_journal: Add filter options
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 13 Feb 2023 02:44:33 +0000 (21:44 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 13 Feb 2023 02:44:33 +0000 (21:44 -0500)
commit4697efb7a01affe650dbc9a4e81a8203d0316d96
tree9f3c397dcf29fa2903f787609c3897568a9a52eb
parente160e9b97986d908bce40ab40ee5d930453a3bf1
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>
cmd_list_journal.c
tools-util.c
tools-util.h