Brian Foster
02dff7bf81
xfs: pull up dfops from xfs_itruncate_extents()
...
xfs_itruncate_extents[_flags]() uses a local dfops with a
transaction provided by the caller. It uses hacky ->t_dfops
replacement logic to avoid stomping over an already populated
->t_dfops.
The latter never occurs for current callers and the logic itself is
not really appropriate. Clean this up by updating all callers to
initialize a dfops and to use that down in xfs_itruncate_extents().
This more closely resembles the upcoming logic where dfops will be
embedded within the transaction. We can also replace the
xfs_defer_init() in the xfs_itruncate_extents_flags() loop with an
assert. Both dfops and firstblock should be in a valid state
after xfs_defer_finish() and the inode joined to the dfops is fixed
throughout the loop.
Signed-off-by: Brian Foster <bfoster@redhat.com >
Reviewed-by: Christoph Hellwig <hch@lst.de >
Reviewed-by: Bill O'Donnell <billodo@redhat.com >
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com >
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com >
2018-07-26 10:15:12 -07:00
..
2018-07-23 09:08:01 -07:00
2018-07-23 09:08:01 -07:00
2018-05-15 18:12:50 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-08 10:07:51 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-07-11 22:26:06 -07:00
2018-07-11 22:25:59 -07:00
2018-07-26 10:15:12 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-07-11 22:26:09 -07:00
2018-06-06 14:17:53 -07:00
2018-07-26 10:15:12 -07:00
2018-06-06 14:17:53 -07:00
2018-06-08 10:07:52 -07:00
2018-06-06 14:17:53 -07:00
2018-07-11 22:26:35 -07:00
2018-07-11 22:26:35 -07:00
2018-06-06 14:17:53 -07:00
2018-07-23 09:08:00 -07:00
2017-11-02 11:10:55 +01:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-07-11 22:26:33 -07:00
2018-06-06 14:17:53 -07:00
2018-07-23 09:08:01 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-07-11 22:26:36 -07:00
2018-07-11 22:26:14 -07:00
2018-06-06 14:17:53 -07:00
2018-07-23 09:08:00 -07:00
2018-06-06 14:17:53 -07:00
2018-06-24 11:56:36 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-07-26 10:15:12 -07:00
2018-07-11 22:26:07 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-12 15:49:00 -07:00
2018-06-06 14:17:53 -07:00
2018-07-11 22:26:33 -07:00
2018-06-08 10:07:52 -07:00
2018-07-26 10:15:12 -07:00
2018-06-06 14:17:53 -07:00
2018-07-23 09:08:00 -07:00
2018-06-06 14:17:53 -07:00
2018-06-08 10:07:52 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-07-11 22:26:35 -07:00
2018-07-23 09:08:01 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2017-11-02 11:10:55 +01:00
2018-07-23 09:08:01 -07:00
2018-07-23 09:08:01 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-05-22 07:19:08 -07:00
2018-05-22 07:19:08 -07:00
2018-06-06 14:17:53 -07:00
2018-07-26 10:15:12 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-07-11 22:26:09 -07:00
2018-06-06 14:17:53 -07:00
2018-07-23 09:08:00 -07:00
2018-07-11 22:26:01 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-07-11 22:26:33 -07:00
2018-06-06 14:17:53 -07:00
2018-06-12 15:49:00 -07:00
2018-06-06 14:17:53 -07:00
2018-07-11 22:26:05 -07:00
2018-06-06 14:17:53 -07:00
2018-07-11 22:26:33 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-07-11 22:26:34 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-15 07:31:07 +09:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-07-11 22:26:20 -07:00
2018-07-11 22:26:20 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00