xfs
[Top] [All Lists]

buffer_head->b_size & ia64

To: linux-xfs@xxxxxxxxxxx
Subject: buffer_head->b_size & ia64
From: dannf@xxxxxxxxxxxxxxxxxxxx (Dann Frazier)
Date: Fri, 1 Nov 2002 16:12:58 -0700
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
hey,
  I was trying to test latest cvs to see if it resolves another issue, but
i began getting a panic on mount.  The problem is that the latest bjorn
patch for ia64 (0821) defines buffer_head->b_size as an int instead of a short.
(see include/linux/fs.h).

The following ASSERT is in page_buf.c:

        /* The b_size field of struct buffer_head is an unsigned short
         * ... we may need to split this request up.  [64K is too big]
         */
        ASSERT(sizeof(bh->b_size) == 2);
        while (sector > 0xffff) {
                sector >>= 1;
                blk_length++;
        }

Which causes the kernel to Oops on mount.  Which ia64 patch is currently merged
into the XFS tree?  Is there currently a hard dependency on this size
somewhere?

(sorry if this hits the list twice, mail routing from HP->SGI is still hosed).

--
---------------------------
dann frazier
Hewlett-Packard
Linux Systems Division
dannf@xxxxxx
(970) 898-0800


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