[Pvfs2-developers] Re: patch for client data corruption with 2.4kernels

David Metheny david.metheny at gmail.com
Fri Nov 21 12:19:25 EST 2008


I know this fixes RHEL3 (2.4 kernels) and the RHEL4 U6/U7 (2.6.9 kernels),
but testing this with RHEL5 U2 (2.6.18-92.el5PAE) shows that the memory is
still being swapped out which would result in client data corruption.

 

  _____  

From: pvfs2-developers-bounces at beowulf-underground.org
[mailto:pvfs2-developers-bounces at beowulf-underground.org] On Behalf Of Bart
Taylor
Sent: Thursday, November 20, 2008 4:32 PM
To: pvfs2-developers at beowulf-underground.org
Subject: [Pvfs2-developers] Re: patch for client data corruption with
2.4kernels

 

I neglected the header file; attached is an additional patch to catch it.
Both of these patches should apply cleanly to head.

Bart.



On Thu, Nov 20, 2008 at 1:54 PM, Bart Taylor <batayl at gmail.com> wrote:

Hey guys,

This patch fixes a client data corruption issue on Linux 2.4 systems. We
worked with Phil off-list and determined that the kernel's mapped buffers
are not staying pinned in memory as they should be. We were able to verify
that under heavy swapping the pvfs2-client-core memory was being moved,
invalidating the pointers. This fix uses mlock to hold the two buffers in
place, and we were able to verify that it fixes the swapping issue. There
are compile time flags to ensure it is only added for Linux 2.4 systems.

Bart.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20081121/44bff291/attachment.htm


More information about the Pvfs2-developers mailing list