[PATCH 2.5.66 2/2] i_size atomic access

From: Daniel McNeil (daniel@osdl.org)
Date: Fri Apr 04 2003 - 15:38:14 EST


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.66 and fixes 2 typos in mm/nommu.c

This has been tested on a 2-proc system.

-- 
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 Apr 07 2003 - 22:00:24 EST