Files
linux-apfs/fs/xfs
Christoph Hellwig 8ff2957d58 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>
2010-12-16 16:05:53 -06:00
..
2010-12-16 16:05:53 -06:00
2010-07-26 13:16:33 -05:00
2010-05-21 18:31:19 -04:00
2010-10-18 15:08:07 -05:00
2010-10-18 15:08:07 -05:00
2010-10-18 15:08:07 -05:00
2010-10-18 15:08:07 -05:00
2010-10-18 15:08:07 -05:00
2010-07-26 13:16:44 -05:00
2010-10-18 15:08:07 -05:00
2010-10-25 21:26:11 -04:00
2010-12-16 16:05:51 -06:00
2010-12-16 16:05:51 -06:00
2010-10-18 15:08:06 -05:00
2010-07-26 13:16:33 -05:00
2010-10-18 15:08:07 -05:00
2010-10-18 15:08:02 -05:00
2010-10-18 15:08:06 -05:00
2010-10-18 15:08:06 -05:00
2010-10-18 15:08:06 -05:00