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 <daniel@osdl.org>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:30 EST