2003-05-29 17:31:04

by Daniel McNeil

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

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

re-diff against 2.5.70.

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

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

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

--
Daniel McNeil <[email protected]>


Attachments:
patch-2.5.70-isize.2 (21.83 kB)