diff options
author | 2010-12-10 08:42:21 +0000 | |
---|---|---|
committer | 2010-12-16 16:05:53 -0600 | |
commit | 8ff2957d581582890693affc09920108a67cb05d (patch) | |
tree | 02e20726040eebef830731ecd61cb8a8f7844ade /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | xfs: kill xfs_iomap (diff) | |
download | wireguard-linux-8ff2957d581582890693affc09920108a67cb05d.tar.xz wireguard-linux-8ff2957d581582890693affc09920108a67cb05d.zip |
xfs: simplify xfs_map_blocks
No need to lock the extent map exclusive when performing an
overwrite, we know the extent map must already have been loaded by
get_blocks. Apply the non-blocking inode semantics to all mapping
types instead of just delayed allocations. Remove the handling of
not yet allocated blocks for the IO_UNWRITTEN case - if an extent is
marked as unwritten allocated in the buffer it must already have an
extent on disk.
Add asserts to verify all the assumptions above in debug builds.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions