Home
last modified time | relevance | path

Searched hist:"6231848 c3aa5c7378fb0dd7a7fff53e9db7edd09" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/xfs/
H A Dxfs_super.cdiff 6231848c3aa5c7378fb0dd7a7fff53e9db7edd09 Tue Mar 06 19:08:31 CST 2018 Darrick J. Wong <darrick.wong@oracle.com> 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>
H A Dxfs_inode.cdiff 6231848c3aa5c7378fb0dd7a7fff53e9db7edd09 Tue Mar 06 19:08:31 CST 2018 Darrick J. Wong <darrick.wong@oracle.com> 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>