On Jul 04, 2008 08:51 +1000, Dave Chinner wrote: > The fact that it's only implemented in XFS right now has absolutely > *zero* consideration in determining this feature is necessary or > not. The fact that the only existing extent mapping interface in > Linux already defines it this way and it is in use by existing > userspace utilities that *expect this semantic* is much, much more > important. > > FWIW, if ext4 had this atomic sync+map (which it could do), would > you still be complaining about it? Actually, the ext4 ->fiemap() method DOES grab a lock that will prevent the file layout changing during the mapping, assuming the extent array is large enough. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html