[Pvfs2-developers] Re: patch for client data corruption with
2.4 kernels
Phil Carns
carns at mcs.anl.gov
Mon Nov 24 10:29:24 EST 2008
Thanks Bart. I applied the patches to cvs trunk.
-Phil
Bart Taylor wrote:
> 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
> <mailto: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.
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pvfs2-developers mailing list
> Pvfs2-developers at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
More information about the Pvfs2-developers
mailing list