xfs-masters
[Top] [All Lists]

[xfs-masters] [Bug 755] New: data corruption when working with cpu dcac

To: xfs-master@xxxxxxxxxxx
Subject: [xfs-masters] [Bug 755] New: data corruption when working with cpu dcache write allocate
From: bugzilla-daemon@xxxxxxxxxxx
Date: Sun, 29 Apr 2007 05:46:41 -0700
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=755

           Summary: data corruption when working with cpu dcache write
                    allocate
           Product: Linux XFS
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P1
         Component: XFS kernel code
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: saeed@xxxxxxxxxxx
                CC: saeed@xxxxxxxxxxx


my system is arm 926, kernel version is 2.6.12.6, the data cache is virtually
tagged and virtually indexed and with no hw cache coherency. my CPU features the
data cache write allocate-> when doing store, the cache line of the destination
address is loaded to data cache.
  when enabling the write allocate, I got data corruption with the
xfs. the scenario is that the xfs allocates large buffer (for reading
the log records) using vmalloc, and the low level driver (raid) copies
the data to the bio vectors using the linear address, since the write
allocate is enabled,  the correct data remains on the data cache with
the linear address tag, when the IO completes, the xfs access the data
with using the vmalloc virtual address, which is different than the
kernel linear address, thus it will get a stale data!.

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>
  • [xfs-masters] [Bug 755] New: data corruption when working with cpu dcache write allocate, bugzilla-daemon <=