2003-06-19 18:03:38

by Daniel McNeil

[permalink] [raw]
Subject: PATCH 2.5.72 2/2] i_size atomic access

This adds i_seqcnt to the inode structure and then uses i_size_read()
and i_size_write() to provide atomic access to i_size. This is a port
of Andrea Arcangeli's i_size atomic access patch from 2.4. This only
uses the generic reader/writer consistent mechanism.

re-diff against 2.5.72.

This patch has been tested on 1 proc, 2 proc, 4 proc and 8 proc
machines.

This patch is available for download from OSDL's patch lifecycle
manager (PLM):

http://www.osdl.org/cgi-bin/plm?module=patch_info&patch_id=1940

Daniel McNeil <[email protected]>



Attachments:
patch.2.5.72-isize.2 (21.84 kB)