• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1From 4cda25453f85f06371735b8f55d584e0d38a52bc Mon Sep 17 00:00:00 2001
2From: Theodore Ts'o <tytso@mit.edu>
3Date: Sun, 22 Aug 2021 10:07:15 -0400
4Subject: [PATCH] tests: update expect file for u_direct_io
5
6The u_direct_io test is normally not run (since it requires root
7privileges); as a result, when the mke2fs.conf defaults were changed,
8I didn't notice that the expected output for u_direct_io test needed
9to be updated.
10
11Fixes: d730be5ceeba ("tests: update mke2fs.conf to create 256 byte inodes by default"
12Signed-off-by: Theodore Ts'o <tytso@mit.edu>
13---
14 tests/u_direct_io/expect | 16 +++++++++-------
15 1 file changed, 9 insertions(+), 7 deletions(-)
16
17diff --git a/tests/u_direct_io/expect b/tests/u_direct_io/expect
18index b0cdc73..830cbd7 100644
19--- a/tests/u_direct_io/expect
20+++ b/tests/u_direct_io/expect
21@@ -19,8 +19,8 @@ Filesystem OS type:       Linux
22 Inode count:              32768
23 Block count:              32768
24 Reserved block count:     1638
25-Overhead clusters:        5131
26-Free blocks:              27631
27+Overhead clusters:        6155
28+Free blocks:              26607
29 Free inodes:              32757
30 First block:              0
31 Block size:               4096
32@@ -29,27 +29,29 @@ Reserved GDT blocks:      7
33 Blocks per group:         32768
34 Fragments per group:      32768
35 Inodes per group:         32768
36-Inode blocks per group:   1024
37+Inode blocks per group:   2048
38 Flex block group size:    16
39 Mount count:              0
40 Check interval:           15552000 (6 months)
41 Reserved blocks uid:      0
42 Reserved blocks gid:      0
43 First inode:              11
44-Inode size:	          128
45+Inode size:	          256
46+Required extra isize:     32
47+Desired extra isize:      32
48 Journal inode:            8
49 Default directory hash:   half_md4
50 Journal backup:           inode blocks
51 Directories:              2
52  Group  0: block bitmap at 9, inode bitmap at 25, inode table at 41
53-           27631 free blocks, 32757 free inodes, 2 used directories
54+           26607 free blocks, 32757 free inodes, 2 used directories
55 e2fsck -fn -N test_filesys $LOOP
56 Pass 1: Checking inodes, blocks, and sizes
57 Pass 2: Checking directory structure
58 Pass 3: Checking directory connectivity
59 Pass 4: Checking reference counts
60 Pass 5: Checking group summary information
61-test_filesys: 11/32768 files (9.1% non-contiguous), 5137/32768 blocks
62+test_filesys: 11/32768 files (9.1% non-contiguous), 6161/32768 blocks
63 Exit status is 0
64 e2fsck -fn -N test_filesys $TMPFILE
65 Pass 1: Checking inodes, blocks, and sizes
66@@ -57,5 +59,5 @@ Pass 2: Checking directory structure
67 Pass 3: Checking directory connectivity
68 Pass 4: Checking reference counts
69 Pass 5: Checking group summary information
70-test_filesys: 11/32768 files (9.1% non-contiguous), 5137/32768 blocks
71+test_filesys: 11/32768 files (9.1% non-contiguous), 6161/32768 blocks
72 Exit status is 0
73--
741.8.3.1
75
76