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
..
2017-09-26 10:55:19 -07:00
2016-09-19 10:30:52 +10:00
2017-06-19 14:11:33 -07:00
2014-06-25 14:57:36 +10:00
2017-10-26 15:38:23 -07:00
2017-10-26 15:38:23 -07:00
2017-10-26 15:38:27 -07:00
2016-12-07 17:42:30 +11:00
2017-09-01 10:55:30 -07:00
2014-06-25 14:57:36 +10:00
2017-06-19 14:11:33 -07:00
2017-09-01 10:55:30 -07:00
2016-01-04 16:10:19 +11:00
2017-06-19 14:11:33 -07:00
2017-10-26 15:38:22 -07:00
2017-10-26 15:38:22 -07:00
2017-10-26 15:38:28 -07:00
2017-10-26 15:38:28 -07:00
2017-10-26 15:38:24 -07:00
2017-10-26 15:38:24 -07:00
2017-06-19 14:11:33 -07:00
2017-07-07 18:55:17 -07:00
2017-06-19 14:11:33 -07:00
2017-06-19 14:11:33 -07:00
2017-06-19 14:11:33 -07:00
2017-09-01 10:55:30 -07:00
2017-09-01 10:55:30 -07:00
2017-07-07 18:55:17 -07:00
2017-07-25 08:36:35 -07:00
2017-07-07 18:55:17 -07:00
2017-06-20 10:45:21 -07:00
2017-06-20 10:45:22 -07:00
2017-06-19 14:11:33 -07:00
2017-10-26 15:38:25 -07:00
2017-10-26 15:38:25 -07:00
2017-04-12 08:42:51 -07:00
2017-10-26 15:38:27 -07:00
2017-10-26 15:38:26 -07:00
2017-06-19 14:11:34 -07:00
2017-01-25 07:49:35 -08:00
2017-10-26 15:38:23 -07:00
2017-10-26 15:38:23 -07:00
2017-06-27 18:23:20 -07:00
2017-06-19 14:11:34 -07:00
2017-10-26 15:38:27 -07:00
2017-10-26 15:38:27 -07:00
2017-10-26 15:38:27 -07:00
2017-06-19 14:11:33 -07:00
2014-11-28 14:27:09 +11:00
2017-07-13 14:55:05 -07:00
2017-06-19 14:11:33 -07:00
2017-01-03 18:39:33 -08:00
2017-09-01 10:55:30 -07:00
2017-06-19 08:59:10 -07:00
2017-06-19 14:11:33 -07:00
2017-01-03 18:39:33 -08:00
2017-06-27 18:23:20 -07:00
2017-06-19 14:11:34 -07:00
2017-10-26 15:38:23 -07:00
2017-06-19 14:11:33 -07:00
2016-02-08 14:58:07 +11:00
2016-10-03 09:11:18 -07:00
2017-07-07 08:37:26 -07:00
2017-07-07 08:37:26 -07:00
2016-10-05 16:26:29 -07:00
2017-05-03 13:21:40 -07:00
2017-10-26 15:38:23 -07:00