btrfs-progs: add support for write-intent bitmaps
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | btrfs-progs: introduce a new compat RO flag, EXTRA_SUPER_RESERVEDkernel-shared/ kernel-shared/ kernel-shared/ | +35 | 0 replies | |
| 2/8 | btrfs-progs: mkfs: add support for extra-super-reserved runtime flagcommon/ common/ mkfs/ +1 more | +34 | 0 replies | |
| 3/8 | btrfs-progs: print-tree: remove duplicated definition for compat RO flagskernel-shared/ | +1 | 0 replies | |
| 4/8 | btrfs-progs: print-tree: support btrfs_super_block::reserved_byteskernel-shared/ | +6 | 0 replies | |
| 5/8 | btrfs-progs: check: add extra warning for dev extents inside the reserved rangecheck/ check/ kernel-shared/ | +40 | 0 replies | |
| 6/8 | btrfs-progs: introduce the experimental compat RO flag, WRITE_INTENT_BITMAPcommon/ common/ kernel-shared/ +4 more | +51 | 0 replies | |
| 7/8 | btrfs-progs: introduce the on-disk format of btrfs write intent bitmapskernel-shared/ | +177 | 0 replies | |
| 8/8 | btrfs-progs: cmds/inspect: add the ability to dump write intent bitmapsMakefile cmds/ cmds/ +3 more | +256 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] btrfs-progs: add support for write-intent bitmaps
This patchset introduces the following support for WRITE_INTENT_BITMAP compat RO flags:
- mkfs support for EXTRA_SUPER_RESERVED and WRITE_INTENT_BITMAP
The extra reservation size is 1MiB, and is hardcoded so far. Although write-intent bitmaps will only utilize 4KiB of the extra 1MiB.
- dump-supper support for both compat RO flags
- extra fsck warning when the reserved space is not properly respected
- new "btrfs inspect-internal dump-write-intent" command This is to dump the content of the write-intent bitmap for debug purpose.
Qu Wenruo (8):
btrfs-progs: introduce a new compat RO flag, EXTRA_SUPER_RESERVED
btrfs-progs: mkfs: add support for extra-super-reserved runtime flag
btrfs-progs: print-tree: remove duplicated definition for compat RO
flags
btrfs-progs: print-tree: support btrfs_super_block::reserved_bytes
btrfs-progs: check: add extra warning for dev extents inside the
reserved range
btrfs-progs: introduce the experimental compat RO flag,
WRITE_INTENT_BITMAP
btrfs-progs: introduce the on-disk format of btrfs write intent
bitmaps
btrfs-progs: cmds/inspect: add the ability to dump write intent
bitmaps
Makefile | 3 +- check/main.c | 17 +++ check/mode-lowmem.c | 22 ++++ cmds/commands.h | 1 + cmds/inspect-dump-write-intent.c | 158 +++++++++++++++++++++++++++ cmds/inspect.c | 1 + common/fsfeatures.c | 19 ++++ common/fsfeatures.h | 2 + kernel-shared/ctree.h | 40 ++++++- kernel-shared/disk-io.c | 18 ++++ kernel-shared/print-tree.c | 104 +++++++++++++++++- kernel-shared/print-tree.h | 1 + kernel-shared/volumes.c | 4 + kernel-shared/write-intent.h | 177 +++++++++++++++++++++++++++++++ mkfs/common.c | 25 +++++ mkfs/main.c | 14 +++ 16 files changed, 600 insertions(+), 6 deletions(-) create mode 100644 cmds/inspect-dump-write-intent.c create mode 100644 kernel-shared/write-intent.h
Signature · 1 line
2.36.1