Skip to content

Self test cleanups, error handling fixes

David Sterba linux-btrfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22btrfs: tests: handle fs_info allocation failure in extent_io testsfs/btrfs/tests/extent-io-tests.c+4 -00 replies
2/22btrfs: tests: don't leak fs_info in extent_io bitmap testsfs/btrfs/tests/extent-io-tests.c+9 -70 replies
3/22btrfs: tests: print file:line for error messagesfs/btrfs/tests/btrfs-tests.h+2 -10 replies
4/22btrfs: tests: add table of most common errorsfs/btrfs/tests/btrfs-tests.c fs/btrfs/tests/btrfs-tests.h+24 -00 replies
5/22btrfs: tests: use standard error message after fs_info allocation failurefs/btrfs/tests/extent-buffer-tests.c fs/btrfs/tests/extent-io-tests.c fs/btrfs/tests/extent-map-tests.c +4 more+11 -100 replies
6/22btrfs: tests: use standard error message after root allocation failurefs/btrfs/tests/extent-buffer-tests.c fs/btrfs/tests/free-space-tests.c fs/btrfs/tests/free-space-tree-tests.c +2 more+9 -80 replies
7/22btrfs: tests: use standard error message after extent buffer allocation failurefs/btrfs/tests/extent-buffer-tests.c fs/btrfs/tests/extent-io-tests.c fs/btrfs/tests/free-space-tree-tests.c +1 more+6 -60 replies
8/22btrfs: tests: use standard error message after path allocation failurefs/btrfs/tests/extent-buffer-tests.c fs/btrfs/tests/free-space-tree-tests.c fs/btrfs/tests/qgroup-tests.c+6 -60 replies
9/22btrfs: tests: use standard error message after inode allocation failurefs/btrfs/tests/extent-io-tests.c fs/btrfs/tests/inode-tests.c+4 -40 replies
10/22btrfs: tests: use standard error message after block group allocation failurefs/btrfs/tests/free-space-tests.c fs/btrfs/tests/free-space-tree-tests.c+2 -20 replies
11/22btrfs: tests: properly initialize fs_info of extent bufferfs/btrfs/tests/extent-io-tests.c+1 -10 replies
12/22btrfs: tests: return errors from extent map testsfs/btrfs/tests/extent-map-tests.c+46 -220 replies
13/22btrfs: tests: return errors from extent map test case 1fs/btrfs/tests/extent-map-tests.c+14 -60 replies
14/22btrfs: tests: return errors from extent map test case 2fs/btrfs/tests/extent-map-tests.c+14 -60 replies
15/22btrfs: tests: return errors from extent map test case 3fs/btrfs/tests/extent-map-tests.c+10 -50 replies
16/22btrfs: tests: return errors from extent map test case 4fs/btrfs/tests/extent-map-tests.c+14 -70 replies
17/22btrfs: tests: return error from all extent map test casesfs/btrfs/tests/extent-map-tests.c+32 -120 replies
18/22btrfs: tests: use standard error message after extent map allocation failurefs/btrfs/tests/extent-map-tests.c+19 -40 replies
19/22btrfs: tests: use SZ_ constants everywherefs/btrfs/tests/extent-map-tests.c+3 -30 replies
20/22btrfs: tests: fix comments about tested extent map rangesfs/btrfs/tests/extent-map-tests.c+2 -20 replies
21/22btrfs: tests: drop messages when some tests finishfs/btrfs/tests/extent-io-tests.c fs/btrfs/tests/free-space-tests.c+0 -20 replies
22/22btrfs: tests: unify messages when tests startfs/btrfs/tests/free-space-tests.c fs/btrfs/tests/inode-tests.c fs/btrfs/tests/qgroup-tests.c+11 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/22] Self test cleanups, error handling fixes

Add missing error handling, unify test structure and error messages.

David Sterba (22):
btrfs: tests: handle fs_info allocation failure in extent_io tests
btrfs: tests: don't leak fs_info in extent_io bitmap tests
btrfs: tests: print file:line for error messages
btrfs: tests: add table of most common errors
btrfs: tests: use standard error message after fs_info allocation
failure
btrfs: tests: use standard error message after root allocation failure
btrfs: tests: use standard error message after extent buffer
allocation failure
btrfs: tests: use standard error message after path allocation failure
btrfs: tests: use standard error message after inode allocation
failure
btrfs: tests: use standard error message after block group allocation
failure
btrfs: tests: properly initialize fs_info of extent buffer
btrfs: tests: return errors from extent map tests
btrfs: tests: return errors from extent map test case 1
btrfs: tests: return errors from extent map test case 2
btrfs: tests: return errors from extent map test case 3
btrfs: tests: return errors from extent map test case 4
btrfs: tests: return error from all extent map test cases
btrfs: tests: use standard error message after extent map allocation
failure
btrfs: tests: use SZ_ constants everywhere
btrfs: tests: fix comments about tested extent map ranges
btrfs: tests: drop messages when some tests finish
btrfs: tests: unify messages when tests start

 fs/btrfs/tests/btrfs-tests.c           |  10 ++
 fs/btrfs/tests/btrfs-tests.h           |  17 +-
 fs/btrfs/tests/extent-buffer-tests.c   |   8 +-
 fs/btrfs/tests/extent-io-tests.c       |  29 ++--
 fs/btrfs/tests/extent-map-tests.c      | 213 +++++++++++++++++--------
 fs/btrfs/tests/free-space-tests.c      |  11 +-
 fs/btrfs/tests/free-space-tree-tests.c |  10 +-
 fs/btrfs/tests/inode-tests.c           |  33 ++--
 fs/btrfs/tests/qgroup-tests.c          |  20 +--
 9 files changed, 237 insertions(+), 114 deletions(-)
Signature · 1 line
2.21.0