18/19 e2fsprogs f_extents_shrd_blk test
Regression test for unsorted extents within a file. Binary patch file.
Signed-off-by Andreas Dilger <[email protected]>
Signed-off-by Girish Shilamkar <[email protected]>
Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.
tests/f_extents_unsorted/expect.1 new file +30 -0
@@ -0,0 +1,30 @@ +Pass 1: Checking inodes, blocks, and sizes +Inode 12 has high 16 bits of extent/index block set +Clear? yes + +High 16 bits of extent/index block set +CLEARED. +High 16 bits of extent/index block set +CLEARED. +Inode 12 has corrupt extent at block 0 (logical 7747) length 16 +Clear? yes + +Inode 12, i_blocks is 3200, should be 3168. Fix? yes + +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information +Block bitmap differences: -(7747--7762) +Fix? yes + +Free blocks count wrong for group #0 (5486, counted=5502). +Fix? yes + +Free blocks count wrong (12878, counted=12894). +Fix? yes + + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 12/4016 files (8.3% non-contiguous), 3138/16032 blocks +Exit status is 1
tests/f_extents_unsorted/expect.2 new file +7 -0
@@ -0,0 +1,7 @@ +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information +test_filesys: 12/4016 files (8.3% non-contiguous), 3138/16032 blocks +Exit status is 0
tests/f_extents_unsorted/name new file +1 -0
@@ -0,0 +1 @@ +first two extents are swapped
tests/f_extents_unsorted/image.gz new file +7 -0
@@ -0,0 +1,7 @@ +����E image �� �U���sg@@�M����-S�@�%\��%)�r� R4%QP�4S2I�M�R�6�45����ĄJ-QA�J��{/�Lߠ����<���gޙ9��Aνg�q�h�f6����}Qߢ(�������X���0e�Χ���V�\TYvܲ燿��Ц�k�&�Vi����zz�.�z���#�L�o|���E�f{����K�=q���\�w��f���8V��Sc��H�Ӛ�Kꚺ��GZ+�]���uZI�k�_v�6�1]hS������SC�߫z/ �S,��W����tH��.��=�/}R���Գ��Ӧ��m��퍿���}��{��ۮ����l�f˽��v���[?�������7>��������+zɊ^���i�-m|�1-Ī�c�U��d�~����< _ءX� H��N(����X�s�� +���M:��k��F˟��C�/^��_�bEfW�6[��_]ѣ�q��yV�^X�Z���:�Im�j�]j�:��������_�QLx��_��ԡ��������MV�!�k�]п(��)�! E1�[�S�Rm�o�}�}H��9��Q�_���� ���.u(*u��������]�vuG�w�Ƈ�=a�!���#�m+�:��Î8��UzÁZ�<o~��R_;���ժ��*������-��Z.�?�\�h����r9���r�C�������-��������=@��YImWt�C���;�˰����6S�<�/T���s�����Օ@]Y��i�� ����c�kO��O�/�=�6/O��;?��[ڸ�o�*�Z��u�A��@>��m��p�����SC���6+�����C~٬(N�2s�j��+z4;��Oq�R}j�R��&�M��v�}��6�"r�i���ń�ߦ��XL������0���~�Rn]{��E1�OQ���n)�_^�)��wه�lo��^5����w�����bp>Sυ�y��Սo��^�Z�G������[1rQe�q�Η�/,;����?SdRQ��إ|� +�n�R4�"���w/�{⦉l���Vu�>��DZz��S��F��L]R��-uO=�Zi��.�:��� +������r�P}�mU{��?��˝Z���w�I���qc��Rth����?6����-ת��# ��[�O�O��/����T��ܩ����շ�~��s�#ʗ�8�(F���E1��G�S�}غE1����bZ��X�(f�{��E1�ܝ7.�9�>o�ܦr?�yQ,*�� ��)�Q ��I�Ӳ�����M�ݦuQ)�v�#�=6{t��g�-����ݾMn��dO+����&{V��f�)wc>��W�]��{b��rߚ�XWۋ���{��r��=:{H��f�(�����n�.���C�'������9{Z��ʞQ�� �r�=��ӳ�{^��r��'�K˽vc}m_�ݷ�goZ�5W�m*���M�g�n:>{l��s���Ϟ\����=7{F���/�r�=���d�+�sًʽe~YZ��Kc�ھ3��-w�5r��=2{H��e�(�s٣˽u���r��=��gO.��5����=���f�*w�.���>*{^�ge/j:�kn��f76��=�}�=�[n�'v����wZv�WU�-�z>��놗� �^�{z��r��Q��{l�y�~4��r]+��9���۱vQ<X��O���gQ,,�9ٯ��}���غ�'g�)w��E1��ׯ�Q�w����3�J�S�J��_���i��nZ/��6H�����]i�4�R{��,m��H[�w���{��i��mzo�.�/�? ����O;��дS�9�vMH��ni��G�3 ����JL{��i��o�/�>�H�҇�Gҁ�J�����c����tH:4�O�HG�#�Q��tLS�]3|2��K������tb:)�O�N'� �tj�v�1)��NOg�Ϥ3�g���Y����tN�B:7�W�]�|1����.HSҗӅij�(]�.I����W��������4=]��N_Kפk�u�����tC��R�����nJ7�[ҷҷӭ�;��{����t{�v�4;�0ݑ�L?Jw���=����t_�?=�~��Ԯ�~�~�J�G���/ң����x���H�JOVj�g�ӯ�o�o�S���L�]�}z6-Hϥ��ia�vM�bz)���W��ӟҫ������$�5�^�].���T��S�ԐZ��7�M��v�}�VO��kǴF��L]R��w��GZ��o������@�����~+p���V�������_Z�f������ +W������Z���dͮ��@ha�]�W����p�OK����aU�`�jv�ߺlE����{�w�����!������j��?Z�f���յ? ��EϺ��U_�[��[�l�r��N}R��/�O���NZ7���O� �Fi����I�6M����i���UzO�:m��M�Mۥ�����iH�>�vLC�Ni�K�5} K����i�4<�H{����ȴO�7��OJ�Q���#��tP�>�>�>�N��C�a���tD:2��NǤ1il�d:6�ƥ�� �S��tR�>�NN�)��41MJ�����3������tV:;}>�����M�������tA����.LS�E��tI�4]���.O�����4=]��N_Kפk�u�����tC�1�H3�7�M��tK�V�v�5}'}7}/}?� ݖnO�����tG�3�(ݕ�N���{�}���@�Iz0�I?M?K���#������X�ez<�MO�_�'Ӽ4?�:�&�6=��NϤߥߧgӂ�\z>���E���Rz9-N��?�?�?�W�k���/iI�kz=-ME�+�.էV�!�NmR۴Zj�ڧi��15�Ni��9������[�z���کg���� ���/�>�o���i`Z'���K� ҆i��qzW�$ J�����i��ezw�*�'m��Iۦ���������4$m�vH;��i��s�%�>������i��g�F�����id�'��K���Ҩ����t`:(�NMKO�Cҡ�tx�D:"��JG�cҘ46}2��K������tb:)�O�N'� �tj��&�������tf�l�\:+��>��I_H������t~�R� MI_N���tq�$]�.K_I��i���te���JW���kҵ���t}�F�!ݘf����ts�%}+};ݚ��������~�nK��Yiv�a�#ݙ~��Jw�{ҏӽ�tz �$=�椟�����������hz,�2=��'үғi^��~�~�~��JO�g����ӳiAz.=�^HӢ�bz)���W��ӟҫ������$�5�����UQTR]�O�RCj�ڤ�i��.�O��cjL���sZ3uI]S��=�Hk��S�ԫժ�� ��iU}S��? H�:iݴ^Z?m�6L��ӻ�&iP�4m�6O[�-ӻ�V�=i�M�6�7m�ޗޟ�!i��C�1 M;���.i��4,�vO{�=��4"�>��N#�>iߴ_�?}(�F�����Ait�h�X�x:8�M����'���tT::�Ƥ����t\��O'�O��Ii|�t:9MH��S��4)��NOg�Ϥ3�g���Y����tN�B:7��&�/��ӗ�iJ�r�0MM���%��tY�J�<MKW���+��tU�:}-]��Mץ����7� ��4#�L�L7���-�[�������������t[�=�J�������tW�;ݓ~��M�����'��4'�4�,=�N����_�G�c���47=�~��L����������Tz:=�~�~��M�s���BZ���K��8��������^M��?���%����4 EQIu�>�J �uj�ڦ�R��>uH����1uJk�� �� �y�-�T�S�! Eј�����Nu/���=={L���(�S�=6��r?�}y���U7������=p��x��S��,wcϢXX�s�_/w�^EѱumO��S�bP���R�� �ةc�8�0��o������$M�/M�"E�iAh)�Z(�� (�!C� +W�l�X�x�"�L��1�� H� +��b�78 ��I�� J��������w����^� ���^+���Rl+��R>�㞵ƫ���:|����K-'�պs�ǯ�v�\�����q�=�{��o_�eib���|w����϶jǚ��a��r�ď�6'~=r��|���9v���Z�`̞���ᘑ��1�1�b�y$f�ڻ ޣO�#�����}17�������q>�/��X�W �t�Y����s���y��ܩ�w��.���;���}� ����7�N��N6��g'�u�.�����n����ྴ�_B �����S�T<�3���Xun�_�ϾP/���T��bV����O&Jid�?Y�L�ۏ���~�Rf�k�,�����R沏?U�|�СR�/>�����R��G�J�d����T݊�g/F���������g��W�g���nf������[�g�粯E�g/E/d�v���_�ng7�;ٟG�z�nG׳>��nDOe_���^�nd���gOE7�߉���,�սW�\�����[��W������ُ>��>]�V�G�������ûbO�'�������3���c���ѳٗ�[�K�s���ǜ�~#z!�Z�r�Jt;�H<t���Cm{�_�C={`O�?�d�Tv+z:{%��}t(��}!���=�=9�g�����7z>{�H�?�L�r�|t��fo�?{&��W�W������vs��? ��� ��:h� + �&�3� ��