btrfs-progs: remove full /dev scanning
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs-progs: scan /proc/partitions not all of /dev with "-d"cmds-device.c cmds-filesystem.c | +4 | 1 reply | |
| 2/3 | btrfs-progs: don't fall back to recursive /dev scandisk-io.c utils.c | +2 | 1 reply | |
| 3/3 | btrfs-progs: remove BTRFS_SCAN_DEV and btrfs_scan_one_dirutils.c utils.h | +2 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Anand Jain |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] btrfs-progs: remove full /dev scanning
btrfs fileystem show and btrfs device scan today both have the "-d" option to scan everything under /dev. But we also have a mechanism to scan everything in /proc/partitions, which should always be sufficient.
If anyone knows why we'd find something deep under /dev but not in /proc/partitions, speak now or forever hold your peace...
Tested this by running through a matrix of -d, -m, or "" args for show/scan, for a 2-device fs, with and without a symlinked device, with and without a symlinked mountpoint. All output was identical.
Thanks,
-Eric