xfs
[Top] [All Lists]

TAKE 800480 - fix endian bug in xfs tail pushing code

To: unlisted-recipients:; (no To-header on input)
Subject: TAKE 800480 - fix endian bug in xfs tail pushing code
From: Steve Lord <lord@xxxxxxx>
Date: Wed, 13 Sep 2000 13:51:09 -0500
Sender: owner-linux-xfs@xxxxxxxxxxx
A dummy log sequence number gets built to determine if the log needs
flushing to make room for a new transaction. This code was still
endian sensitive since it used hard coded locations within the 64 bit
LSN to store the cycle and block numbers. This meant that the comparison
being done was basically meaningless and would lead to when tail pushing
happened being somewhat variable.

Date:  Wed Sep 13 11:49:22 PDT 2000
Workarea:  jen.americas.sgi.com:/src/lord/xfs-linux.2.4.0-test5

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


Modid:  2.4.0-test1-xfs:slinx:74322a
linux/fs/xfs/xfs_log.c - 1.221
        - In calculating a threshold lsn for log flushing, do it in a byte order
          independent way.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 800480 - fix endian bug in xfs tail pushing code, Steve Lord <=