Files
android_kernel_xiaomi_sm8450/fs/xfs/libxfs
Christoph Hellwig 5936dc543c xfs: don't rely on extent indices in xfs_bmap_insert_extents
Rewrite xfs_bmap_insert_extents so that we don't rely on extent indices
except for iterating over them.  Not being able to iterate to the previous
extent or finding the extent that stop_fsb is in are sufficient exit
conditions, and we don't need to do any extent count games given that:

  a) we already flushed all delalloc extents past our start offset
     before doing the operation
  b) xfs_iext_count() includes delalloc extents anyway

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2017-10-26 15:38:28 -07:00
..
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2017-10-26 15:38:28 -07:00
2017-10-26 15:38:25 -07:00
2017-10-26 15:38:25 -07:00
2017-10-26 15:38:26 -07:00
2017-10-26 15:38:27 -07:00
2017-10-26 15:38:27 -07:00