Kent Overstreet
f76d246fff
Update bcachefs sources to 1a739db0b256 bcachefs; guard against overflow in btree node split
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-12-18 23:21:21 -05:00
Philip Laube
5bc5fc621a
cmd_fs: calculate size based on bucket count for data types BCH_DATA_free, BCH_DATA_need_discard and BCH_DATA_need_inc_gens
...
Signed-off-by: Philip Laube <philip.laube.dev@xyz.de>
2023-12-07 20:47:09 +01:00
Philip Laube
ec028b4913
cmd_fs: add long parameter --human-readable to usage command
...
Signed-off-by: Philip Laube <philip.laube.dev@xyz.de>
2023-12-06 19:29:05 +01:00
Kent Overstreet
7465d1934c
Convert to BCH_IOCTL_DEV_USAGE_V2
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-27 21:04:03 -05:00
Kent Overstreet
138397d892
cmd_fs_usage: Print out replica set durability
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-25 00:06:32 -05:00
Kent Overstreet
7a66cf70c5
cmd_fs_usage: Implement --help
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-06-10 20:59:22 -04:00
Kent Overstreet
dded444b20
Update bcachefs sources to dfaf9a6ee2 lib/printbuf: Clean up headers
2022-08-18 12:49:48 -04:00
Kent Overstreet
6ac37db841
Update bcachefs sources to 24f7e08cd8 bcachefs: shrinker.to_text() methods
2022-06-09 15:07:25 -04:00
Kent Overstreet
6f5afc0c12
Update bcachefs sources to bdf6d7c135 fixup! bcachefs: Kill journal buf bloom filter
2022-05-02 18:42:06 -04:00
Kent Overstreet
7f77afa955
Update bcachefs sources to d3da360412 bcachefs: Fold bucket_state in to BCH_DATA_TYPES()
2022-04-07 20:56:33 -04:00
Kent Overstreet
e240b4ae86
Update bcachefs sources to f638850417 bcachefs: bch2_trans_log_msg()
2022-03-30 17:40:37 -04:00
Aleksei Kharlamov
b1a2ab6eef
Heap-allocate printbufs
...
Signed-off-by: Aleksei Kharlamov <aleksei@devass.club>
2022-02-26 21:31:27 +01:00
Kent Overstreet
5528e3ae62
Update bcachefs sources to 9b3aa5ec6c bcachefs: Add tabstops to printbufs
2022-02-22 04:56:09 -05:00
Brett Holman
9a649545a3
Add more specific subcommand usage messages
...
The device, data, fs, and subvolume subcommands currently print out a
generic usage message. Make these more specific.
Signed-off-by: Brett Holman <bholman.devel@gmail.com>
2021-11-01 08:12:35 -06:00
Kent Overstreet
9e5d774875
Update bcachefs sources to e2b8120595 bcachefs: Use x-macros for more enums
2021-02-20 22:34:09 -05:00
Kent Overstreet
4a4a7e01d7
Ensure fields don't collide in bcachefs fs usage
...
Also, make them a bit bigger.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-01-15 16:43:16 -05:00
Kent Overstreet
cd9892e543
Update bcachefs sources to 10ab39f2fa bcachefs: Improvements to the journal read error paths
2020-08-24 16:25:05 -04:00
Kent Overstreet
8d3227fdd8
Make some improvements to bcachefs fs show
2020-07-02 13:28:39 -04:00
Kent Overstreet
7c39a1cf1b
fs_usage cmd fixes
...
- 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
2020-01-03 19:33:05 -05:00
Kent Overstreet
7d2baabdb1
Redo cmd_fs_usage for new ioctls
2019-12-18 16:11:11 -05:00
Kent Overstreet
9c62b2b4f1
Include superblock, journal in fs usage output
2018-08-15 19:41:45 -04:00
Kent Overstreet
800408be11
bcachefs fs usage improvements
2018-05-04 14:48:00 -04:00
Kent Overstreet
7875b82630
New data rereplicate command
2018-02-08 15:33:43 -05:00
Kent Overstreet
dbad1685bc
show-super can now print more stuff
2017-12-29 21:15:47 -05:00
Kent Overstreet
aca9f96dcc
Resizing
2017-12-28 02:55:08 -05:00
Kent Overstreet
30caf69540
Add bcachefs fs usage
2017-12-23 00:51:19 -05:00
Kent Overstreet
978c160405
Fix some clang warnings
...
the issue in cmd_debug - passing members of struct bpos to kstrtoull,
which aren't aligned - was a legit bug
2017-04-04 06:43:08 -08:00
Kent Overstreet
5933f9478c
update bcache code, fsck improvements
2017-02-06 20:45:37 -09:00