xfs
[Top] [All Lists]

TAKE 915269 - Fix overflow at 8 Exabytes

Subject: TAKE 915269 - Fix overflow at 8 Exabytes
From: Eric Sandeen <sandeen@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 May 2004 12:29:52 -0500
Sender: linux-xfs-bounce@xxxxxxxxxxx
Found this when running test 071 on 64-bit boxes.
Those of you squeezing every last byte out of your
64-bit box can now safely write offsets of 2^63-1 :)

Fix overflow in mapping test at offsets of 2^63-1 bytes


Date:  Thu May 27 10:28:34 PDT 2004
Workarea:  penguin.americas.sgi.com:/src/eric/linux-2.4.x
Inspected by:  nathans,felixb

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


Modid:  xfs-linux:xfs-kern:172649a
fs/xfs/linux-2.6/xfs_aops.c - 1.72
        - When checking whether a mapping matches our offset,
          test in such a way that it will not overflow 63 bits - 
          calculate last offset in the mapping for comparison

fs/xfs/linux-2.4/xfs_aops.c - 1.79
        - When checking whether a mapping matches our offset,
          test in such a way that it will not overflow 63 bits - 
          calculate last offset in the mapping for comparison



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 915269 - Fix overflow at 8 Exabytes, Eric Sandeen <=