[Top] [All Lists]

TAKE 959978 - growing an XFS filesystem by more than 2TB is broken

To: xfs@xxxxxxxxxxx, sgi.bugs.xfs@xxxxxxxxxxxx
Subject: TAKE 959978 - growing an XFS filesystem by more than 2TB is broken
From: dgc@xxxxxxx (David Chinner)
Date: Wed, 10 Jan 2007 15:54:01 +1100 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
Make growfs work for amounts greater than 2TB

The free block modification code has a 32bit interface, limiting
the size the filesystem can be grown even on 64 bit machines.
On 32 bit machines, there are other 32bit variables in transaction
structures and interfaces that need to be expanded to allow this
to work.

Date:  Wed Jan 10 15:53:25 AEDT 2007
Workarea:  chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by:  hch@xxxxxxxxxxxxx

The following file(s) were checked into:

Modid:  xfs-linux-melb:xfs-kern:27894a
fs/xfs/xfs_mount.h - 1.231 - changed
        - Update xfs_mod_sb_t to 64bit deltas.

fs/xfs/xfs_mount.c - 1.390 - changed
        - Modify the core superblock modification code to handle 64 bit
          deltas so as to allow single modifications of greater than 2TB.

fs/xfs/xfs_trans.c - 1.177 - changed
        - Superblock modification deltas changed to 64 bit types to allow
          single modifications of greater than 32 bits on 32 bit platforms.

fs/xfs/xfs_trans.h - 1.143 - changed
        - Transaction deltas converted to explicit 64bit types.

fs/xfs/xfs_bmap.c - 1.361 - changed
        - Change free block modifications to use 64 bit type casts.

<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 959978 - growing an XFS filesystem by more than 2TB is broken, David Chinner <=