Darrick J. Wong 6231848c3a xfs: check for cow blocks before trying to clear them
There's no point in allocating a transaction and locking the inode in
preparation to clear cow blocks if there actually are any cow fork
extents.  Therefore, move the xfs_reflink_cancel_cow_range hunk to
xfs_inactive and check the cow ifp first.  This makes inode reclamation
run faster.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
2018-03-11 20:27:56 -07:00
..
2017-11-09 15:50:29 -08:00
2017-10-26 15:38:26 -07:00
2017-04-03 15:18:17 -07:00
2018-01-31 10:18:00 -08:00
2018-01-31 10:18:00 -08:00
2017-11-09 15:50:29 -08:00
2017-10-26 15:38:27 -07:00
2017-12-08 17:51:05 -08:00
2018-01-29 07:27:22 -08:00