Re: [PATCH 1/2] xfs: move the xfs_can_free_eofblocks call under the IOLOCK

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 18, 2021 at 11:01:10PM -0700, Darrick J. Wong wrote:
> I don't think so, because xfs_free_eofblocks will call
> xfs_inode_clear_eofblocks_tag if it succeeds in freeing anything.
> 
> Though perhaps you're correct that we need to clear the tag if
> !xfs_can_free_eofblocks, since we could have been called if
> XFS_ICI_BLOCKGC_TAG was set in the radix tree because we once had a
> posteof block but now we really only have cow blocks.

Yes, that's what I meant.



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux