linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] btrfs-progs: check: original and lowmem mode fix
@ 2017-09-27  6:34 Su Yue
  2017-09-27  6:34 ` [PATCH 1/5] btrfs-progs: check: return value of check_extent_refs() Su Yue
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Su Yue @ 2017-09-27  6:34 UTC (permalink / raw)
  To: linux-btrfs

The head three patches is independent from later two.
Include:
1) Let check_extent_refs() return error instead of 0 if something wrong
   is found in original mode.
2) repair_root_items() should be called before any repair. Put it
   before do_check_chunks_and_extents();
3) Error status should not be modified if repair_root_items() succeeded
   in original repair.

The late two patches are about invalid type in extent_inline_ref.

Only original mode applied 001-003 patches can handle the case in the
last patch. So I gather those 5 patches together.


Su Yue (5):
  btrfs-progs: check: return value of check_extent_refs()
  btrfs-progs: check: call repair_root_items() before any repair
  btrfs-progs: check: error or return value of repair_root_items()
  btrfs-progs: check: check extent_inline_ref in lowmem
  btrfs-progs: fsck-tests: 027/bad_extent_inline_ref_type

 cmds-check.c                                       |  83 +++++++++++++++------
 .../bad-extent-inline-ref-type.raw.xz              | Bin 0 -> 17144 bytes
 2 files changed, 62 insertions(+), 21 deletions(-)
 create mode 100644 tests/fsck-tests/027-bad-extent-inline-ref-type/bad-extent-inline-ref-type.raw.xz

-- 
2.14.1




^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-10-06 16:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-27  6:34 [PATCH 0/5] btrfs-progs: check: original and lowmem mode fix Su Yue
2017-09-27  6:34 ` [PATCH 1/5] btrfs-progs: check: return value of check_extent_refs() Su Yue
2017-10-05 17:46   ` David Sterba
2017-10-06  1:38     ` Su Yue
2017-10-06 16:19       ` David Sterba
2017-10-06  1:42     ` Su Yue
2017-09-27  6:34 ` [PATCH 2/5] btrfs-progs: check: call repair_root_items() before any repair Su Yue
2017-09-27  7:24   ` Qu Wenruo
2017-09-27  7:58   ` [PATCH v2 " Su Yue
2017-09-27  8:28   ` [PATCH v3 " Su Yue
2017-09-27  6:34 ` [PATCH 3/5] btrfs-progs: check: error or return value of repair_root_items() Su Yue
2017-09-27  6:34 ` [PATCH 4/5] btrfs-progs: check: check extent_inline_ref in lowmem Su Yue
2017-09-27  6:34 ` [PATCH 5/5] btrfs-progs: fsck-tests: 027/bad_extent_inline_ref_type Su Yue
2017-10-06 16:52 ` [PATCH 0/5] btrfs-progs: check: original and lowmem mode fix David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).