RFC btrfs-progs: boilerplate code for printing devices.
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs-progs: print device list volumes-c apikernel-shared/ kernel-shared/ | +6 | 0 replies | |
| 2/2 | btrfs-progs: print device listkernel-shared/ kernel-shared/ | +72 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH RFC 0/2] btrfs-progs: boilerplate code for printing devices.
This is a set of boilerplate code to print the whole list of devices wherever in the code, for example:
#include "kernel-shared/print-tree.h" btrfs_print_devlist(NULL);
This code has been helping me to debug and fix certain bugs for some time.
The code is a port from its kernel version and has been roughly optimized but not cleaned. However, I am sending it out to see if it can be integrated. Otherwise, I am fine with maintaining it externally and keeping it updated when needed. Thx.
Anand Jain (2):
btrfs-progs: print device list volumes-c api
btrfs-progs: print device list
kernel-shared/print-tree.c | 71 ++++++++++++++++++++++++++++++++++++++ kernel-shared/print-tree.h | 1 + kernel-shared/volumes.c | 5 +++ kernel-shared/volumes.h | 2 +- 4 files changed, 78 insertions(+), 1 deletion(-)
Signature · 1 line
2.31.1