xfs
[Top] [All Lists]

TAKE - xfsrestore

To: unlisted-recipients:; (no To-header on input)
Subject: TAKE - xfsrestore
From: Tim Shimmin <tes@xxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 Sep 2000 16:58:02 +1100
Sender: owner-linux-xfs@xxxxxxxxxxx
Fixes xfsrestore bug where xfsrestore will core dump when restoring a dump
onto a host without the on-disk inventory.

--Tim

Date:  Tue Sep 26 22:55:44 PDT 2000
Workarea:  sherman.melbourne.sgi.com:/hosts/snort/build4/tes/slinx-xfs

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs


Modid:  2.4.x-xfs:slinx:75100a
cmd/xfs/stress/043 - 1.1
cmd/xfs/stress/043.out - 1.1
        - Test out the bug where xfsrestore crashes trying to restore the 
inventory
          from the tape when no inventory exists on disk.

cmd/xfs/stress/group - 1.43
        - Add 043.

cmd/xfs/dump/inventory/inv_api.c - 1.10
        - Change inv_put_sessioninfo to take a inv_sessinfo_t structure as
          a parameter instead of a buffer. 
          By doing this it means that we don't need to decode the buffer in
          more places unnecessarily. In particular it means that we can prevent 
the
          endian conversion from happening more than once.

cmd/xfs/dump/inventory/inv_mgr.c - 1.9
        - Change insert_session to take a invt_sessinfo_t structure instead
          of a buffer. The unpacking of the buffer can be handled prior to
          calling this function.

cmd/xfs/dump/inventory/inv_priv.h - 1.7
        - Change the insert_session() prototype to use invt_sessinfo_t.
          Move inv_put_sessioninfo() into here from inventory.h as we need the
          typedef for invt_sessinfo_t.

cmd/xfs/dump/inventory/inventory.h - 1.6
        - Moved inv_put_sessioninfo() to inv_priv.h because we need the 
          invt_sessinfo_t structure and we can't have cyclic includes.

cmd/xfs/dump/restore/content.c - 1.16
        - To the unpacking of the sessinfo in the one place instead of twice by
          having it buried in a couple of other functions.

cmd/xfs/dump/common/arch_xlate.c - 1.5
        - Add some diagnostics (mlogs) to see the invt_session data before
          and after endian translation.
          A bug was uncovered where this function was getting called twice.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - xfsrestore, Tim Shimmin <=