xfs
[Top] [All Lists]

TAKE - implement xfs snapshotting

Subject: TAKE - implement xfs snapshotting
From: Steve Lord <lord@xxxxxxx>
Date: Wed, 16 May 2001 22:06:30 -0500
Sender: owner-linux-xfs@xxxxxxxxxxx
This adds support for lvm snapshotting to xfs - a separate patch is
needed from the lvm sources to make lvm snapshotting work without
extra user space commands. Note that once a snapshot has been
created it needs to be made writeable and the xfs uuid changed
with the xfs_db command.

The xfs_freeze command is also supplied to pause a filesystem
and resume activity without the use of the LVM patch. Note if
you freeze the root filesystem, or the filesystem with the
command on it, you may be toast!

Date:  Wed May 16 19:58:46 PDT 2001
Workarea:  jen.americas.sgi.com:/src/lord/xfs-base

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


Modid:  2.4.x-xfs:slinx:95149a
cmd/xfsprogs/freeze/xfs_freeze.c - 1.1
        - New command to pause and unpause an active filesystem, intended for
          use with snapshot capable hardware.

cmd/xfsprogs/freeze/Makefile - 1.1
        - Makefile for new xfs_freeze command

cmd/xfsprogs/man/man8/xfs_freeze.8 - 1.1
        - Man page for xfs_freeze

linux/fs/xfs/xfsidbg.c - 1.162
        - Dump new mount fields.

linux/fs/xfs/xfs_log.c - 1.237
        - Skip writing idle log records from sync activity when filesystem 
freeze
          is in effect, prevents sync thread from getting blocked.

linux/fs/xfs/xfs_mount.h - 1.128
        - prototypes and extra mount structures for freeze/thaw implementation.

linux/fs/xfs/xfs_mount.c - 1.256
        - Add freeze synchronization implementation.

linux/fs/xfs/xfs_trans.c - 1.120
        - Add freeze synchronization points to trans_alloc, trans_dup and 
trans_free
          calls.

linux/fs/xfs/linux/xfs_lrw.c - 1.99
        - Add freeze syncronization point to write path

linux/fs/xfs/linux/xfs_super.c - 1.123
        - Add write_super_lockfs and unlockfs methods to XFS - these call the
          FREEZE and THAW ioctl calls. With an LVM patch these calls can be used
          by lvm snapshotting to pause modifications during the snapshot 
creation.

linux/include/linux/xfs_fs.h - 1.24
        - Add new ioctl call definitions.

linux/fs/xfs/linux/xfs_ioctl.c - 1.37
        - Add new FREEZE and THAW ioctl calls. The FREEZE call will pause all
          activity in the filesystem which causes modifications, and flush all
          state out to disk. The thaw ioctl allows modifications again.

cmd/xfsprogs/include/xfs_mount.h - 1.4
        - Add new fields for filesystem freeze synchronisation

cmd/xfsprogs/include/xfs_fs.h - 1.5
        - Add new ioctl commands to freeze and unfreeze a filesystem.

cmd/xfsprogs/Makefile - 1.3
        - Add new freeze subdirectory

cmd/xfsprogs/VERSION - 1.18
        - Bump version



<Prev in Thread] Current Thread [Next in Thread>